---
title: "CFDI 4.0 Reader: XML, Taxes, and Arithmetic | Clara"
description: "Read and analyze an XML file for CFDI 4.0: issuer, recipient, line items, taxes, and totals."
canonical: "https://www.clara.com/en-mx/tax-intelligence/tools/cfdi-reader"
lang: "en-MX"
alternate_html: "https://www.clara.com/en-mx/tax-intelligence/tools/cfdi-reader"
---

# CFDI 4.0 Reader (XML)

Reviewed by Aranza BrachoOctober 27, 2026

## Read and analyze an XML file for CFDI 4.0: issuer, recipient, line items, taxes, and totals.

[Start now](https://contabilidad.clara.com/signup?utm%5Fsource=clara.com&utm%5Fmedium=referral&utm%5Fcampaign=es%5Fmx%5Finteligencia%5Ffiscal)

Paste the XML for the CFDI

or upload the .xml file

## How this is calculated

Methodology: the XML is read, invoice and line-item data are displayed, and the amounts in invoice-level Traslado and Retencion nodes are summed without breaking them down by tax type or comparing those totals with the reported invoice total. The sums are arithmetic; the transaction is not interpreted and SAT services are not queried.

## CFDI 4.0 Reader (XML)

Paste or upload an XML file for CFDI 4.0 to extract all its fields: issuer, recipient, line items, taxes charged and withheld, totals, and digital stamp data.

## Frequently asked questions

We answer the most common questions about this calculator and calculating your taxes.

### Do you validate the digital seal?

No. Only the XML structure is parsed. To validate the seal and current validity, consult the SAT validation service.

### Is it secure?

The XML is processed on our server but is not stored. Even so, do not upload highly sensitive information.

## Sources and notice

- [Código Fiscal de la Federación, articles 29 and 29-A (opens in a new tab)](https://www.diputados.gob.mx/LeyesBiblio/pdf/CFF.pdf)Obligation to issue tax invoices and invoice requirements, including recipient details.
- [Portal del SAT (opens in a new tab)](https://www.sat.gob.mx/)Anexo 20, completion guide, and CFDI 4.0 catalogs.
- [Verificación de comprobantes fiscales digitales por Internet (opens in a new tab)](https://verificacfdi.facturaelectronica.sat.gob.mx/)SAT service for confirming the status of an invoice.
- [Ley del Impuesto sobre la Renta, article 27 (opens in a new tab)](https://www.diputados.gob.mx/LeyesBiblio/pdf/LISR.pdf)Requirements for deductions, which reading the XML does not assess.
- [Ley del Impuesto al Valor Agregado, article 5 (opens in a new tab)](https://www.diputados.gob.mx/LeyesBiblio/pdf/LIVA.pdf)Requirements for tax crediting, which reading the XML does not assess.

Validity: CFDI 4.0 under Anexo 20 de la RMF 2026 (DOF 28/12/2025). The tool does not query the SAT: invoice status is confirmed through its verification service.

This result shows data from the file you provided and arithmetic totals for taxes charged and withheld at the invoice level. It does not constitute tax advice or replace review by a public accountant. The tool does not confirm the invoice’s status with the SAT, validate the digital seal or certificate, determine whether the expense is deductible or IVA is creditable, or process complements other than those shown on the screen.

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

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

LatAm’s fastest-growing company, two consecutive years · Financial Times and Statista

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

Related calculators:[IVA 16% / 8% Calculator](https://www.clara.com/en-mx/tax-intelligence/tools/iva)
