{"uid":"cap_9l8JFuAE-lye3E0DBe8Kx","slug":"402utils-factur-x-zugferd-invoice-extractor-86c3aff9","name":"402utils Factur-X / ZUGFeRD Invoice Extractor","description":"Read a Factur-X / ZUGFeRD invoice: send PDF bytes or a JSON { url }. Extracts the embedded EN 16931 CII into normalised data — seller, buyer, lines, VAT, totals, payment, dates, references — with the detected profile. The read side of e-invoicing (the FR mandate starts with reception). No embedded CII → { profile:\"none\", warning:\"no_embedded_cii\" }. ?attest=1 → Ed25519-signed.","url":"https://402utils.com/v1/facturx-extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL of a Factur-X PDF."},"attest":{"type":"string","description":"Set to 1 for an Ed25519-signed attestation of the result (audit trail)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":{"p10Cents":"0.4000","medianCents":"0.4000","p90Cents":"0.4000","minCents":"0.4000","maxCents":"0.4000","p95Cents":"0.4000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_grKlumZA8_dI3nK4oMipf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured invoice data (seller, buyer, line items, VAT, totals, payment, dates, references) from the embedded EN 16931 CII XML in a Factur-X or ZUGFeRD PDF invoice.","exampleAgentPrompt":"Can you extract all the invoice details — seller, buyer, line items, VAT, and payment info — from this Factur-X PDF at https://example.com/invoice-2024-001.pdf and give me the normalised JSON? Please also include a signed attestation.","exampleUseCases":null,"resultDescription":"A JSON object containing the detected Factur-X/ZUGFeRD profile name, structured seller and buyer information, invoice line items with quantities and amounts, VAT breakdown by rate, monetary totals, payment terms and IBAN, invoice dates, and document references. If no embedded CII XML is found, returns {profile:'none', warning:'no_embedded_cii'}. With ?attest=1, the result includes an Ed25519 signature for audit trail purposes.","failureModes":["PDF has no embedded CII XML → returns {profile:'none', warning:'no_embedded_cii'}","URL is not publicly accessible or returns non-200 → fetch error","Malformed or corrupted PDF bytes → parse error","CII XML does not conform to EN 16931 → partial extraction or error","Unsupported Factur-X profile → may return partial data","Payment failure (x402) → 402 response before processing begins"],"whenToPreferThis":"Use this endpoint when you need to programmatically read and normalise a Factur-X or ZUGFeRD PDF invoice into structured JSON — especially for FR mandate reception compliance, automated accounts-payable pipelines, or audit workflows requiring signed attestations. Prefer this over generic PDF extractors when the invoice is known to be EN 16931 CII-compliant and you need structured fields like VAT breakdown and payment references rather than raw text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:33:24.017Z","isFirstParty":false,"canonicalSlug":"402utils-factur-x-zugferd-invoice-extractor-86c3aff9"}