
What Is CFDI in Mexico? 2026 Employer Guide
CFDI Mexico explained: what it is, how payroll CFDI works, CFDI 4.0 requirements, PAC role, UUID, types, deadlines, penalties, and what employers must do.
Questions about hiring in Mexico?
Get instant answers from our AI EOR Specialist — trained on Mexican labor law.
CFDI is the mandatory electronic tax document that sits at the center of payroll, invoicing, and tax compliance in Mexico.
For employers, CFDI is not an internal accounting record. It is the legal proof that a payment was made, reported, and validated under Mexican tax law.
If a salary payment is not backed by a valid CFDI, it is non-compliant from a tax and payroll perspective even if the employee received the correct net amount.
This guide explains what CFDI is, how it works, what CFDI 4.0 requires, and what every employer hiring in Mexico must do to stay compliant.
What CFDI Stands For in Mexico
CFDI stands for Comprobante Fiscal Digital por Internet, which translates to Digital Tax Receipt via Internet.
It is Mexico's standardized digital format for documenting income, payroll, expenses, and taxable transactions. It is issued electronically, validated by the government in real time, and stored permanently in SAT's national database.
The legal invoice in Mexico is not a PDF or a printed receipt. It is an XML file that has passed through SAT's validation system.
That XML, with its government-assigned stamp, is the only document that holds legal and fiscal value.
Why CFDI Exists in Mexico
Before CFDI, businesses issued paper tax receipts that SAT could not verify until after the fact. This created systematic gaps: underreported wages, inflated deductions, off-books payments, and invoices that were created retroactively.
Mexico solved this with one of the world's most advanced digital tax enforcement systems.
CFDI replaced paper entirely and created a continuous, real-time reporting environment where every taxable transaction is transmitted to SAT at the moment it occurs.
SAT receives a copy of every validated CFDI in real time. This means the government sees your payroll before your employees do. The invoice does not legally exist until SAT has validated and stamped it.
For employers, this shift CFDI compliance from an annual filing task into a continuous obligation. Every payroll cycle, every payment, every benefit requires a correctly structured and validated CFDI.
Who Regulates CFDI in Mexico
CFDI is regulated exclusively by the SAT (Servicio de Administración Tributaria), Mexico's federal tax authority. SAT defines the technical specifications, validation rules, and legal requirements that all CFDIs must meet.
SAT is the equivalent of the IRS in the United States or HMRC in the United Kingdom, but with significantly broader real-time visibility into every business transaction in the country.
A CFDI has no legal value until SAT applies a digital fiscal stamp (timbre fiscal digital). Without that stamp, the document is not recognized for tax or payroll purposes.
Who Must Issue CFDIs in Mexico
Every person or entity that receives taxable income or makes taxable payments in Mexico must issue CFDIs as required by SAT rules.
Employers are responsible for issuing payroll CFDIs to employees on every pay cycle. This applies to companies of all sizes and nationalities operating in Mexico.
Service providers and contractors must issue CFDIs to their clients to receive payment. Without a CFDI, the expense is not deductible for the paying company.
Employees do not issue CFDIs. The employer is fully responsible for generating payroll CFDIs correctly.
Foreign companies without a Mexican legal entity cannot issue CFDIs on their own. Only a registered Mexican entity with an active RFC, digital certificates, and SAT authorization can issue CFDIs. This is one of the core reasons foreign companies must work with a local Employer of Record.
How CFDI Works in Mexico: The Three-Party System
CFDI issuance in Mexico involves three parties: the taxpayer (issuer), a government-authorized intermediary (PAC), and SAT.
The taxpayer generates the CFDI data in their payroll or invoicing system. This data must comply with SAT's technical specifications including structure, field completeness, and accurate RFC data for both parties.
The PAC (Proveedor Autorizado de Certificación, or Authorized Certification Provider) receives the CFDI data, validates it against SAT rules, and applies the government fiscal stamp if everything is correct. This stamping process is called timbrado. Without timbrado, the CFDI has no legal value.
SAT receives a copy of every stamped CFDI in real time from the PAC network and stores it permanently. SAT can cross-reference any CFDI against tax filings, payroll records, and social security data at any time.
Using an authorized PAC is mandatory. Employers cannot bypass this system or send CFDIs directly to SAT without a PAC.
CFDI Technical Structure in Mexico
The legally valid CFDI is an XML file. The PDF that employees or vendors receive is only a human-readable representation of that XML for reference purposes. The PDF carries no legal weight.
Every CFDI contains these mandatory data elements:
Field | What It Contains |
|---|---|
Issuer RFC | Tax ID of the entity making the payment (the employer) |
Receiver RFC | Tax ID of the recipient (the employee or vendor) |
Legal name | Exact legal name as registered with SAT for both parties |
Postal code | Fiscal registered address zip code for both parties |
Taxable amounts | Gross amounts, tax base, withholdings, exemptions, net pay |
Tax regime | SAT-registered tax regime of both issuer and receiver |
Use of CFDI code | Mandatory classification of the transaction purpose |
UUID (Folio Fiscal) | Unique identifier assigned by SAT upon validation |
Digital fiscal stamp | SAT-issued timestamp and seal confirming legal validity |
Under CFDI 4.0, every field above is mandatory and validated automatically at the time of issuance. Missing or incorrect data causes rejection.
What Is the UUID in Mexico's CFDI System
The UUID (Universally Unique Identifier), also called the Folio Fiscal, is the alphanumeric code SAT assigns to a CFDI when it is successfully validated and stamped.
It is the definitive proof that a CFDI legally exists in SAT's database. Each UUID is unique and permanent. It cannot be duplicated or reused.
During audits, labor disputes, or tax reviews, the UUID is what SAT uses to verify whether a payment was properly issued and reported.
A CFDI without a valid UUID does not exist in the legal record, regardless of what internal payroll systems show.
CFDI Version 4.0 in Mexico: Current Requirements
CFDI 4.0 is the only version currently permitted by SAT. It became mandatory in January 2022, replacing version 3.3. SAT systems reject CFDIs issued under earlier versions.
The key changes CFDI 4.0 introduced for employers:
Stricter identity validation: Both the issuer and receiver must be identified with their exact legal name as it appears in SAT's taxpayer registry, their RFC, their registered postal code, and their active tax regime. Any mismatch with SAT records causes the CFDI to be rejected.
Mandatory “Use of CFDI” code: Every CFDI must include a specific use code that tells SAT how the transaction will be treated for tax purposes. Incorrect codes can block deductibility even when all other data is correct.
Stricter cancellation rules: CFDI 4.0 introduced cancellation reason codes. Cancellations must state the reason (error without replacement, error with replacement, etc.) and in many cases require the recipient's formal acceptance through SAT systems.
Payroll complement version: For payroll CFDIs, CFDI 4.0 is paired with Complemento de Nómina versión 1.2. This is the specific payroll data complement that details salary, benefits, withholdings, and statutory deductions within the CFDI structure. Both must be current for a payroll CFDI to be valid.
Types of CFDI in Mexico
SAT defines different CFDI types based on the nature of the transaction:
CFDI Type | Purpose |
|---|---|
Income (Ingreso) | Documents revenue from sales of goods or services |
Expense (Egreso) | Documents credits, discounts, or returns against prior income CFDIs |
Transfer (Traslado) | Documents goods movement without a sale (logistics, internal transfers) |
Payroll (Nómina) | Documents salary and employment-related payments; mandatory for employers |
Payment (Pago) | Records settlement of previously invoiced transactions paid after the invoice date |
Withholding and Payment Information | Documents tax withholdings on payments to residents and non-residents |
For employers, the most important type is the Payroll CFDI (Nómina). Every salary, bonus, vacation payment, finiquito, and severance payment must be documented with a payroll CFDI.
Payroll CFDI in Mexico: What Employers Must Know
Payroll CFDI is the specific application of CFDI to employment income. It is mandatory for every payment made under an employment relationship in Mexico.
What must be included in a payroll CFDI:
Employee full name and RFC
Employee CURP (national ID number)
Employer RFC and legal name
Pay period start and end dates
Gross salary and each individual income concept (base salary, overtime, bonuses, vacation premium, aguinaldo)
Exempt portions of each concept under ISR law
Taxable portions subject to ISR withholding
ISR withheld amount
IMSS employee contribution deducted
Net salary paid
Payment date and method
A payroll CFDI that omits or misclassifies any of these elements creates ISR and audit exposure for the employer.
Misclassifying a taxable concept as exempt (or vice versa) is one of the most common errors in payroll CFDI.
Payroll CFDI stamping deadline:
SAT's Miscellaneous Tax Resolution (RMF 2026, Rule 2.7.5.2) allows employers to stamp payroll CFDIs within 2 business days of the actual payment date.
This is a narrow window, not an open-ended grace period. CFDIs stamped outside this window are considered non-compliant and may require cancellation and reissuance.
CFDI Issuance Requirements in Mexico
Before an employer can issue CFDIs, four credentials must be active and in good standing:
RFC (Registro Federal de Contribuyentes): The employer must be registered with SAT and have an active tax ID. This registration defines the tax regime and obligations.
e.Firma: SAT's secure digital identity certificate used to authenticate the taxpayer and perform authorized actions in SAT systems.
CSD (Certificado de Sello Digital): The digital seal certificate required to sign and stamp CFDIs. CSDs expire and must be renewed before expiry to avoid interruption of payroll CFDI issuance.
PAC contract: An active agreement with an authorized PAC to perform timbrado. Without a PAC, CFDIs cannot be stamped and therefore have no legal validity.
If any of these credentials expire or are suspended, the employer cannot issue valid CFDIs. This immediately makes payroll non-compliant and blocks tax deductibility for all subsequent payments.
CFDI Record Retention in Mexico
SAT requires employers to retain all CFDIs for 5 years, under Article 30 of the Federal Fiscal Code (CFF) and NOM-151 archiving standards.
The XML file is the legally valid record and must be retained in its original, unaltered form. Retaining only PDF representations does not meet SAT's requirements.
During a tax audit or labor inspection, SAT may request historical CFDIs covering multiple years. Employers who cannot produce the XML files for the requested period face:
Denial of tax deductions for the unverifiable period
Back tax assessments plus interest and surcharges
Administrative fines for record-keeping non-compliance
Payroll CFDIs must be accessible and verifiable for the full 5-year retention window, not just for the most recent year.
CFDI Cancellations in Mexico
CFDI cancellations are strictly regulated. Once a CFDI is stamped and registered in SAT's database, it is part of the permanent tax record. Canceling it requires following specific rules.
When cancellation is required:
A payroll CFDI must be canceled when it contains data errors (wrong RFC, incorrect amounts, wrong pay period) or when the underlying payment was not made. The employer must then issue a corrected replacement CFDI.
Cancellation reason codes under CFDI 4.0:
Code | Meaning |
|---|---|
01 | Issued with errors, replacement CFDI included |
02 | Issued with errors, no replacement needed |
03 | Transaction not carried out |
04 | Nominative operation (specific regulated scenario) |
Recipient acceptance:
For many CFDI types, the recipient must formally accept the cancellation through SAT's portal within a defined window. For payroll CFDIs, specific rules apply and employers should confirm current SAT guidance for the applicable scenario.
Correction window for prior-year payroll CFDIs:
Under RMF 2026, the window to correct payroll CFDIs from the 2025 tax year closed on February 28, 2026.
For 2026 payroll CFDIs, corrections can be made during the same tax year. After the fiscal year closes, corrections become restricted.
Penalties for CFDI Non-Compliance in Mexico
SAT treats CFDI failures as tax violations, not administrative oversights. Because SAT systems validate data continuously, non-compliance is often detected automatically before any scheduled audit occurs.
Key penalties:
Fines for missing or incorrect CFDIs: SAT can impose fines when CFDIs are not issued, are issued late beyond the 2-business-day window, or contain incorrect data. Repeated violations increase penalty exposure.
Denied tax deductions: Payments without valid CFDIs are not deductible. Employers may owe back taxes on disallowed expenses, plus interest and surcharges.
Digital certificate suspension: Persistent non-compliance can lead to suspension of CSD certificates. Without a valid CSD, the employer cannot issue CFDIs, which immediately halts all compliant payroll processing.
Electronic audits: SAT can initiate automated electronic audits (revisiones electrónicas) when CFDI data inconsistencies are detected. These are triggered without notice and require rapid response.
The 2026 Federal Revenue Law also increased the monthly late payment surcharge to 2.07% per month on unpaid tax obligations, making delayed correction increasingly expensive over time.
Common CFDI Mistakes Employers Make in Mexico
Incorrect RFC or legal name: Even minor mismatches between CFDI data and SAT registry records cause rejection under CFDI 4.0. Names must match exactly as registered with SAT.
Wrong “Use of CFDI” code: An incorrect use code can block deductibility even when every other field is correct. Receivers are responsible for selecting the correct code based on their tax treatment of the payment.
Late timbrado: Stamping payroll CFDIs after the 2-business-day window violates SAT timing rules. Batching payroll CFDIs weekly or monthly when payroll runs more frequently is non-compliant.
Misclassifying exempt vs. taxable income concepts: Each payroll concept (aguinaldo, vacation premium, overtime, ISR-exempt bonuses) has specific exempt limits under LISR. Misclassifying them overstates or understates ISR withholding.
Storing only PDFs: PDF files have no legal value. The XML must be retained for 5 years. Discovering this during an audit with no XML archive is a costly error.
Incorrect cancellation handling: Canceling a CFDI without the required reason code, without issuing a replacement, or after the correction window creates permanent gaps in the payroll record.
CFDI and Foreign Companies Hiring in Mexico
A foreign company without a Mexican legal entity cannot issue CFDIs. There is no RFC, no CSD, and no PAC relationship to perform timbrado.
This means that every salary a foreign company pays to an employee in Mexico without a compliant local employer structure is an unrecorded, unvalidated payment in SAT's view.
No CFDI exists. No legal payroll record exists. No ISR withholding is documented.
This creates simultaneous exposure across labor law, income tax, and social security compliance.
The solution for foreign companies is a locally registered EOR (Employer of Record). The EOR issues all payroll CFDIs as the legal employer, with its own RFC, CSD, and PAC relationship.
This ensures every payment is fully documented and validated under Mexican tax law.
How Human Resources Mexico (HRM) Handles CFDI Compliance
Human Resources Mexico (HRM) is the leading Employer of Record in Mexico and the only locally based EOR built exclusively for companies in the US, Canada, China, and other countries hiring in Mexico.
Unlike global EOR platforms that process Mexico payroll through intermediaries, HRM's local team issues every payroll CFDI directly as the registered legal employer, with an active RFC, current CSD certificates, and an established PAC relationship.
Every payroll cycle produces correctly structured CFDI 4.0 payroll receipts with Complemento de Nómina versión 1.2, stamped within the required 2-business-day window.
We manage the full CFDI lifecycle: generation, timbrado, delivery to employees, annual reconciliation, 5-year XML archive, and correct handling of cancellations and corrections when needed.
For foreign companies, this eliminates the CFDI infrastructure gap entirely. You do not need a Mexican RFC, digital certificates, or a PAC agreement. HRM handles it as the legal employer.
Get a custom proposal to see how HRM manages compliant CFDI payroll for your team in Mexico.
CFDI Mexico FAQ
What is CFDI in Mexico?
CFDI (Comprobante Fiscal Digital por Internet) is Mexico's mandatory electronic tax document used to record and validate taxable transactions including payroll, sales, and service payments.
The legally valid CFDI is an XML file stamped by SAT through an authorized PAC. Without a valid CFDI, payments have no tax or payroll legal standing.
Is CFDI required for payroll in Mexico?
Yes. Every salary payment in Mexico must be documented with a payroll CFDI (CFDI de Nómina) issued by the legal employer. This applies to base salary, bonuses, vacation pay, aguinaldo, finiquito, and severance.
No payroll CFDI means no legal payroll record in SAT's system.
What is CFDI 4.0 in Mexico?
CFDI 4.0 is the current mandatory version of Mexico's electronic invoice standard, required for all CFDI issuance since January 2022. For payroll, it uses Complemento de Nómina versión 1.2.
CFDI 4.0 requires exact legal names, RFCs, postal codes, and tax regimes for both issuer and receiver, and introduced stricter cancellation rules.
What is a PAC in Mexico's CFDI system?
A PAC (Proveedor Autorizado de Certificación) is a government-authorized intermediary that validates and stamps CFDIs on behalf of SAT.
Employers cannot issue legal CFDIs without routing them through an authorized PAC. The PAC performs timbrado, applying the fiscal stamp that gives the CFDI legal validity.
What is the UUID in a CFDI?
The UUID (Folio Fiscal) is the unique alphanumeric identifier SAT assigns to a CFDI when it is successfully validated. It is the definitive proof that the CFDI exists in SAT's database.
During audits or labor disputes, SAT uses the UUID to verify whether a payment was properly issued and reported.
How long must CFDI records be kept in Mexico?
Employers must retain all CFDIs, specifically the XML files, for 5 years under CFF Article 30 and NOM-151 archiving standards.
PDF representations do not satisfy this requirement. SAT can request historical XML files during audits covering the full retention window.
Can a foreign company issue CFDI in Mexico?
No. A foreign company without a Mexican legal entity, active RFC, and digital certificates cannot issue CFDIs.
All payroll CFDIs must be issued by a registered Mexican legal employer. Foreign companies hiring in Mexico must use a locally registered Employer of Record to maintain compliant CFDI payroll.
What is the payroll CFDI stamping deadline in Mexico?
Under RMF 2026, employers may stamp payroll CFDIs within 2 business days of the actual payment date.
This is not an open-ended window. CFDIs stamped outside this period are non-compliant and may require cancellation and reissuance.
Questions about CFDI or payroll compliance in Mexico? Get instant answers from our Mexico EOR Specialist AI Chatbot, trained on Mexican labor law and payroll compliance.
AI-Powered
What can the Mexico EOR Specialist Answer
Ask about any area of Mexican employment law — get instant, verified answers.
EE Contracts
Indefinite vs. temporary, probation periods, remote work laws, foreign nationals
Benefits & Compensation
Aguinaldo (Christmas bonus), PTU profit sharing, minimum wage 2026, overtime rules
Vacations & Exits
Vacation days table 2026, severance calculation, resignation vs. termination rules
Compliance & Risk
REPSE requirements, NOM-035, IMSS social security, payroll taxes, termination risks



