---
title: "How to validate a CFDI (XML) step by step | Clara"
description: "How to review a CFDI 4.0 using its XML file: which requirements to check under the CFF and why final validation takes place on the SAT portal."
canonical: "https://www.clara.com/en-mx/tax-intelligence/articles/validate-cfdi-xml-step-by-step"
lang: "en-MX"
alternate_html: "https://www.clara.com/en-mx/tax-intelligence/articles/validate-cfdi-xml-step-by-step"
---

# How to validate a CFDI (XML) step by step

1. [Home](https://www.clara.com/en-mx)
2. [Tax Intelligence](https://www.clara.com/en-mx/products/tax-intelligence)
3. [Articles](https://www.clara.com/en-mx/tax-intelligence/articles)
4. How to validate a CFDI (XML) step by step

August 11, 2026
- Tax Intelligence
- 7 min read
Equipo Hub Fiscal MX

To validate a CFDI, check in the XML the CFF requirements (arts. 29 and 29-A), such as RFC, use, tax regime, and supplements, and confirm its status in the SAT's official verifier. Reviewing it yourself does not replace official verification of the document.

![A woman in a denim jacket and glasses checks off a handwritten list beside her laptop and folders.](https://www.clara.com/assets/blog/if-articles-2026-11/validar-xml-hero.webp)

## How to validate a CFDI (XML) step by step

Reviewing a CFDI through its XML file lets you confirm that an invoice you receive or issue meets tax requirements before using it to claim a deduction or credit. The XML is the document with validity for tax purposes (the PDF is only a representation), so the review must be done using it. This educational, neutral guide explains which fields to examine and why final validation of the document's status is always done on the SAT's official portal.

The requirements a document must meet are set out in the Código Fiscal de la Federación (CFF), and the SAT publishes the catalog and technical documentation.

## The essentials

- A CFDI must meet the requirements of articles 29 and 29-A of the CFF; the XML is the document to review ([CFF](https://www.diputados.gob.mx/LeyesBiblio/ref/cff.htm)).
- The catalogs, guides, and official documentation for CFDI 4.0 are published by the SAT ([SAT](https://wwwmat.sat.gob.mx/personas/factura-electronica)).
- The document's actual status (active/canceled, issuer, recipient, amount, and folio) is confirmed through the SAT's official verifier ([SAT](https://verificacfdi.facturaelectronica.sat.gob.mx/)).
- Reviewing it yourself does not replace official verification of the CFDI.

## What it is and when it applies: CFDI 4.0, supplements, cancellation, or Carta Porte

A CFDI 4.0 is the current digital tax document that must be issued in accordance with Anexo 20 and the SAT's catalogs. In addition to the base document, certain transactions require supplements (for example, for payments, payroll, or Carta Porte), whose requirements are also published by the SAT. Validating an XML file applies when you receive an invoice and want to make sure it can be used to claim a deduction or credit, or when you issue one and want to confirm it was prepared correctly before sharing it.

## Obligations, deadlines, or risks

Using a CFDI that does not meet the CFF's requirements, or one that has been canceled, may affect your deduction or credit. That is why it is advisable to review both the contents of the XML and its status with the SAT. The specific rules and deadlines (for example, for cancellation) are set out in the SAT regulations currently in force and should be checked there, since they may be updated; this guide does not reproduce annual deadlines or exceptions.

## Recommended steps

1. Open the XML file (not just the PDF) and find the issuer's and recipient's details.
2. Check that the recipient's RFC, name, and tax regime match your tax status certificate.
3. Review the CFDI use, the form and method of payment, and the amounts and taxes.
4. Confirm that it includes the corresponding supplement if the transaction requires one.
5. Validate the document's status in the SAT's official verifier using the fiscal folio.
6. If there are errors in details you cannot correct yourself, ask the issuer to reissue the invoice.

## Common mistakes

- Reviewing only the PDF instead of the XML, which is the document with validity for tax purposes.
- Failing to confirm the CFDI's status in the SAT's official verifier.
- Accepting a document with an incorrect CFDI use or recipient tax regime.
- Failing to check whether the transaction required a supplement.

## Official sources

- **Cámara de Diputados — CFF, arts. 29 and 29-A**: requirements a CFDI must meet. [Link](https://www.diputados.gob.mx/LeyesBiblio/ref/cff.htm)
- **SAT — Factura electrónica**: catalogs, guides, and documentation for CFDI 4.0\. [Link](https://wwwmat.sat.gob.mx/personas/factura-electronica)
- **SAT — Verificación de comprobantes fiscales digitales**: verifies status, issuer, recipient, amount, and folio. [Link](https://verificacfdi.facturaelectronica.sat.gob.mx/)

---

**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 according to tax regime, activity, income, state, and individual circumstances.

- ### [How to issue a CFDI 4.0 step by step](https://www.clara.com/en-mx/tax-intelligence/articles/issue-cfdi-4-0)

Summarize this article with

- [ChatGPT (opens in a new tab)](https://chatgpt.com/?hints=search&q=Summarize%20the%20article%20%22How%20to%20validate%20a%20CFDI%20%28XML%29%20step%20by%20step%22%2C%20published%20by%20Clara%20on%20its%20blog%3A%20https%3A%2F%2Fwww.clara.com%2Fen-mx%2Ftax-intelligence%2Farticles%2Fvalidate-cfdi-xml-step-by-step%0ARead%20the%20full%20article%20at%20that%20link%20and%20use%20it%20as%20the%20primary%20source.%20Give%20me%3A%0A1.%20The%20core%20idea%20in%202%20or%203%20sentences.%0A2.%20The%20key%20points%20as%20bullets%2C%20with%20the%20definitions%2C%20figures%2C%20formulas%20or%20steps%20as%20the%20article%20states%20them.%0A3.%20What%20a%20company%20can%20do%20with%20this%20information.%0ADon't%20add%20facts%20that%20are%20not%20in%20the%20article%3B%20if%20you%20can't%20open%20the%20link%20or%20something%20can't%20be%20verified%2C%20say%20so.%20Cite%20Clara%20%28clara.com%29%20as%20the%20source%2C%20with%20the%20link%20to%20the%20article.%20Answer%20in%20English.)
- [Claude (opens in a new tab)](https://claude.ai/new?q=Summarize%20the%20article%20%22How%20to%20validate%20a%20CFDI%20%28XML%29%20step%20by%20step%22%2C%20published%20by%20Clara%20on%20its%20blog%3A%20https%3A%2F%2Fwww.clara.com%2Fen-mx%2Ftax-intelligence%2Farticles%2Fvalidate-cfdi-xml-step-by-step%0ARead%20the%20full%20article%20at%20that%20link%20and%20use%20it%20as%20the%20primary%20source.%20Give%20me%3A%0A1.%20The%20core%20idea%20in%202%20or%203%20sentences.%0A2.%20The%20key%20points%20as%20bullets%2C%20with%20the%20definitions%2C%20figures%2C%20formulas%20or%20steps%20as%20the%20article%20states%20them.%0A3.%20What%20a%20company%20can%20do%20with%20this%20information.%0ADon't%20add%20facts%20that%20are%20not%20in%20the%20article%3B%20if%20you%20can't%20open%20the%20link%20or%20something%20can't%20be%20verified%2C%20say%20so.%20Cite%20Clara%20%28clara.com%29%20as%20the%20source%2C%20with%20the%20link%20to%20the%20article.%20Answer%20in%20English.)
- [Perplexity (opens in a new tab)](https://www.perplexity.ai/search?q=Summarize%20the%20article%20%22How%20to%20validate%20a%20CFDI%20%28XML%29%20step%20by%20step%22%2C%20published%20by%20Clara%20on%20its%20blog%3A%20https%3A%2F%2Fwww.clara.com%2Fen-mx%2Ftax-intelligence%2Farticles%2Fvalidate-cfdi-xml-step-by-step%0ARead%20the%20full%20article%20at%20that%20link%20and%20use%20it%20as%20the%20primary%20source.%20Give%20me%3A%0A1.%20The%20core%20idea%20in%202%20or%203%20sentences.%0A2.%20The%20key%20points%20as%20bullets%2C%20with%20the%20definitions%2C%20figures%2C%20formulas%20or%20steps%20as%20the%20article%20states%20them.%0A3.%20What%20a%20company%20can%20do%20with%20this%20information.%0ADon't%20add%20facts%20that%20are%20not%20in%20the%20article%3B%20if%20you%20can't%20open%20the%20link%20or%20something%20can't%20be%20verified%2C%20say%20so.%20Cite%20Clara%20%28clara.com%29%20as%20the%20source%2C%20with%20the%20link%20to%20the%20article.%20Answer%20in%20English.)
- [Google AI Mode (opens in a new tab)](https://www.google.com/search?udm=50&q=Summarize%20the%20article%20%22How%20to%20validate%20a%20CFDI%20%28XML%29%20step%20by%20step%22%2C%20published%20by%20Clara%20on%20its%20blog%3A%20https%3A%2F%2Fwww.clara.com%2Fen-mx%2Ftax-intelligence%2Farticles%2Fvalidate-cfdi-xml-step-by-step%0ARead%20the%20full%20article%20at%20that%20link%20and%20use%20it%20as%20the%20primary%20source.%20Give%20me%3A%0A1.%20The%20core%20idea%20in%202%20or%203%20sentences.%0A2.%20The%20key%20points%20as%20bullets%2C%20with%20the%20definitions%2C%20figures%2C%20formulas%20or%20steps%20as%20the%20article%20states%20them.%0A3.%20What%20a%20company%20can%20do%20with%20this%20information.%0ADon't%20add%20facts%20that%20are%20not%20in%20the%20article%3B%20if%20you%20can't%20open%20the%20link%20or%20something%20can't%20be%20verified%2C%20say%20so.%20Cite%20Clara%20%28clara.com%29%20as%20the%20source%2C%20with%20the%20link%20to%20the%20article.%20Answer%20in%20English.)
- [Grok (opens in a new tab)](https://grok.com/?q=Summarize%20the%20article%20%22How%20to%20validate%20a%20CFDI%20%28XML%29%20step%20by%20step%22%2C%20published%20by%20Clara%20on%20its%20blog%3A%20https%3A%2F%2Fwww.clara.com%2Fen-mx%2Ftax-intelligence%2Farticles%2Fvalidate-cfdi-xml-step-by-step%0ARead%20the%20full%20article%20at%20that%20link%20and%20use%20it%20as%20the%20primary%20source.%20Give%20me%3A%0A1.%20The%20core%20idea%20in%202%20or%203%20sentences.%0A2.%20The%20key%20points%20as%20bullets%2C%20with%20the%20definitions%2C%20figures%2C%20formulas%20or%20steps%20as%20the%20article%20states%20them.%0A3.%20What%20a%20company%20can%20do%20with%20this%20information.%0ADon't%20add%20facts%20that%20are%20not%20in%20the%20article%3B%20if%20you%20can't%20open%20the%20link%20or%20something%20can't%20be%20verified%2C%20say%20so.%20Cite%20Clara%20%28clara.com%29%20as%20the%20source%2C%20with%20the%20link%20to%20the%20article.%20Answer%20in%20English.)

## Frequently asked questions

Answers to the most common questions about this topic.

### What fields should I check in a CFDI 4.0, and which ones can I not confirm in the XML?

In the XML, you can check the issuer's and recipient's RFC, name, and tax regime, the CFDI use, the form and method of payment, the amounts and taxes, and the presence of supplements, all of which have requirements under articles 29 and 29-A of the CFF. What the XML alone cannot confirm is the document's actual status (active or canceled). That information comes from the SAT's official verifier.

### Does reviewing it myself replace official verification of the CFDI with the SAT?

No. Any review you perform on the XML is helpful, but only the SAT's official verifier confirms the document's actual status. There you can check the folio, issuer, recipient, amount, and whether it is active or canceled. Always use that source before treating an invoice as valid.

### What happens if the XML is active but has an incorrect CFDI use or tax regime?

A document can be active and still contain details that do not match your circumstances, such as an incorrect CFDI use or recipient tax regime, which may affect its usefulness for claiming a deduction or credit. In those cases, it is advisable to ask the issuer to reissue the invoice. Check your correct details in your tax status certificate.

### Is my XML stored when I review it?

This guide is educational and does not process your files. When you use any review tool, check its privacy and data handling policy before uploading an XML file. Official validation on the SAT portal only requires document details such as the fiscal folio.

### When should I request a reissued invoice instead of accepting the CFDI?

It is advisable to request a reissued invoice when there are errors in details you cannot correct yourself, such as the RFC, name, tax regime, CFDI use, or amounts. If the document no longer reflects the actual transaction, it should also be corrected. The SAT sets the rules and deadlines for cancellation and replacement; check them on its portal.

## Editorial review

- ### Author  
Equipo Hub Fiscal MX
- ### Reviewer  
C.P. Laura Méndez
- ### Last reviewed  
July 22, 2026

## Sign up for Clara  

[**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)
