{"uid":"cap__UrbNsfBQJ6Ov0r-JnNju","slug":"eu-e-invoice-validator-en-16931-xrechnung-zugferd-1a2814d3","name":"EU E-Invoice Validator (EN 16931 / XRechnung / ZUGFeRD)","description":"Validate an EU e-invoice (UBL, CII or ZUGFeRD/Factur-X PDF) against official EN 16931 and XRechnung rules; errors with rule IDs and plain-English fixes","url":"https://api.wsystem.dev/einvoice/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"xml":{"type":"string","description":"Invoice XML (UBL or CII)"},"base64":{"type":"string","description":"XML or ZUGFeRD/Factur-X PDF, base64"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fJiy81W33YbK1RiL9Pcoi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an EU e-invoice (UBL, CII, or ZUGFeRD/Factur-X PDF) against official EN 16931 and XRechnung rules, returning structured errors with rule IDs and plain-English fix descriptions.","exampleAgentPrompt":"Can you validate this UBL invoice XML against EN 16931 and XRechnung rules and tell me what errors need to be fixed, including the rule IDs?","exampleUseCases":[{"title":"Pre-submission XRechnung compliance check","prompt":"Before I submit this invoice to the German public sector portal, can you check this UBL XML against XRechnung and EN 16931 rules and list any errors with their rule IDs and how to fix them?"},{"title":"ZUGFeRD PDF invoice audit","prompt":"I have a ZUGFeRD PDF invoice from a supplier — can you validate it against EN 16931 rules and tell me if there are any compliance issues I need to flag?"},{"title":"Debugging a rejected CII e-invoice","prompt":"My CII format e-invoice was rejected by the recipient's system. Can you validate this XML against EU e-invoicing rules and explain in plain English what's wrong and which rule IDs are violated?"}],"resultDescription":"A structured list of validation errors, each with a rule ID (e.g. BR-01, UBL-SR-01) referencing the EN 16931 or XRechnung specification, a severity level, and a plain-English description of what is wrong and how to fix it. Also returns an overall compliance pass/fail status for the invoice.","failureModes":["Malformed or non-XML input returns a parse error","Unsupported invoice format (not UBL, CII, or ZUGFeRD/Factur-X) returns format rejection","Base64 decoding failure if the base64 field contains invalid encoding","Invoice passes structural validation but may have semantic business rule failures reported as errors","Network or service unavailability returns 5xx error","Missing both xml and base64 fields returns a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need authoritative validation of an EU e-invoice against the official EN 16931 core standard and/or German XRechnung profile, with actionable rule-ID-level error reporting. It handles UBL, CII XML, and embedded ZUGFeRD/Factur-X PDF formats in one call, making it ideal for pre-submission compliance checks, supplier invoice audits, and debugging rejected invoices in B2G or B2B EU e-invoicing workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:23.270Z","isFirstParty":false,"canonicalSlug":"eu-e-invoice-validator-en-16931-xrechnung-zugferd-1a2814d3"}