Operating since 2008 — serving US companies with operations in Mexico
Foreign trade

CFDI 4.0 Foreign Trade Complement: Complete Guide

By Four Sides Group Published

The Foreign Trade Complement (complemento de comercio exterior) is one of the components Mexico's tax authority scrutinizes most closely in export operations. A CFDI (Mexico's mandatory electronic invoice) issued without the correct complement can lead to customs rejections, returned goods or financial penalties. This guide explains what the complement is, when it applies, what information it requires and how to automate its generation to avoid errors.

What is the Foreign Trade Complement?

It is an additional section of the CFDI that is attached to the invoice when the transaction is a definitive export under customs code A1. It contains specific information the customs authority needs: exporter data, consignee, a description with the tariff classification code, customs unit of measure, U.S. dollar value and more.

It is governed by the current Miscellaneous Tax Resolution (Resolución Miscelánea Fiscal), the General Foreign Trade Rules (Reglas Generales de Comercio Exterior, RGCE) and the technical annexes published by Mexico's tax authority (SAT).

When does the complement apply?

It is mandatory for definitive exports (code A1) that involve a transfer of ownership of the goods. It does not apply to:

  • Temporary exports (codes other than A1)
  • Returns of goods
  • Transfers without a change of ownership
  • Maquila operations under Annex 24 (Anexo 24), the inventory control system required by the SAT, under a specific regime

Information the complement requires

Issuer and recipient data

The issuer's full address and the foreign recipient's data, including the tax ID from their country of residence.

Detailed description of goods

  • 8-digit tariff classification code (fracción arancelaria)
  • Customs unit of measure (different from the commercial unit)
  • Customs quantity
  • Unit and total value in U.S. dollars

Transaction type, customs declaration code, subdivision and exchange rate

A definitive export uses type "2 - Exportación" and code A1. The exchange rate must match the one published by Banxico (Mexico's central bank) for the issue date.

Common errors and how to avoid them

1. Incorrect tariff classification code

It must match the one declared in the pedimento (Mexican customs declaration). An error invalidates the CFDI and creates customs problems.

2. Customs unit of measure differs from the commercial unit

The complement requires the customs unit (kg, liters), which often differs from the commercial unit (pieces, boxes). Your ERP must have both configured.

3. Mismatched exchange rate

It must be the rate published by Banxico for the issue date. Errors come from systems with outdated internal exchange rates.

4. Miscalculated U.S. dollar value

The unit and total values in dollars must be consistent with the price in MXN and the exchange rate.

5. Incomplete consignee data

If the consignee is different from the recipient, it must be included with all tax details from the foreign country.

6. Missing complement when it was mandatory

The SAT does not allow after-the-fact corrections: if the invoice was issued without a required complement, it must be canceled and reissued correctly.

Automating the CFDI 4.0 Foreign Trade Complement

Errors caught before stamping

A system that integrates your ERP, PAC (authorized certification provider) and customs validations detects inconsistencies (tariff code, customs unit, exchange rate) before the CFDI is stamped. The result: zero rejections from complement errors, zero cancellations, zero fines for omissions.

How to automate complement generation

Option 1: Your ERP generates it natively

If your ERP has an active foreign trade module, verify that tariff codes are configured, customs units are set up and the exchange rate updates automatically from Banxico.

Option 2: Integration with a PAC

PACs offer APIs that receive structured data and return the CFDI with the complement. Your ERP integrated with the PAC validates errors before issuing.

Option 3: Custom foreign trade software

For complex operations, a middleware module centralizes information from different sources, validates consistency before generation and records complete traceability. It is the more robust choice for companies with high volumes or specific requirements.

Pre-issuance validation

  • The tariff classification code is valid in the current Tariff schedule
  • The customs units of measure are correct
  • The exchange rate corresponds to the issue date
  • The foreign recipient's data is complete
  • The U.S. dollar values are consistent with the MXN amounts

Implementing automated validations before stamping drastically reduces rejections.

Relationship with the pedimento

The complement must be consistent with the export pedimento. Discrepancies cause problems in SAT-Customs data cross-checks, tax audits, proof of export for the 0% VAT rate, returns and exchanges.

Frequently asked questions

Is the complement mandatory for all exports?

It is mandatory for definitive exports with a transfer of ownership (code A1). Other operations have different rules or do not require a complement.

What happens if I issue a CFDI without the complement when it was mandatory?

The CFDI is invalid. You must cancel it and reissue it with the correct complement. It can result in fines and affect VAT recovery.

How do I get the correct tariff classification code?

From the LIGIE Tariff (Mexico's General Import and Export Tax Law schedule). Your customs broker classifies your products at export. This classification must match exactly in both the pedimento and the complement.

What is the difference between a commercial unit and a customs unit?

The commercial unit is what you sell in (pieces, boxes). The customs unit is what the SAT requires (kilograms, meters, liters). The complement requires the customs unit.

Can I correct a complement that has already been issued?

Not directly. If you detect an error, you must cancel the CFDI and issue a new one with the correct data.

Conclusion

The Foreign Trade Complement in CFDI 4.0 is a technical requirement that is invisible when managed well; when it fails, it generates operating costs, fines and customs problems. The key is to automate its generation, validate before stamping and keep the CFDI and the pedimento consistent.

Is your current system causing rejections or complement errors?

We build custom foreign trade compliance solutions integrated with your ERP, PAC and customs validations

See the Solution Book a Consultation

Related Articles

Annex 24: what it is and how to automate it

IMMEX inventory control and how to avoid penalties.

Read more
RGCE Rule 1.4.14 vs. Rule 3.1.32

Differences, which one applies and how to comply with each.

Read more
Common customs compliance mistakes

The most frequent errors and how to avoid them with software.

Read more

Ready to see if a custom solution fits your case?

Get a free 45-minute diagnosis. The consultant arrives prepared with research about your industry — no generic pitch. ISO 9001:2015 certified process. Source code yours.

Related articles

Back to blog
Message us on WhatsApp