CFDI 4.0: guide to invoicing without errors
The CFDI 4.0 is the current digital tax receipt that must meet the requirements of the Código Fiscal de la Federación, including the recipient’s RFC, tax regime and tax address matching their Constancia de Situación Fiscal. Invoicing without errors means using the correct product and use codes, choosing the appropriate receipt type and validating the XML. The current specific rules and catalogs must be confirmed on the SAT portal.

CFDI 4.0: guide to invoicing without errors
CFDI 4.0 is the current version of the digital tax receipt issued online. Invoicing without errors means meeting the legal issuance requirements, correctly entering the recipient's details and choosing the appropriate codes and receipt type. The obligation to issue CFDI and its general requirements are in art. 29 of the Código Fiscal de la Federación, while the specific receipt requirements (such as RFC, tax regime, tax address and use code) are established in art. 29-A of the same code (Cámara de Diputados - CFF).
This guide summarizes the essentials for reducing rejections and deduction problems. Detailed rules, catalogs and completion guides should always be consulted on the official SAT portal, because they are updated.
Key points
- There is an obligation to issue CFDI under art. 29 of the CFF (Cámara de Diputados - CFF).
- The receipt requirements, including RFC, tax regime, tax address and use code, are in art. 29-A of the CFF (Cámara de Diputados - CFF).
- The SAT publishes guides, catalogs, validations and official CFDI 4.0 electronic invoicing services (SAT - Factura electrónica).
- The recipient's details must match their Constancia de Situación Fiscal to avoid rejections.
- The current rules and catalogs for the fiscal year must be confirmed on the SAT portal before invoicing.
What it is and when it applies: CFDI 4.0, complements, cancellation or Carta Porte
CFDI 4.0 applies to transactions requiring a tax receipt: income, expenses, transfers, payroll and payments, among others. Depending on the transaction, a complement may be required (such as the payment or Carta Porte complement). Choosing the correct receipt type and SAT catalog codes is essential for the CFDI to reflect the actual transaction.
The technical XML requirements and applicable catalogs are detailed in SAT guides; it is advisable to use official validations before certification.
Obligations, deadlines or risks
The obligation to issue CFDI (art. 29 of the CFF) and meet the requirements of art. 29-A means that an incorrectly issued receipt may not be valid for tax purposes. The most consequential errors are recipient details that do not match their CSF and the use of incorrect codes, because they may prevent tax deduction or crediting. Specific exceptions, deadlines or changes for the fiscal year are not stated here as definitive: they must be verified in the current RMF and SAT guides.
Recommended steps
- Ask the recipient for their Constancia de Situación Fiscal and check the RFC, tax regime and postal code of the tax address.
- Choose the correct receipt type (income, expense, transfer, payroll or payment).
- Use the product/service and CFDI use codes that correspond to the actual transaction.
- Apply the required complement when the transaction calls for it.
- Validate the CFDI with official SAT tools before delivering it.
- Keep the XML and its printed representation.
Common mistakes
- Entering recipient details that do not match the CSF (RFC, regime or postal code).
- Using an incorrect product/service or CFDI use code.
- Choosing a receipt type that does not reflect the transaction.
- Making corrections by duplicating income instead of using the appropriate mechanism.
- Failing to validate the XML with official tools before issuing.
Official sources
- Cámara de Diputados - CFF (art. 29): obligation to issue CFDI and general requirements. https://www.diputados.gob.mx/LeyesBiblio/ref/cff.htm
- Cámara de Diputados - CFF (art. 29-A): receipt requirements, including RFC, regime, tax address and use code. https://www.diputados.gob.mx/LeyesBiblio/ref/cff.htm
- SAT - Factura electrónica: guides, catalogs, validations and official CFDI 4.0 services. https://wwwmat.sat.gob.mx/personas/factura-electronica
Frequently asked questions
See the frequently asked questions section at the end of this page.
Disclaimer: This information is general and educational for Mexico. It does not replace personalized advice from an accountant, tax attorney or specialist. Obligations, deadlines, rates and effects may vary by tax regime, activity, income, state and individual circumstances.