Skip to main content

Systems integration

Freight reconciliation: aligning three sets of numbers into one exception list

Carrier invoices, order data and customer settlements follow three different definitions. The differences usually sit in billed weight, region and surcharges. Unify the fields first, then classify the exceptions — do not compare line by line.

English summary. The full project note is published in Chinese.

Three sources, three definitions

The carrier invoices on billed weight, destination region and surcharges; the order system records ordered weight and delivery address; the customer settlement uses a contracted price list. Each is correct on its own, yet the totals disagree. Weight is captured at different moments (ordered, dispatched, re-weighed), regions are divided differently (administrative area, depot, postcode range), and surcharges differ (fuel, remote area, out of zone, waiting time). Without exposing those differences, any automatic reconciliation simply calculates the error faster.

Fix the fields before discussing exceptions

We settled one reconciliation table with fixed fields: waybill number, order time, dispatch warehouse, destination region, billed weight, price version, surcharge type and the three amounts. Missing fields are added first; where a value cannot be recovered, the source is marked rather than filled with a default. With the fields aligned, the three sources can be joined on the same key: the waybill number, with waybill plus date as a fallback for exceptions.

Classify, do not compare one by one

The system groups differences into five types, each with a rule and an action: weight beyond the agreed threshold (re-weigh), destination on a region boundary (recalculate by the price list), multiple price versions in force (select by effective date), surcharge not agreed or charged twice, and duplicate billing of the same waybill in one period. Every exception carries an owner and an action — dispute, adjust or accept — so month-end work becomes a short classified list rather than a full manual comparison.

Result and boundary

Monthly reconciliation moved from line-by-line checking to handling categories, and a dispute can now cite the waybill, the rule and the basis. The system only applies rules and classifies differences; it does not decide whether to dispute, and the interpretation of carrier contract terms stays with the business team.

Read the full note in Chinese

Does this resemble a problem you are facing?

Describe your current process and systems. We will give an initial view on scope and delivery order.