# Lector de CFDI: CFDI 4.0 XML to structured JSON > Free Spanish page (runs in the browser) plus a paid agent API. Parses a CFDI 4.0 (also 3.3) XML into JSON: UUID, issuer and receiver RFC and name, totals, taxes, line items, forma and método de pago, complements and local arithmetic checks. Parse only: it does not query the SAT, validate the seal or certificate, or tell you whether the UUID is cancelled. Catalogs checked 2026-11-28. Agents welcome: no signup or API key. `POST https://monimaker-tools.netlify.app/api/agent/cfdi-parse` costs $0.01 USDC on Base via x402 (see /agent/llms.txt). MCP tool: `cfdi_parse` at https://monimaker-tools.netlify.app/api/agent/mcp. ## Input - JSON: `{ "xml": "..." }`, or send the XML as the body with `Content-Type: application/xml`. - Maximum 512 KiB. DOCTYPE and ENTITY declarations are rejected. Malformed XML, a root other than cfdi:Comprobante, or a Version other than 4.0/3.3 returns 400 with `code` INVALID_XML, NOT_CFDI, UNSUPPORTED_VERSION or XML_TOO_LARGE, and is not charged. ## Output `uuid`, `comprobante` (version, serie, folio, fecha, tipoDeComprobante, moneda, subTotal, descuento, total, formaPago and metodoPago as `{clave, descripcion}`), `emisor`, `receptor` (rfc, nombre, régimen, uso CFDI), `conceptos[]` (claveProdServ, cantidad, unidad, descripcion, valorUnitario, importe, impuestos), `impuestos` (global traslados and retenciones), `resumenImpuestos`, `cfdiRelacionados`, `complementos` (names), `timbreFiscalDigital`, `verificaciones[]` (RFC and UUID format, sum of conceptos vs SubTotal, Total vs SubTotal - Descuento + traslados - retenciones), `avisos`, `source` (SAT Anexo 20, url, asOf), `asOf`. Deterministic: same XML, same JSON. - [Human page](/cfdi/) - [Agent docs](/agent/llms.txt)