Extract UBL and CII e-invoice XML into structured JSON.
Convert caller-supplied electronic invoice XML into fields that an accounts-payable workflow or ERP import can consume. Send one invoice document and receive normalized invoice details, line items, tax breakdowns, totals, and limited arithmetic checks.
$0.005 USDC per invoice · Base, Arbitrum, or Polygon
Supported e-invoice XML
- UBL Invoice 2.x
- CII CrossIndustryInvoice XML
- Factur-X and ZUGFeRD XML profiles carried as CII
Structured fields
When the supplied document contains them, the response includes the invoice number, issue and due dates, currency, supplier and customer identifiers and addresses, payment instructions, up to 100 line items, tax breakdowns, totals, and bounded arithmetic checks. Values are extracted deterministically from the XML.
Call the API
POST https://agent-evidence-extractor.defcronyke.workers.dev/v1/e-invoice-xml-to-json
Content-Type: application/json
{"xml":"<your UBL Invoice or CII invoice XML>"}Send this request with an x402-capable client. An unpaid HTTP request receives a 402 challenge stating the current price, network, and recipient before payment.
This endpoint extracts supplied XML; it does not fetch URLs, retain source documents, or make model calls. Limited arithmetic checks are not EN 16931 compliance validation and do not establish that an invoice is legally or commercially valid.
Agent Evidence Utility · Free example response · Agent instructions