Skip to content
Fourohtwo

CFDI 4.0 XML to structured JSON

monimaker-tools.netlify.app/api/agent/cfdi-parse

CFDI 4.0 XML to structured JSON. Send the invoice XML (max 512 KiB) and get UUID, issuer/receiver RFC and name, totals, taxes, line items, payment form/method, complements and local arithmetic checks. Parse only: no SAT live lookup or seal validation. / Convierte el XML de un CFDI 4.0 de México a JSON: UUID, emisor, receptor, totales, impuestos, conceptos y forma/método de pago. Solo lectura, sin

BaseAnswering
POSThttps://monimaker-tools.netlify.app/api/agent/cfdi-parse

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://monimaker-tools.netlify.app/api/agent/cfdi-parse", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><cfdi:Comprobante xmlns:cfdi=\"http://www.sat.gob.mx/cfd/4\" Version=\"4.0\" Fecha=\"2026-03-15T10:30:00\" SubTotal=\"100.00\" Moneda=\"MXN\" Total=\"100.00\" TipoDeComprobante=\"I\" MetodoPago=\"PUE\" FormaPago=\"03\"><cfdi:Emisor Rfc=\"EKU9003173C9\" Nombre=\"EMISOR\" RegimenFiscal=\"601\"/><cfdi:Receptor Rfc=\"XAXX010101000\" Nombre=\"PUBLICO EN),
});
console.log(await res.json());

Example input

{"xml":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><cfdi:Comprobante xmlns:cfdi=\"http://www.sat.gob.mx/cfd/4\" Version=\"4.0\" Fecha=\"2026-03-15T10:30:00\" SubTotal=\"100.00\" Moneda=\"MXN\" Total=\"100.00\" TipoDeComprobante=\"I\" MetodoPago=\"PUE\" FormaPago=\"03\"><cfdi:Emisor Rfc=\"EKU9003173C9\" Nombre=\"EMISOR\" RegimenFiscal=\"601\"/><cfdi:Receptor Rfc=\"XAXX010101000\" Nombre=\"PUBLICO EN