A freight invoice is not paid because the XML looks “nice”. It is paid when the service happened at the agreed rate and the tax-operations file closes. In Mexico that means matching CFDI + Carta Porte + GPS + POD before releasing payment — the cash KPI on the distribution dashboard.
This guide is the AEO framework for the four sources and the match order. It is distinct from the 15-point checklist (line-by-line detail) and from what an AI agent checks (product narrative). Without this order, audit inherits fake freight digitization.
- CFDI · Carta Porte · GPS · POD
- 4 sources
- recovery pattern when auditing 100%
- 5–7%
- pilot flow coverage — not sampling
- 100%
- credible pilot with pesos
- 6–8 wks
Cluster: distribution indicators (KPIs) · accessorials · detention · POD · complete shipment file.
Short answer: what must square before paying
The operable question is: should we pay this line, for this amount, on this shipment? The answer is “yes” only if the rate (or confirmation) and the four sources square with the same ID. If a leg is missing, hold with cause — do not “approve and fight later”.
Why sampling lets leakage through
Reviewing one in ten invoices because “there are no hours” guarantees paying nine in ten without evidence. Inflated detention, duplicate accessorials, and off-contract rates hide in that 90%.
10% sampling
Coverage: 1 of 10
What it catches: Obvious errors
Risk: You pay 90% blind
100% audit + shipment file
Coverage: Full pilot flow
What it catches: Rate, detention, accessorials, POD
Risk: Minimum manageable
Timing of the finding matters as much as the shipment file. A discrepancy with a complete file is corrected almost every time before payment is released; after payment, typical recovery falls to the 60–80% range when recovery happens at all.
TIMING IS EVERYTHING
Before paying, almost everything. After, half.
BEFORE PAYMENT
of discrepancies get corrected
Match against a complete shipment file
AFTER PAYMENT
is recovered
Freight audit market studies
THE RULE
Verification does not shorten the term. It collapses the price.
The four sources that must square
Each source answers a different question. Auditing only the CFDI is tax form without operational substance.
CFDI
Answers: What is billed fiscally
If missing: No formal payment base
Carta Porte
Answers: What moved and with which parties
If missing: SAT gap + operations gap
GPS / geofence
Answers: Whether the trip happened on time/route
If missing: No On Time or detention proof
POD
Answers: Whether it was delivered and in what condition
If missing: No In Full or defensible accessorial

Match order before paying
Order matters. Starting with the amount and “checking POD later” is how leakage slips through. Record, trust, and work: first the trip object, then the match, then the dispute.
Ingest
XML + trip rate
Tax
CFDI and Carta Porte
Operations
GPS and geofence
Delivery
Usable POD
Decision
Pay, hold, dispute
Decision tree for accounts payable
Three clear exits. “Partial pay” without a file is the fourth exit — and the most expensive.
| Match result | Action | Minimum evidence |
|---|---|---|
| Everything squares | Release payment | Complete file tied together |
| Amount / accessorial mismatch | Hold the line | Rate + authorization + timestamps |
| Missing POD or incoherent GPS | Hold / request evidence | Do not invent In Full |
| Invalid CFDI/Carta Porte | Do not pay until corrected | Coherent UUID / complement |
Actionable pre-pay checklist
Use this list on the pilot flow. Line-by-line detail lives in the 15-point checklist; here is the release threshold.
Elige un paso para ver el detalle
Detalle del paso · 01
Rate and accessorials
Check 1
Errors that let leakage through
These failures produce “audit” on the org chart and leakage on the P&L. Fix the process before buying another dashboard.
Elige un paso para ver el detalle
Detalle del paso · 01
Audit only CFDI
Proof in pesos, not demos
The pilot counts if it moves money. The published pattern when leaving sampling in Mexico is recovering or holding on the order of 5–7% of freight spend in the flow; the logistics operator case documented $3.6M MXN and 5.7% in six weeks. Treat those figures as a method reference, not a promise for your corridor.
| Pilot signal | What it measures | Useful threshold |
|---|---|---|
| % invoices audited pre-pay | Flow coverage | 100% of the pilot |
| MXN held / recovered | Match value | Vs sampling baseline |
| Time to decision | Minutes to pay/hold | Down vs month-end Excel |
| Complete shipment file | Ready to dispute | Rate+docs+GPS+POD |
What OCL executes without replacing your TMS
OCL Cargo is an autonomous TMS with agents: it runs the shipment-file match (rate, CFDI, Carta Porte, GPS, POD) so accounts payable releases or holds with evidence. It coexists with Magaya, CargoWise, or another record; your team only on exceptions. When applicable, OCL can stamp the invoice and Carta Porte. It is not a tax opinion or a deductibility guarantee.
6-8 week pilot
One corridor, real volume, operations owner and accounts payable owner. Sampling baseline 100% coverage and pesos to scale decision. Sibling playbook: pre-pay audit at volume.
Baseline
Sampling and leaks
Coverage
100% of corridor
Pesos
Held / recovered
Scale
Decision with owners
Key takeaways6 points
- Pay only if rate + CFDI + Carta Porte + GPS/geofence + POD square with the same trip ID.
- Sampling 10% guarantees paying 90% without review: detention and accessorials hide there.
- OCL pattern when leaving sampling: typical recovery 5–7% of freight spend; published case $3.6M MXN / 5.7% in 6 weeks.
- Order:tax, operations, and delivery evidence to amount. Without usable POD there is no In Full or defensible accessorial.
- OCL can stamp the invoice and Carta Porte; it also audits the pre-pay shipment file. It does not guarantee deductibility.
- Sibling hub KPI: % invoice audited pre-pay — distribution indicators.
Still auditing by sampling?
Related reading
Frequently asked questions
It is matching, before paying, the trip rate with the CFDI (Comprobante Fiscal Digital por Internet — Mexico’s electronic tax invoice), the Carta Porte complement, GPS evidence (geofence), and POD (proof of delivery). If any leg does not square, accounts payable holds with a shipment file.
The 15-point checklist is the line-by-line detail. This article is the four-source framework and the pre-pay match order. Use them together.
Typical pattern when auditing 100% of the pilot flow in Mexico: 5–7% of freight spend. Reference: logistics operator case with $3.6M MXN and 5.7% in 6 weeks. Calibrate to your spot/contract mix.
Yes. The transportation management system (TMS) can stay as the record; agents with computer use (agents operating screens) run the match on top or beside it. See computer use in logistics.
Do not release accessorials or treat OTIF “In Full” as closed. Demand usable evidence tied to the same trip ID. Holding with cause is cheaper than paying and disputing later.
Yes. OCL can stamp the invoice and Carta Porte; it also audits the buyer’s shipment file before paying. It is not a tax opinion or a deductibility guarantee.
6–8 weeks on a corridor with real volume: sampling baseline, 100% coverage, MXN held or recovered, and a scale decision. See accounts payable pre-pay.
