Carta Porte complement XML in freight audit

Definition

Carta Porte XML is the structured complement file stamped with the CFDI. It holds goods, locations, transport-party, and autotransport nodes. It is what AP and the SAT can validate; the PDF is only a representation.

If your process is “the PAC will fix it”, you already accepted double capture and rejection.

The TMS should map trip a nodes; AP should store the XML for the UUID.

What Carta Porte XML means in practice

It is the machine-readable form of complement 3.1. It lives in the same tax package as CFDI XML and is identified by the UUID.

Ops guides: Carta Porte and 3.1 step by step.

Why it matters (shipper / 3PL / carrier)

1.Shipper / AP

Parse locations, goods, and unit vs the real trip before paying.

2.3PL / intermediary

Require carrier XML on the client file; PDF does not scale.

3.Carrier

Generate XML from trip data. PAC re-keying = 3.1 rejection.

Which XML nodes to match

Errors: Carta Porte 3.1 rejections.

NodeVs tripFailure signal
LocationsOrigin/destinationDifferent ZIP or coords
GoodsSKU/weightWrong SAT code
Auto transportPlates/permitStale config
FiguresDriverIncomplete RFC
Short checklist; detail lives in 3.1 rejection guides.

CP XML pre-pay checklist

  1. File

    XML present

  2. UUID

    CFDI match

  3. Version

    Complement 3.1

  4. Nodes

    Vs trip

  5. POD

    Delivery separate

XML OK + POD OK = payable file.

Common mistakes

1.Regenerating XML by hand

Breaks trip–stamp traceability and multiplies rejection.

2.Auditing PDF only

Failing nodes do not show on the printout.

3.Ignoring catalog versioning

A stale catalog kills stamping even when the business “looks fine”.

OCL and the trip file

OCL can stamp invoices and Carta Porte. Agents parse nodes, match them to trip/GPS/POD, and leave exceptions with a file.

Sources and further reading

  1. Glossary: Carta Porte · complement 3.1.
  2. Guide: Carta Porte.
  3. Errors: 3.1 rejections.
  4. SAT (official): Carta Porte complement.
Key takeaways5 points
  1. CP XML = complement nodes inside/with the stamped CFDI.
  2. The expensive mistake is regenerating or editing XML by hand off the trip.
  3. Version SAT catalogs (3.1) and test changes before production.
  4. AP should parse nodes, not “read the PDF”.
  5. OCL can stamp invoices and Carta Porte; it also reads the XML in the file.

Is AP still auditing Carta Porte on PDF?

30-minute diagnostic: CP XML parsing vs trip in your pre-pay flow.

Frequently asked questions