How Order Level Contribution Margin Is Assembled
Six building blocks. Each one turns a cost that currently sits in an invoice or a report into a value attached to an order, a channel and a SKU.
Net revenue, ex GST, per order line
Start from the order line, not the payout. Take the price paid less line and order level discounts, apportioned to lines by the same rule the platform used, then remove GST so that a GST inclusive retail sale and a GST exclusive wholesale invoice compare fairly. Refunds and partial refunds are linked back to the original line so they reduce that order’s revenue. Gift card redemptions are payment, not discount. Shipping charged to the customer is kept as its own revenue line so it can be netted against freight paid.
Cost of goods at time of sale
Capture the landed unit cost on each order line when it is fulfilled, from the ERP’s costing method, whether average, FIFO or standard, and store it with the order. Bundles and kits carry the sum of their components. Where the ERP only revalues later, record the provisional cost and the revised cost separately so you can see the variance. Landed cost itself, meaning freight in, duty and brokerage, is calculated upstream. This layer simply makes sure the cost used for margin is the one that applied on the day.
Real selling cost per order Fees from payments and marketplaces
Payment provider and buy now pay later fees are pulled per transaction from the provider’s reporting and matched to the order through the transaction or checkout ID. Marketplace commissions, fixed per item fees, fulfilment fees and advertising deductions are taken from settlement reports line by line, matched on the marketplace order ID. Fee rates vary by category, plan and promotion, and they change, so the rule is to use what the report says was charged, never a rate table maintained by hand.
Shipping subsidy made visible Freight, packaging and fulfilment
Carrier invoices are matched to orders through consignment or tracking numbers, including later adjustments for actual weight, cubic size, surcharges and redeliveries. Freight paid is set against shipping charged, which exposes exactly how much free shipping and flat rate offers cost per order, by state and postcode zone. 3PL pick, pack and packaging charges are traced to orders where the 3PL invoice is itemised, or allocated by line count or unit count where it is not. Store fulfilled orders get an agreed standard handling cost.
Return cost charged to its order Returns, by channel and category
A return reduces revenue, but it also costs return freight, inspection and handling, and sometimes the stock itself if the item cannot be resold. Each return is linked to its original order and line so the cost lands on the channel and SKU that generated it, not on the month it happened. Return rate is reported by channel and category, because marketplaces, apparel sizes and gift purchases behave very differently. Disposition matters: an item restocked at full value is a different cost from one written off or sold as seconds.
Contribution after marketing Advertising and supplier funding
Ad spend comes from Google, Meta, marketplace advertising and other platforms at campaign level. Very little of it can be traced to a single order honestly, so you choose and document an attribution approach: last click, platform reported, or spend allocated by channel revenue share. Show contribution before and after advertising so the choice is visible. Supplier funding, co-op marketing, promotional support and volume rebates go the other way, reducing cost, and should be credited to the SKUs and periods they relate to rather than booked as one lump.