Visualizador CFDI XML
Inspecione, valide e imprima faturas fiscais eletrônicas mexicanas CFDI 4.0 e 3.3 XML do SAT com discriminação de impostos, itens e selo digital.
Visualice, valide e imprima comprobantes fiscales digitales por Internet del SAT con desglose de impuestos y conceptos.
Sobre Visualizador de Faturas CFDI 4.0 e 3.3 XML (SAT México)
The Comprobante Fiscal Digital por Internet (CFDI) is the mandatory electronic invoicing mechanism established by Mexico tax authority, the Servicio de Administración Tributaria (SAT). All commercial sales, professional fees, payroll payments, and credit transactions in Mexico must generate a digitally stamped XML invoice.
Understanding the internal structure of a CFDI file is necessary for accountants, business owners, and administrative staff. Raw XML documents contain technical namespace attributes that make reading invoice totals, tax withholdings, and product descriptions difficult without specialized visualization software.
This CFDI 4.0 and 3.3 XML Viewer decodes Mexican tax invoices directly inside your web browser. It extracts seller and buyer tax IDs (RFC), itemizes line items and unit measures, calculates transferred and withheld taxes (IVA, ISR, IEPS), and formats the digital tax stamp (Timbre Fiscal Digital) into a clean, printable document view.
For comparing European electronic invoicing frameworks, inspect the xrechnung zugferd viewer. For general formatting tasks on raw XML files, utilize the xml formatter.
Guia prático de utilização passo a passo
- Drag and drop your CFDI XML file onto the upload panel or paste the XML text directly into the input area.
- Click Cargar CFDI de Ejemplo to inspect a fully structured sample Mexican invoice.
- Review the header summary containing Folio, Serie, Fecha de expedición, Tipo de comprobante (Ingreso, Egreso, Nómina), and Método de pago (PUE or PPD).
- Inspect the Emisor and Receptor blocks to verify official RFC numbers, business names (Razón Social), and fiscal regimes (Régimen Fiscal).
- Examine the Conceptos table to review ClaveProdServ codes, descriptions, quantities, unit prices, and subtotal amounts.
- Check the Impuestos breakdown to verify transferred VAT (IVA 16% or 8%) and applicable tax retentions (ISR or IVA retenido).
- Verify the Timbre Fiscal Digital UUID, PAC certification details, and click Imprimir Factura to generate a physical receipt or PDF.
Especificações de engenharia e detalhes de execução
Full dual support for SAT electronic invoice specifications CFDI versión 3.3 and CFDI versión 4.0.
Extracts Emisor metadata (Rfc, Nombre, RegimenFiscal) and Receptor metadata (Rfc, Nombre, DomicilioFiscalReceptor, RegimenFiscalReceptor, UsoCFDI).
Parses the Timbre Fiscal Digital complement namespace (tfd:TimbreFiscalDigital) including UUID, FechaTimbrado, RfcProvCertif, and digital certificates.
Calculates and displays both Traslados (Impuesto 002 IVA, 003 IEPS) and Retenciones (Impuesto 001 ISR, 002 IVA) at header and line-item granularity.
Decodes payment forms (FormaPago) such as 01 Efectivo, 03 Transferencia electrónica, 04 Tarjeta de crédito, and 99 Por definir.
Generates standard SAT validation QR code URLs formatted according to official tax administration parameters.
Privacidade de dados e isolamento em memória
The XML parsing process operates 100% locally in client-side JavaScript memory via DOMParser.
No fiscal identifiers (RFC), monetary values, client names, or fiscal stamps are stored or transmitted to external servers.
Safe for handling proprietary vendor invoices, confidential executive payrolls, and sensitive client billing data.
Casos de uso comuns em produção
- Accountants and bookkeepers in Mexico quickly inspecting received supplier XML files before filing monthly tax returns.
- Freelancers and business owners needing to view, verify, and print human-readable copies of SAT CFDI invoices without paid software.
- ERP developers and systems integrators verifying that custom CFDI generator modules output valid node structures and tax math.
Casos extremos e limites operacionais
- CFDI with Retenciones: The viewer separates transferred taxes from withheld taxes, computing the final net balance payable according to SAT rules.
- CFDI 4.0 required receiver address: Validates that the mandatory 5-digit postal code (DomicilioFiscalReceptor) matches receiver registration requirements.
Perguntas Frequentes
What is the difference between CFDI 3.3 and CFDI 4.0?
CFDI 4.0 is the current mandatory standard in Mexico. It requires the recipient registered tax regime (Régimen Fiscal), postal code, and exact legal name as registered with the SAT, whereas CFDI 3.3 had more relaxed recipient validation.
Does this tool check if an invoice is canceled in the SAT portal?
This tool parses and validates the internal structure, math, and digital stamp of the XML file. Real-time cancellation verification requires querying the official SAT web portal.
Can I print or save a PDF version of the XML invoice?
Yes. The tool formats the XML data into a clean, professional invoice layout that you can print directly or save as a PDF using your browser print menu.