Freight Cost per Shipment: Build It From Invoice Lines
Carriers bill shipments in bundles that rarely match the shipment itself, so a reliable cost per shipment is built line by line, not divided out of invoice totals.
How-to · 6 min · Alexandre de Perregaux, CEO, Intellyse · Published · Last updated
By Intellyse, makers of freight invoice audit software · About us
Finance teams often work out a cost per shipment by dividing a month of carrier invoices by the number of shipments in it. That gives a usable number for a budget. It cannot say which lane, customer or flow is expensive, because the invoice is a billing document, and carriers bill shipments in very different bundles.
What is freight cost per shipment, and why not use invoice totals?
Freight cost per shipment is the total of the invoiced transport charges attributable to one shipment, including base freight, surcharges, accessorial charges and later corrections, wherever those lines appear. It is built from invoice lines rather than invoice totals because one invoice rarely equals one shipment.
The mismatch runs in both directions. A single parcel invoice often covers many shipments, while in the invoices audited on our platform in September 2026, air shipments had about eight invoice lines each and ocean shipments about four. Divide a parcel invoice by its shipment count and you get an average that treats every package as though it carries the same share of the invoice; read an ocean invoice on its own and a shipment can look complete when additional destination charges arrive on another invoice.
Invoice lines per shipment, invoices audited in September 2026
- Air8.1 lines
- Ocean4.4 lines
Each extra line is a charge that has to be attached to its shipment before it can be added up.
An invoice is a billing unit; a shipment is a cost unit.
How do you calculate freight cost per shipment from invoice lines?
The method is to attach every line to its shipment, settle the lines that belong to several, and only then add up.
- Extract the invoice lines with their references. Each line needs the shipment reference the carrier printed: tracking number, air waybill, bill of lading or booking number.
- Attach each line to one shipment. Match on the reference first, then on route, date and weight where the reference is missing. Lines that cannot be attached are listed, not dropped.
- Allocate the shared lines. Invoice-level fees, consolidation charges and minimum charges are split across the shipments they cover with a documented allocation key, such as chargeable weight or an equal share, applied the same way every period.
- Decide on taxes, duties and currency. Keep taxes and duties separate from transport cost, convert to the reporting currency and state which exchange-rate rule is used, such as the rate on the invoice date or one fixed rate per month.
- Group the result. Sum per shipment, then report by lane, mode, carrier, service level and flow (inbound, intra-company, outbound).
Put as a formula, cost per shipment is base freight plus surcharges plus accessorial charges plus allocated shared charges, minus credits. A shipment billed CHF 420 base freight, a CHF 85 fuel surcharge and CHF 30 handling, with a CHF 15 share of an invoice-level fee and a CHF 20 credit, costs CHF 530.
These are typical treatments; the right key for a given business is the one it applies consistently.
Why does cost per shipment come out wrong?
Because the lines that matter most are the ones that arrive separately. Accessorial charges and destination fees may be billed on a later invoice; credit notes arrive months after the shipment; consolidated invoices mix shipments from several lanes. A monthly division counts each of these in the month it was billed, not against the shipment that caused it.
Missing references do the rest. A line without a usable shipment reference cannot be reliably attached and needs to be resolved rather than silently allocated; left alone, it either disappears from the per-shipment view or is spread evenly across everything. Averages then hide the mix: a month with more heavy air shipments looks more expensive per shipment even if every rate held.
How do you use cost per shipment by lane?
A cost per shipment built from invoice lines turns freight spend analytics into something a controller can act on lane by lane. Our Cost to Serve module shows that view from the audited invoice lines, by lane, carrier and logistics flow, so the figure reflects what was billed and checked rather than what was planned. To see what cost per shipment looks like on your own invoices, we offer a free analysis on 100 shipments.





