---
title: "Guide to building a CFDI supporting file for tax closing, not just a folder of XML files"
description: "How a simple folder of XMLs can lead to a tax liability assessed by the SAT for nonexistent transactions"
canonical: "https://www.clara.com/en-mx/tax-intelligence/guides/organizing-cfdi-supporting-files-for-close"
lang: "en-MX"
alternate_html: "https://www.clara.com/en-mx/tax-intelligence/guides/organizing-cfdi-supporting-files-for-close"
---

# Guide to building a CFDI supporting file for tax closing: why a folder of XMLs will not protect you in a SAT audit

Define the minimum supporting file for each period and explain what evidence is missing when only the XML is retained.

![Editorial portrait of a Mexican woman in her twenties in a tax setting](https://www.clara.com/assets/webflow/695af87260de1349e7cd3934/6ae101601a02dee09aa74ab2_6ae1015d7b0cf52ad4fa41af_if-organizar-cfdi-para-cierre.png)

## How a simple folder of XMLs can lead to a tax liability assessed by the SAT for nonexistent transactions

For a Finance Director or an accounting firm, few situations create more uncertainty than a notice that the SAT is exercising its audit powers for a fiscal year thought to be closed and reconciled. The scene often repeats itself: the company downloaded 100% of its XML files on time, meticulously organized them by month, and submitted them in response to a request from the tax authority. The SAT's response, however, is devastating: **disallowance of deductions for ISR, denial of the IVA credit, and assessment of a tax liability due to documentary discrepancies**.

Why? For the SAT, **an isolated XML does not prove that a purchase or service actually took place**.

When the authority questions the substance of a transaction under [Article 69-B of the Código Fiscal de la Federación](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) or detects discrepancies in payment methods (PUE vs. PPD), a folder full of digital tax receipts does not protect you. What gives you peace of mind and shields the company during electronic audits is the **comprehensive supporting file**: structured evidence linking each CFDI to its actual bank flow, contractual support, and operational substance.

This guide explains with technical rigor which documents Mexican law requires, how to build an auditable file for each period, and how to prevent canceled invoices or irregular suppliers from jeopardizing your company's deductions.

## 1\. The difference between collecting XMLs and establishing tax accounting records

The [Article 28 of the Código Fiscal de la Federación](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) states that accounting records comprise the accounting books, systems and records, workpapers, bank statements, special accounts, corporate books and records, inventory controls and [valuation methods](https://www.clara.com/en-mx/tax-glossary/peps-ueps), disks and tapes or any other processable data storage medium, electronic tax recording equipment or systems and their respective records, as well as supporting documentation for the corresponding entries and evidence of compliance with tax provisions.

The key phrase is **"supporting documentation for the corresponding entries"**. It does not say "XML files." It says supporting documentation. And, under [Article 33, section A, of the Reglamento del Código Fiscal de la Federación](https://www.diputados.gob.mx/LeyesBiblio/regley/Reg%5FCFF.pdf), that documentation includes:

- Auxiliary accounting records or entries, including the chart of accounts and the vouchers for those records.
- Annual and information returns, and returns for provisional, monthly, bimonthly, quarterly, or final payments.
- Bank statements and reconciliations of deposits and withdrawals against the accounting records.
- Documentation related to hiring individuals who provide subordinate personal services, as well as documentation concerning their social security enrollment and registration.

When a company retains only the XML file and its printed PDF representation, it satisfies only a small fraction of what the law considers accounting records. If the tax authority exercises its audit powers—whether through an electronic audit under [Article 42, subsection IX, of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) or through an on-site inspection—the first thing it will request is evidence connecting that receipt to the economic reality of the transaction.

### What the XML contains and what it does not

| The XML does record                       | The XML does not record                                                                                                                   |
| ----------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| Issuer's and recipient's RFC              | Whether the service was actually provided                                                                                                 |
| Amount, description, and tax regime       | Whether payment was made and by what means                                                                                                |
| UUID, issuance date, and SAT seal         | Whether the supplier has real operational capacity                                                                                        |
| Declared payment method (PUE or PPD)      | Whether a contract supports the transaction                                                                                               |
| Use of the CFDI selected by the recipient | Whether deliverables were received and accepted                                                                                           |
| Validity status at the time of issuance   | Subsequent cancellation of the CFDI (the XML file retains its original structure, but its tax status with the SAT may change to canceled) |

The right-hand column of this table is precisely where tax deductions are secured or lost.

## 2\. The four layers of the Minimum Auditable File

A robust supporting file is not a single file hundreds of pages long. It is a modular structure with four layers that can be assembled progressively and accessed by period, supplier, or transaction type.

### Layer 1: Integrity of the CFDI 4.0 and its supplements

The [Article 29-A of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) sets out the requirements a CFDI must meet to be valid. But formal validity does not end with issuance. The file must document:

- **The original XML file** issued by the Proveedor Autorizado de Certificación (PAC) and certified by the SAT, with its corresponding UUID.
- **Verification of validity** of the CFDI through the [SAT verification service](https://verificacfdi.facturaelectronica.sat.gob.mx/). An issuer may cancel a CFDI at any time within the deadlines of the [Resolución Miscelánea Fiscal](https://sidof.segob.gob.mx/notas/5777217). Keeping an XML without periodically checking its status means keeping a document that may have ceased to exist for tax purposes.
- **The Complemento para Recepción de Pagos (REP)**, which is mandatory when the payment method is PPD (Payment in Installments or Deferred). [Rule 2.7.1.32 of the RMF](https://sidof.segob.gob.mx/notas/5777217) states that the recipient of the payment must issue the payment receipt no later than the **fifth calendar day of the following month** after the month in which payment is received. Without this supplement, the evidentiary chain between the invoice and the cash flow is broken.

**Common mistake:** Receiving an invoice with the PUE (Single-Payment) method but settling it weeks later. If the actual payment date does not match the CFDI issuance date, the authority may question the receipt's consistency. The file must contain evidence of payment on the recorded date.

### Layer 2: Financial and bank reconciliation

The XML states an amount. The bank statement confirms that this amount actually left or entered the company's account. The reconciliation between the two is what [Article 33, section A, subsection IV of the RCFF](https://www.diputados.gob.mx/LeyesBiblio/regley/Reg%5FCFF.pdf) requires when it refers to "bank statements and reconciliations of deposits and withdrawals."

The file for each period must include:

- **The month's bank statement** in full, issued by the financial institution.
- **Accounting-to-bank reconciliation** linking each transaction to its accounting voucher and corresponding CFDI.
- **Proof of the payment method** used: a SPEI transfer reference, point-of-sale terminal voucher, copy of the check, or record of offsetting, as applicable.

Bank reconciliation is not an administrative formality. It proves that the financial flow supports the transaction documented in the CFDI. When the authority finds inconsistencies between invoiced amounts and bank transactions, the first effect is the presumption that the transaction lacks economic substance.

### Layer 3: Operational substance and business purpose

This is the layer most companies omit and the one the SAT has pursued most intensely since the reform of [Article 69-B of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).

Article 69-B establishes the procedure for presuming that transactions are nonexistent: when the authority finds that a taxpayer issues receipts without having the assets, personnel, infrastructure, or material capacity to provide the services or to produce, market, or deliver the goods covered by the receipts, it may presume that the transactions are simulated. The immediate effect for the recipient of those receipts is the loss of the deduction and the IVA credit.

But 69-B does not affect only so-called "shell companies." It also exposes any company that cannot show that its own transactions with legitimate suppliers had real substance. The burden of proof falls on the taxpayer.

**Minimum documentation of substance for each transaction:**

| Type of transaction                  | Recommended evidence of substance                                                                                                                        |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Professional or consulting services  | Signed contract specifying scope, deliverables, and deadlines · Reports or deliverables received · Coordination emails · Meeting minutes (if applicable) |
| Purchase of merchandise or materials | Purchase order · Delivery note or carta porte · Photographic evidence of receipt · Warehouse or inventory entry record                                   |
| Maintenance and repairs              | Service order · Log of work performed · Before-and-after photographs · Acknowledgment signed by the responsible internal employee                        |
| Lease of real estate or equipment    | Current lease agreement · Proof of monthly payments · Evidence of actual use of the property or equipment                                                |
| Advertising or marketing services    | Contract or approved proposal · Screenshots of active campaigns · Results reports or performance metrics                                                 |

**Critical point:** Under binding case law of the Second Chamber of the Suprema Corte de Justicia de la Nación ([Digital Record 2021218](https://sjf2.scjn.gob.mx/detalle/tesis/2021218)), private documents must invariably meet the requirement of a **date certain** when tax audit powers are exercised. A contract entered into between private parties acquires a date certain only when it is registered in the Registro Público, presented before a public certifying officer (notary or commercial broker), or one of the signatories dies, as well as through preservation certificates with time stamps under NOM-151\. Without a date certain, the authority may disregard the contract's evidentiary value.

### Layer 4: Monitoring of changing status

Tax receipts are not static. A CFDI that is valid today may be canceled tomorrow. A supplier in good standing this month may appear on the [list of taxpayers with allegedly nonexistent transactions](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) the following month.

The file must include periodic checks of:

- **Validity status of received CFDIs.** Cancellation of a CFDI without the recipient's consent is a real risk, especially since the [RMF](https://sidof.segob.gob.mx/notas/5777217) permits cancellation for certain reasons that do not require acceptance (relationship errors, for example). If a received income CFDI is canceled and the company does not detect it, the company may be reporting income or deductions based on a receipt that no longer exists for tax purposes.
- **Supplier checks against the 69-B lists.** The SAT periodically publishes and updates the [list of taxpayers with allegedly nonexistent transactions](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf). Checking that none of the company's active suppliers appear on these lists is a basic preventive measure.
- **Subsequent credit notes and expenditure receipts.** An income CFDI may have associated credit notes issued months later. If the file for the period does not include them, the reported income figure may not match the cumulative documentary record.

This monitoring cannot be a last-minute annual exercise. Tax information changes continuously, and the file must reflect those changes. Companies that centralize checks of their CFDIs on platforms with direct synchronization with the SAT eliminate the risk of working with outdated information: instead of downloading XMLs manually and waiting until closing to discover cancellations or inconsistencies, they have continuous visibility into the actual status of each receipt.

## 3\. The same SAT request, two opposite outcomes: what made the difference

Consider a common situation: a small or medium-sized enterprise (SME) in the services sector receives an electronic audit notice from the SAT concerning the deductibility of consulting expenses recorded in a fiscal year.

### Company A: kept only the XMLs

Company A downloaded all its XMLs from the SAT portal at year-end and stored them in a folder organized by month. When it receives the request, it submits the XML files and printed PDF representations.

The authority objects:

- Two of the submitted CFDIs were **canceled by the issuer** three months after issuance. Company A did not know because it never checked their validity status after downloading them.
- Four CFDIs relate to consulting services totaling $480,000 MXN, but there is no evidence of **which services were provided**, **which deliverables were received** or **which of the supplier's personnel performed them**.
- The payment method declared in the CFDIs is PUE (Single Payment), but the bank statements show that two of those payments were made **45 days after the issuance date** of the receipt.

Outcome: the authority disallows the $480,000 MXN deduction for lack of substance and demands payment of the corresponding ISR and IVA, plus inflation adjustments, surcharges, and potentially a fine for the inconsistency in the declared payment method.

### Company B: built a file for each period

Company B maintains a digital file organized by monthly period. For the same consulting services, it submits:

- The original XMLs **with validity verification** documented at the close of each month.
- Signed service contracts specifying scope, deliverables, and payment schedule.
- The monthly reports delivered by the consulting firm, with an acknowledgment signed by the operations director.
- The SPEI transfers linked to each CFDI, with bank references and reconciliation against the accounting voucher.
- The supplier's updated constancia de situación fiscal and its positive opinión de cumplimiento.

Outcome: the authority accepts the documentation and closes the audit without observations regarding those expenses.

**The difference between the two companies was not the volume of documents. It was the structure and traceability of the evidence.**

## 4\. Operational checklist for period-end closing

Before sending monthly or annual information to the accounting firm, check that every relevant transaction has the following elements:

- ☐ Original XML of the CFDI stored with its UUID as a unique identifier.
- ☐ Verification of the CFDI's validity on the [SAT portal](https://verificacfdi.facturaelectronica.sat.gob.mx/) performed within the last 30 days.
- ☐ Complemento para Recepción de Pagos (REP) issued and received for every transaction with the PPD payment method.
- ☐ Reconciliation of the CFDI amount against the corresponding bank transaction on the statement.
- ☐ Contract, purchase order, or accepted quotation supporting the transaction.
- ☐ Evidence that the goods or services were received (deliverable, acknowledgment, delivery note, photograph, or log).
- ☐ Check of the supplier against the [list of taxpayers with allegedly nonexistent transactions](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) (Art. 69-B CFF).
- ☐ Identification of CFDIs canceled during the period that affect earlier accounting records.
- ☐ Accounting voucher with a cross-reference to the UUID of the CFDI and the bank transaction number.
- ☐ Filing of the supplier's current constancia de situación fiscal (an internal control and corporate governance recommendation for transactions exceeding $50,000 MXN or recurring services; it is not an express legal obligation).

This checklist is not intended to cover every industry or every tax regime. Its purpose is to establish an operational baseline that any company can implement immediately to strengthen its evidentiary position before the authority.

## 5\. Clara Tax Intelligence: the technology solution for turning folders of XML into an auditable file

Building a robust supporting file need not become an operational nightmare of manual SAT downloads and files scattered across local servers.

**Clara Tax Intelligence** structures the company's documentary foundation from the outset, linking data and evidence:

- **Automatic Structuring of Supporting Files:** Continuously classifies and associates each issued and received CFDI with its payment method, validity status, and receipt type.
- **End-to-End Traceability of Payments and REPs:** Links every bank transaction to its UUID and corresponding Complemento de Recepción de Pagos in a single view, ensuring complete documentary support for monthly closing.
- **Preventive Monitoring of Cancellations and Suppliers:** Immediately detects invoices canceled by suppliers or notices in the Buzón Tributario, preventing improper deductions before the return is filed.
- **Centralized Vault for Closing Across Multiple RFC Registrations:** Provides an immutable repository accessible to management and accountants, preventing the loss of receipts and facilitating smooth audits.

> **Recommendation for preventing inconsistencies at tax closing and organizing auditable CFDI files:** A sound tax position is built through systematic validation of each XML when it is issued and received, not at the close of the fiscal year. Maintaining a continuous file with documentary traceability prevents costly contingencies and speeds up audits.

## 6\. Frequently asked questions

### What happens if a supplier cancels a CFDI after I have already recorded it in my accounts?

If an issuer cancels a received CFDI and the recipient company has already recorded it as a deductible expense, the company must adjust its accounting records in the period when it learns of the cancellation. Under the cancellation framework currently in force in the [RMF](https://sidof.segob.gob.mx/notas/5777217), some cancellation reasons require the recipient's acceptance and others do not (such as cancellation due to a relationship error or receipts issued with errors). In both cases, the recipient must actively monitor the status of its CFDIs to detect cancellations that affect its records. The [CFDI verification service provided by the SAT](https://verificacfdi.facturaelectronica.sat.gob.mx/) allows the current status of any receipt to be checked using its UUID.

### What is the practical difference between PUE and PPD for the file?

The **PUE** (Single Payment) payment method indicates that payment was made when the CFDI was issued or within the same calendar month. The **PPD** (Payment in Installments or Deferred) method indicates that payment will be made later and requires the recipient of the payment to issue a [Complemento para Recepción de Pagos (REP)](https://sidof.segob.gob.mx/notas/5777217) no later than the **fifth calendar day of the following month** after payment, under [Rule 2.7.1.32 of the RMF](https://sidof.segob.gob.mx/notas/5777217).

For the purposes of the file, the difference is critical: a CFDI with the PUE method must be linkable to a bank transaction in the same month it was issued. If the company receives an invoice with PUE but pays it 45 days later, there is a documentary inconsistency that the authority may question. In that case, the CFDI should have been issued with the PPD method and accompanied by the corresponding REP when payment was made.

### How often should I check whether my suppliers appear on the Article 69-B list?

There is no mandatory legal deadline for this check, but the recommended practice is to do it at least once a month, ideally before the accounting period closes. The SAT periodically updates the [list of taxpayers with allegedly nonexistent transactions](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf), and the publication of the final and informational lists in the Diario Oficial de la Federación may occur at any time. Identifying a supplier on these lists before closing makes it possible to make informed decisions about the deductibility of the associated receipts and, where appropriate, request the supplier's defense information or seek replacement receipts.

### Must contracts be kept on paper, or are digital versions accepted?

The [Article 28, subsection I, of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) recognizes electronic data storage media as part of the accounting records. Contracts signed digitally using the SAT's e.firma (Firma Electrónica Avanzada) or other recognized electronic signature certificates have full evidentiary validity. For contracts signed by hand, retaining the paper original and an additional digitized backup (a high-resolution scan) linked to the file for the corresponding period is recommended. The contract's evidentiary value is stronger when its **date certain** can be demonstrated: it existed when the transaction occurred and was not created retroactively.

### How long does the SAT have to request the documents making up my accounting records?

Under [Article 67 of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf), the tax authority's audit powers expire after the general period of five years counted from the date on which the return for the corresponding fiscal year was filed. However, the period extends to **ten years** in the cases expressly provided by law: when the taxpayer has not applied for RFC registration, does not keep accounting records or does not retain them for the statutory period, or fails to file a fiscal-year return despite being required to do so. For this reason, the supporting file and evidence of substance must be preserved in full, ensuring their continued availability.

### Does storing files in a public cloud or on an external hard drive satisfy the accounting-record retention obligation?

The [Article 28 of the CFF](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf) and [Article 33 of the RCFF](https://www.diputados.gob.mx/LeyesBiblio/regley/Reg%5FCFF.pdf) authorize the use of electronic media to preserve accounting records. However, passive storage in unconnected folders does not ensure the file's integrity if files lose metadata, lack encrypted backups, or undergo changes to their original XML structure. The corporate governance best practice is to use secure accounting platforms that keep records encrypted, synchronized with the SAT 24/7, and backed by immutable audit logs.

## 7\. Official sources and primary legal references

1. **Código Fiscal de la Federación (CFF) — Current text.** Articles 28 (components of accounting records), 29 (obligation to issue CFDI), 29-A (CFDI requirements), 42 subsection IX (electronic audits), 67 (expiration of audit powers), and 69-B (presumption of nonexistent transactions). Official publication by the [Cámara de Diputados del H. Congreso de la Unión](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).
2. **Reglamento del Código Fiscal de la Federación (RCFF) — Current text.** Article 33, sections A and B (documents making up the accounting records and requirements for accounting entries). Official publication by the [Cámara de Diputados del H. Congreso de la Unión](https://www.diputados.gob.mx/LeyesBiblio/regley/Reg%5FCFF.pdf).
3. **Resolución Miscelánea Fiscal (RMF) 2026.** Rule 2.7.1.32 (issuance of the Complemento para Recepción de Pagos), CFDI cancellation rules, and recipient acceptance framework. Official publication by the [Servicio de Administración Tributaria](https://sidof.segob.gob.mx/notas/5777217).
4. **Servicio de Administración Tributaria (SAT) — Electronic Invoicing Microsite.** CFDI validator, CFDI 4.0 catalogs, supplement frameworks, and completion guides. Official access through the [SAT invoicing microsite](https://verificacfdi.facturaelectronica.sat.gob.mx/).
5. **Servicio de Administración Tributaria (SAT) — List of taxpayers with allegedly nonexistent transactions (Article 69-B CFF).** Current official lookup on the [SAT portal](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf).
6. **Ley del Impuesto sobre la Renta (LISR) — Current text.** Articles 27 (requirements for authorized deductions for legal entities) and 147 (deduction requirements for individuals engaged in business activities, professional services, and leasing). Official publication by the [Cámara de Diputados del H. Congreso de la Unión](https://www.diputados.gob.mx/LeyesBiblio/pdf/LISR.pdf).

## Reach month-end knowing  
how much you’ll pay

Connect your RFC today and get your tax information in order.

[**Sign up**](https://contabilidad.clara.com/signup?utm%5Fsource=clara.com&utm%5Fmedium=referral&utm%5Fcampaign=es%5Fmx%5Finteligencia%5Ffiscal)[**Request a guided demo**](https://contabilidad.clara.com/demo)

Resources:[Tax guides](https://www.clara.com/en-mx/tax-intelligence/guides)[Tax checklists](https://www.clara.com/en-mx/tax-intelligence/checklists)[Tax use cases](https://www.clara.com/en-mx/tax-intelligence/use-cases)[Tax worksheets](https://www.clara.com/en-mx/tax-intelligence/worksheets)[Tax protocols](https://www.clara.com/en-mx/tax-intelligence/protocols)[Tax calendars](https://www.clara.com/en-mx/tax-intelligence/calendars)[Tax matrices](https://www.clara.com/en-mx/tax-intelligence/matrices)[Tax models](https://www.clara.com/en-mx/tax-intelligence/models)[Tax templates](https://www.clara.com/en-mx/tax-intelligence/templates)[Tax comparisons](https://www.clara.com/en-mx/tax-intelligence/comparisons)[CFDI catalogs](https://www.clara.com/en-mx/cfdi-catalogs)
