Invoice Requirements in Mexico: CFDI 4.0 Rules for 2026
In Mexico an invoice is a CFDI 4.0 XML certified by a PAC or the SAT. Required fields, RFC, régimen fiscal and uso CFDI, IVA at 16% or 8%, and an example.
Mexico was one of the first countries to make every invoice electronic and to route each one past the tax authority before it is issued. This guide covers who issues a CFDI, what it must contain, how IVA is calculated, how certification and cancellation work, and a worked example, using the Federal Tax Code (Código Fiscal de la Federación, CFF), the VAT Law (Ley del IVA) and the Servicio de Administración Tributaria (SAT) filling guide for Annex 20.
Last reviewed: 27 October 2026. This is general information, not legal or tax advice. It covers taxpayers registered with the SAT (with an RFC) issuing income invoices for sales and services in Mexico. Payroll, transport (Carta Porte), foreign trade, donations, leasing and other complements have their own rules. Check with the SAT or a contador before relying on it.
Who has to issue a CFDI?
Article 29 of the CFF says that whenever tax law requires a receipt for an activity, income or withholding, the taxpayer must issue it as a digital document through the SAT. Buyers and service recipients must ask for one. To issue CFDI you need:
- registration in the Registro Federal de Contribuyentes (RFC) and a valid advanced electronic signature (e.firma)
- a digital seal certificate (certificado de sello digital) from the SAT
- certification of each CFDI before issue, by the SAT or an authorised provider
| Scenario | What applies |
|---|---|
| Mexican taxpayer selling to a Mexican business (B2B) | CFDI with the customer's RFC, name, tax postcode, tax regime and uso CFDI |
| Mexican taxpayer selling to the general public (B2C) | CFDI using the SAT's generic RFC (XAXX010101000); SAT rules allow simplifications for these sales |
| Mexican taxpayer invoicing a customer abroad | CFDI with the generic foreign RFC (XEXX010101000), the customer's country and uso CFDI "S01" (no tax effects); exports of goods add the foreign-trade complement |
| Business without a Mexican RFC invoicing a Mexican customer | Cannot issue a CFDI. It issues its own country's invoice; the customer's Mexican tax treatment is a question for its adviser |
What must a CFDI contain?
Article 29-A of the CFF sets the legal requirements, and Annex 20 of the SAT's Miscellaneous Tax Resolution sets the XML fields and catalogues. The main items:
| Requirement (Article 29-A CFF) | In the CFDI 4.0 XML |
|---|---|
| Issuer's RFC, name and tax regime | Emisor: Rfc, Nombre, RegimenFiscal (for example 601, General de Ley Personas Morales) |
| Folio and SAT digital seal, plus the issuer's seal | Added at certification; the fiscal folio is the UUID. Your own Serie (up to 25 characters) and Folio (up to 40) are optional |
| Place and date of issue | LugarExpedicion (postcode) and Fecha |
| Receiver's RFC, name and tax postcode, and the use the receiver will make of the CFDI | Receptor: Rfc, Nombre, DomicilioFiscalReceptor, RegimenFiscalReceptor, UsoCFDI (for example G03, Gastos en general) |
| Quantity, unit and type of goods or description of the service, using SAT catalogues | ClaveProdServ, Cantidad, ClaveUnidad, Descripcion per line, and ObjetoImp (whether the line is subject to tax) |
| Unit value | ValorUnitario |
| Total, with transferred taxes broken down by rate and any taxes withheld | Impuestos, Total |
| Whether paid in one instalment or deferred, and how it was paid | MetodoPago "PUE" (paid in one instalment at issue) or "PPD" (in instalments or deferred, with FormaPago "99" Por definir); then a payment-receipt CFDI with the payment complement for each payment received |
| Customs document number for first-hand sales of imported goods | NumeroPedimento on the line |
| It must cover real, existing operations | Since a November 2025 reform, CFDI that do not are treated as false |
The XML must carry Version "4.0". The receiver's RFC must be registered with the SAT and its postcode must match that RFC, which is why you need your customer's details exactly as the SAT holds them.
Amounts backed by a CFDI that misses any requirement of Article 29 or 29-A, or shows the data differently from what the rules require, cannot be deducted or credited by your customer.
How is IVA calculated on a Mexican invoice?
General rate: 16%. Article 1 of the Ley del IVA sets the tax at 16% of the value, and requires you to charge it "expressly and separately" to the buyer. In the CFDI each taxable line shows the base, the tax (002 for IVA), the factor type and the rate (0.160000).
0% rate. Article 2-A applies 0% to listed supplies, such as unprocessed animals and plants and most food and patent medicines (with exceptions such as most drinks other than milk). Article 29 applies 0% to exports of goods and of certain services by Mexican residents.
Border regions: 8%. The "Decreto de estímulos fiscales región fronteriza norte" (31 December 2018) gives a credit equal to 50% of the IVA rate, applied directly so that the buyer is charged 8%. It covers sales of goods, independent services and leasing from premises in the listed border municipalities (such as Tijuana, Mexicali, Ciudad Juárez, Nogales and Nuevo Laredo), where the goods are delivered or the service is provided in the region. You must file a notice with the SAT to apply it, and it does not apply to imports. A similar decree covers the southern border region. On 31 December 2025, both decrees were extended until 31 December 2026. Check whether they are extended again before you invoice at 8% in 2027.
Withholdings. Legal entities (personas morales) that receive independent personal services or rent property from individuals must withhold part of the IVA (Article 1-A). Withheld taxes appear separately from transferred taxes in the CFDI.
How do certification and cancellation work?
Certification (timbrado). Before a CFDI is issued, it must be sent to the SAT, or to an authorised certification provider (proveedor de certificación, PAC), which:
- validates it against the Article 29-A requirements, the complements and the SAT's technical specifications
- assigns the fiscal folio (the UUID)
- adds the SAT's digital seal
Only then can you deliver the XML file to your customer, plus a printed representation (PDF) if they ask for one. The law says the printed version "only presumes the existence" of the CFDI. The XML is the invoice. The SAT also offers free applications that generate and certify CFDI.
Cancellation. A CFDI can be cancelled up to the month in which the annual income tax return for the year of issue is due, and only if the receiver accepts the cancellation (Article 29-A). SAT rules set how acceptance is given and the cases where it is not needed. For returns, discounts and rebates after the sale, issue an egreso (credit) CFDI instead.
How do the five layers fit together in Mexico?
| Layer | What applies in Mexico (27 October 2026) |
|---|---|
| 1. Invoice content | Article 29-A CFF requirements, filled in the CFDI 4.0 fields and SAT catalogues of Annex 20 |
| 2. Tax calculation | IVA at 16%, 0% (Article 2-A and exports) or 8% in the border regions until 31 December 2026; withholdings where they apply |
| 3. E-invoice format and validation | CFDI XML version 4.0, validated against the SAT's specifications and catalogues |
| 4. Clearance or submission | Mandatory: certification (timbrado) by a PAC or the SAT before issue, which assigns the UUID and SAT seal |
| 5. Reporting | Periodic tax returns to the SAT, which already holds every certified CFDI. Payments on PPD invoices are reported through payment-receipt CFDI |
Worked example: a Mexico City design studio invoicing a Monterrey company
Scenario (illustrative). Estudio Lumbre S.A. de C.V., a design studio in Mexico City under the general regime for companies (régimen 601), designs a brand identity for Comercializadora Norte S.A. de C.V. in Monterrey, Nuevo León. Monterrey is not in the border region, so the 16% rate applies. Payment is due in 30 days.
| Line | ClaveProdServ (from the SAT catalogue) | Quantity | Unit value | Amount |
|---|---|---|---|---|
| Brand identity design | Code for design services | 1 | MXN 40,000.00 | MXN 40,000.00 |
| Brand consulting | Code for consulting services | 10 hours | MXN 1,200.00 | MXN 12,000.00 |
| Subtotal | MXN 52,000.00 | |||
| IVA 16% (transferred) | MXN 8,320.00 | |||
| Total | MXN 60,320.00 |
The CFDI carries both RFCs and names, Estudio Lumbre's postcode as place of issue, Comercializadora Norte's tax postcode and régimen fiscal, UsoCFDI "G03", ObjetoImp "02" (subject to tax) on each line, MetodoPago "PPD" and FormaPago "99", because payment comes later. Estudio Lumbre's PAC certifies it and returns the UUID. When the payment arrives by bank transfer, Estudio Lumbre issues a payment-receipt CFDI with the payment complement, referencing that UUID. Because both parties are companies, no IVA withholding applies here.
Border variant. The same service sold from Estudio Lumbre's branch in Tijuana, delivered in Tijuana to a Tijuana client, with the stimulus notice filed: IVA at 8% is MXN 4,160.00 and the total is MXN 56,160.00, while the decree remains in force.
Can you use InvoiceQuickly for Mexican invoices?
No, not as your invoice in Mexico. An InvoiceQuickly invoice is a PDF. It is not a CFDI. InvoiceQuickly cannot produce CFDI XML, connect to a PAC or the SAT, obtain a UUID, or add SAT catalogue codes, régimen fiscal or uso CFDI. A saved RFC would print on new PDFs as a plain "Tax ID", but that does not turn the PDF into a CFDI, and Mexican pesos are not among the seven currencies its editor offers. Amounts backed only by its PDF cannot be deducted or credited by your Mexican customer.
If you are registered with the SAT, issue your invoices through a PAC or the SAT's free invoicing application. InvoiceQuickly may still suit a business outside Mexico, with no Mexican RFC, that invoices Mexican customers under its own country's rules, for example a US freelancer billing in US dollars. See the regional invoicing overview for how Mexico compares with other countries.
When is this not the right fit?
Get specialist help, or dedicated CFDI software, if you:
- issue payroll, transport (Carta Porte), foreign-trade or other complements
- sell from the border regions and need to confirm your eligibility for the 8% rate
- receive or make withholdings on services and rentals between individuals and companies
- need to cancel, replace or credit CFDI regularly
Related reading: our Mexico invoice template (a reference layout of the fields, not a CFDI), the glossary entry on e-invoicing, invoicing international clients, the invoice tax compliance guide and the full list of guides.
Sources
Last reviewed: 27 October 2026. All sources accessed on 27 October 2026. The SAT and DOF websites could not be reached directly from our network, so archived copies of the official files and the government's SIDOF service were used.
- Cámara de Diputados, Código Fiscal de la Federación (text as last reformed DOF 9 April 2026): Article 29 (obligation, certification, printed representation), Article 29 Bis (certification providers) and Article 29-A (requirements, deductibility, cancellation).
- Cámara de Diputados, Ley del Impuesto al Valor Agregado: Articles 1 (16%), 1-A (withholding), 2-A (0%) and 29 (exports).
- Servicio de Administración Tributaria, Anexo 20: Guía de llenado de los comprobantes fiscales digitales por Internet (version 4.0 fields, catalogues, PUE and PPD, generic RFCs, PAC certification).
- Diario Oficial de la Federación via SIDOF: Decreto de estímulos fiscales región fronteriza norte (31 December 2018; 50% IVA credit, eligible municipalities, notice) and the decree of 31 December 2025 extending the northern and southern border decrees to 31 December 2026.
Frequently asked questions
Is e-invoicing mandatory in Mexico?
Yes. Every invoice a Mexican taxpayer is required to issue must be a CFDI: an XML document certified by the SAT or an authorised provider (PAC) before it is issued. A paper or PDF invoice on its own is not a valid tax receipt.
What is a CFDI 4.0?
It is the current version of Mexico's electronic invoice, defined in Annex 20 of the SAT's Miscellaneous Tax Resolution. It requires the receiver's name, tax postcode and tax regime, which must match the SAT's records, and an "ObjetoImp" field showing whether each line is subject to tax.
What is a PAC?
A proveedor de certificación (often called PAC) is a private company authorised by the SAT under Article 29 Bis of the Federal Tax Code to validate CFDI, assign the fiscal folio (UUID) and add the SAT's digital seal. The SAT also certifies CFDI through its own free applications.
What is the IVA rate in Mexico?
16% generally. It is 0% for listed goods such as most unprocessed food and for exports, and 8% for qualifying sales in the northern and southern border regions under decrees in force until 31 December 2026.
What is uso CFDI?
It is the code for how the receiver will use the invoice for tax purposes, from the SAT's c_UsoCFDI catalogue, for example G03 (general expenses). The receiver tells you which code to use, and it must be compatible with their régimen fiscal. Invoices to foreign customers use S01 (no tax effects).
Can a CFDI be cancelled?
Yes, up to the month in which the annual income tax return for the year of issue is due, and only if the receiver accepts the cancellation, apart from cases the SAT's rules exempt. For later adjustments such as returns or discounts, issue a credit (egreso) CFDI.
Is the PDF of a CFDI a valid invoice?
No. The XML is the invoice. The printed representation only presumes that the CFDI exists, and your customer can check the UUID on the SAT's website.
Practical guidance for freelancers and small businesses creating and managing invoices.
Create your next invoice from one prompt
Describe the client, work, prices, and payment terms. Review every field before you send.
Create a Free InvoiceRelated guides
Invoice Requirements in Italy: E-Invoicing Rules for 2026
Domestic invoices in Italy must be XML e-invoices sent through the SdI, forfettari included. Required content, IVA rates, deadlines and a worked example.
Invoice Requirements in Spain: Factura Rules and Verifactu
What a Spanish factura must show under RD 1619/2012, IVA at 21/10/4%, Verifactu and B2B e-invoicing dates as AEAT states them, plus a worked example.
Alabama Sales Tax on Invoices: 4% State, Local Taxes, SSUT
Alabama's 4% state rate, self-administered city and county taxes, untaxed separately stated labor and the flat 8% SSUT, with a worked invoice.
Arizona Transaction Privilege Tax (TPT) on Invoices
Arizona's TPT is a tax on the seller, not a sales tax on the buyer. State, county and city rates, what to show on an invoice, and a worked Phoenix example.
Useful, occasional notes
Get invoicing tips that actually help
Join the InvoiceQuickly update list for practical invoicing advice and product news.
No spam, ever. Unsubscribe anytime.