Spanish Facturae XSIG Parser API - E-Invoice to JSON
facturae_xsig_parserParse Spanish Facturae 3.2.x e-invoices, including XAdES-signed .xsig files (enveloped, enveloping, AutoFirma), into structured JSON: invoice number and series, issue date, seller and buyer with NIF and address, line items, output taxes and IRPF withholdings, totals, payment instalments with IBAN, and arithmetic checks. Verifies XMLDSig reference digests and the signature value, and returns the signer certificate, signing time and validity. XXE-safe deterministic parsing, zero AI, nothing stored. Usable from AI agents via MCP. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.01/call via x402 at https://radarbg.com/x402/facturae-xsig-parser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of invoice lines to return per invoice (1-2000). | |
| content | No | Raw Facturae XML or .xsig text. Provide either content or fileBase64. | |
| fileName | No | Optional original file name. | |
| fileBase64 | No | Base64-encoded .xsig or Facturae XML file (alternative to content, max 15 MB). |