{"uid":"cap_sk7ZxkedgYDAw9Xi51GGQ","slug":"402utils-factur-x-zugferd-invoice-validator-3a822cf4","name":"402utils Factur-X / ZUGFeRD Invoice Validator","description":"Validate a Factur-X / ZUGFeRD invoice: send PDF bytes, JSON { url } or { pdfBase64 }, or raw CII { xml }. Returns a rule-based report — PDF/A-3 structure, EN 16931 CII anchors, arithmetic rules (BR-CO) and French PA « Flux 2 » checks (BR-FR) — with the detected profile. Structural + heuristic, not a certified conformance service. ?attest=1 → Ed25519-signed audit trail.","url":"https://402utils.com/v1/facturx-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"Public http(s) URL of a Factur-X PDF or CII XML."},"xml":{"type":"string","description":"Raw CII (CrossIndustryInvoice) XML to validate without a PDF wrapper."},"attest":{"type":"string","description":"Set to 1 for an Ed25519-signed attestation of the result (audit trail)."},"pdfBase64":{"type":"string","description":"Base64 of a Factur-X PDF (alternative to raw bytes)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__Vj6zQZAe17WQgmpBr2cj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a Factur-X or ZUGFeRD invoice (PDF, CII XML, or URL) against PDF/A-3 structure, EN 16931 CII rules, arithmetic checks, and French Flux 2 requirements, returning a detailed rule-based compliance report.","exampleAgentPrompt":"Can you validate this Factur-X invoice PDF for me — here's the URL: https://example.com/invoice.pdf — and also give me a signed attestation I can keep for audit purposes?","exampleUseCases":[{"title":"Batch validate French supplier invoices","prompt":"I've got a folder of ZUGFeRD invoices from our French suppliers. Can you check each one against Flux 2 rules and give me a summary of which ones have arithmetic errors or structural problems?"},{"title":"Pre-submission compliance check for PA","prompt":"Before I submit these invoices to the French public administration portal, I need to make sure they're all properly formatted and compliant with EN 16931. Can you validate the batch and flag any that won't pass?"},{"title":"Automated invoice intake validation","prompt":"We're setting up an automated invoice processing pipeline and need to validate incoming Factur-X PDFs from customers. Can you check them for PDF/A-3 structure, CII compliance, and give us signed audit trails we can store in our compliance system?"}],"resultDescription":"A rule-based compliance report covering PDF/A-3 structural checks, EN 16931 CII anchor conformance, arithmetic (BR-CO) rules, and French public administration Flux 2 (BR-FR) checks, along with the detected Factur-X/ZUGFeRD profile. If attest=1 is passed, includes an Ed25519-signed audit trail of the validation result.","failureModes":["Invalid or inaccessible URL returns an error fetching the document","Malformed or non-CII XML causes a parse error","Non-PDF/A-3 file causes structural validation failures","Missing required fields in JSON body (none of url, xml, or pdfBase64 provided)","Base64 decoding errors if pdfBase64 is malformed","Service is heuristic/structural only — not a certified conformance authority"],"whenToPreferThis":"Use this endpoint when you need a quick, paid, automated check of a Factur-X or ZUGFeRD e-invoice against EN 16931 CII rules, PDF/A-3 structure, arithmetic constraints, and French Flux 2 requirements — especially when you need an Ed25519-signed audit trail. Prefer this over manual validation tools when integrating compliance checks into automated invoicing workflows. Not suitable as a substitute for certified conformance testing bodies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:12.142Z","isFirstParty":false}