Skip to content
The Algorithm logoThe Algorithm
Insights›Architecture
ArchitectureLogistics & Supply Chain9 min read · 2026-12-01

Freight Invoice Processing: Match Rates, Delivery Evidence and Charges

$95
Unsupported detention held in the fictional worked example
Match each carrier invoice to the load, the agreed rate and proof of delivery before anything reaches payment. Includes a worked example, duplicate and rebill handling, tolerance rules and a copyable exception checklist.

Capturing an invoice number is easy. Knowing whether a detention fee belongs on that shipment is the work. Start by matching the invoice to the load, agreed rate and evidence of delivery, then make exceptions visible before anything reaches payment.

This guide is for finance and operations teams at shippers, 3PLs and brokers who receive carrier invoices by email, portal or EDI and want fewer hours spent matching them. The worked example is fictional.

What to capture from every invoice

ItemWhy it mattersMatched against
Invoice number and carrierTogether they form the duplicate keyPreviously received invoices
Shipment and PO identifiersLinks the charge to a real movementTMS load, PRO number, purchase order
Base linehaulThe agreed price for the moveRate confirmation or contract tariff
FuelOften formula-based and easy to get wrongAgreed fuel schedule or fixed amount
AccessorialsWhere most disputes liveEvidence: appointment times, gate logs, POD notes
CurrencyCross-border moves need it explicitAgreed currency on the rate
Supporting PODNo delivery evidence, no paymentSigned POD attached to the load
Rate confirmationThe source of truth for what was agreedStored against the load at booking
Reason for holdTells the carrier exactly what is neededYour exception codes

A worked example

Illustrative, fictional data. A carrier invoices a dry van load. The rate confirmation agreed $1,200 linehaul and $180 fuel. The invoice totals $1,475: the two agreed lines plus $95 detention.

LineInvoicedSupported byStatus
Linehaul$1,200Rate confirmationSupported
Fuel$180Rate confirmationSupported
Detention$95No appointment or gate times on file; POD has no detention noteHeld
Total$1,475$1,380 supported$95 variance held

The workflow does not pay anything and does not split the invoice. It marks $1,380 as supported and routes the $95 variance according to the customer's policy. Typically the carrier relations or billing owner asks the carrier for check-in and check-out times at the consignee. If those times show waiting beyond the free time in the agreement, the owner releases the detention line. If not, it's disputed with the carrier. Either way, the decision and the evidence are recorded against the invoice.

Duplicate prevention

Carriers resend invoices, factoring companies send copies and portals re-export batches. Key every invoice on carrier plus invoice number, and check the same load for a second invoice under a different number with the same amount. Treat both as holds, not rejections: a second invoice is sometimes legitimate (a separate accessorial bill), and a person should decide.

Credits and rebills

A rebill should reference the invoice it replaces, and a credit should reduce a specific invoice. Without that link the two documents look like two unrelated charges. Hold any credit or rebill that can't be tied to an original, and record the relationship once it's confirmed so the load's total cost stays correct.

Tolerance rules

Small differences, such as rounding in a fuel formula, may not be worth a person's time. Tolerances make that a written decision rather than a habit. Set them per charge type, as an absolute amount and a percentage, and never let a tolerance cover a charge that has no basis at all. An unsupported accessorial is not a rounding error. Review the tolerance outcomes monthly: if most holds are released unchanged, the rule is too tight; if disputes are found after payment, it's too loose.

Invoice automation, freight audit and payment

These terms get used interchangeably. They are different jobs:

  • Freight invoice automation captures invoice data, matches it to loads, rates and delivery evidence, and routes exceptions. This is the part described in this guide.
  • Freight audit checks charges against contracts and tariffs, often after the fact, to recover overpayments and find patterns by carrier or lane.
  • Freight payment moves money to carriers, usually from approved invoices, and is governed by your finance controls and approval limits.

Automating the first job well makes the other two easier, but it doesn't replace them, and it shouldn't approve payments outside the approval path your finance team already runs.

Mapping and exception checklist

Freight invoice mapping and exception checklist

Mapping
[ ] Carrier and remit-to identified; carrier invoice number captured exactly as printed
[ ] Shipment, load, PRO and PO identifiers mapped to your records
[ ] Base linehaul, fuel and each accessorial captured as separate lines
[ ] Currency captured; no silent conversion
[ ] Agreed rate source named (rate confirmation, contract tariff or spot quote)
[ ] Supporting POD located and linked; signature and pages checked

Exceptions (hold, do not pay)
[ ] Same carrier + invoice number already seen (duplicate)
[ ] Accessorial without supporting evidence (detention, lumper, layover, TONU)
[ ] Line amount differs from the agreed rate beyond the agreed tolerance
[ ] POD missing, unsigned or showing damage or shortage
[ ] Invoice references a shipment you cannot match
[ ] Credit or rebill without a link to the original invoice

For every hold
[ ] Reason recorded in words a carrier can act on
[ ] Owner named (billing, operations or carrier relations)
[ ] Evidence that would release it written down

Matching invoices depends on orders entering the TMS cleanly. Read the companion guide on TMS integration for emailed freight orders, or see the logistics automation overview.

Bring us one manual workflow →

Related Articles
Architecture

What Happens to Your HIPAA BAAs When You Migrate to Cloud

Read →
Architecture

HL7 FHIR R4 to R5: The Migration Nobody Budgeted For

Read →
Architecture

Zero-Trust Architecture for HIPAA: Beyond the Marketing Slide

Read →
Facing This?

The engineering behind this article is available as a service.

We have done this work — not advised on it, not reviewed documentation about it. If the problem in this article is your problem, the first call is with a senior engineer who has solved it.

Talk to an EngineerSee Case Studies →
Related Reading
Architecture
What Happens to Your HIPAA BAAs When You Migrate to Cloud
Architecture
HL7 FHIR R4 to R5: The Migration Nobody Budgeted For
Architecture
Zero-Trust Architecture for HIPAA: Beyond the Marketing Slide
Service
Agentic AI Engineering
Service
Data Engineering & Analytics
Engage Us