Automation MCP Server Blog Pricing
REST API · Validation

E-Invoice Validation API

Validate Factur-X, ZUGFeRD, XRechnung, UBL and CII invoices against EN 16931 standards and Schematron rules. Get structured error reports in milliseconds.

Validate

Validate invoices against official EN 16931 standards and Schematron rules.

JSON

Validate Factur-X

POST /v1/validate/facturx

Validate Factur-X invoices against EN 16931 and Schematron rules.

JSON

Validate ZUGFeRD

POST /v1/validate/zugferd

Verify ZUGFeRD PDF/A-3 hybrid invoices end-to-end.

JSON

Validate XRechnung

POST /v1/validate/xrechnung

Run KoSIT validator rules against XRechnung documents.

JSON

Validate UBL

POST /v1/validate/ubl

Validate UBL invoices against EN 16931 syntax binding.

JSON

Validate CII

POST /v1/validate/cii

Validate Cross Industry Invoice XML against EN 16931.

JSON

Validate Order-X

POST /v1/validate/order-x

Validate Order-X hybrid PDFs and Cross-Industry Order XML purchase orders.

Validation PDF report

Same validation, returned as a printable PDF compliance report instead of JSON. The pass/fail verdict comes back in the X-Invoice-Valid response header. One credit per call.

PDF

Factur-X PDF report

POST /v1/validate/facturx/report

Validate Factur-X and get a printable PDF compliance report.

PDF

ZUGFeRD PDF report

POST /v1/validate/zugferd/report

Validate ZUGFeRD hybrid PDFs and download a PDF report.

PDF

XRechnung PDF report

POST /v1/validate/xrechnung/report

Run KoSIT validation and get a printable PDF report.

PDF

UBL PDF report

POST /v1/validate/ubl/report

Validate UBL and get a printable PDF compliance report.

PDF

CII PDF report

POST /v1/validate/cii/report

Validate CII XML and get a printable PDF compliance report.

PDF

Order-X PDF report

POST /v1/validate/order-x/report

Validate an Order-X purchase order and get a printable PDF report.

Why validate e-invoices via API?

Compliance assurance

Ensure every outgoing invoice meets EN 16931, KoSIT, and format-specific Schematron rules before submission to buyers or government portals.

Structured error reports

Receive machine-readable validation results with rule IDs, severity levels, and field-level error locations, easy to display to end users or log for audit.

Plug into any pipeline

A single REST endpoint accepts XML or PDF input. Integrate validation into your ERP, accounting software, or document processing workflow in minutes.

All major EU formats

From French Factur-X and German ZUGFeRD/XRechnung to pan-European UBL and UN/CEFACT CII, one API covers every standard you need.

Frequently Asked Questions

Which e-invoice formats can I validate with the API?

The API supports Factur-X, ZUGFeRD, XRechnung, UBL, and UN/CEFACT CII. All formats are validated against EN 16931 and their respective Schematron rule sets.

What does the validation response contain?

The response includes a pass/fail result plus the violated rules as structured findings, split into errors and warnings. Each finding carries the rule ID, the validation layer it came from, a plain-language message, and field paths that pinpoint the issue in your document.

Can I get the validation result as a PDF report?

Yes. Every validator has a /report variant (POST /v1/validate/{format}/report) that runs the same checks and returns a printable PDF compliance report instead of JSON. The pass/fail verdict is returned in the X-Invoice-Valid response header, and it costs one credit per call, the same as JSON validation.

Does the API validate ZUGFeRD PDFs or only the embedded XML?

The Factur-X and ZUGFeRD validators accept the full hybrid PDF: the embedded XML is extracted automatically and validated against its declared profile. Container-level PDF/A-3 conformance (fonts, color profiles, metadata) is not audited; for raw XML, use the CII, UBL or XRechnung validators.

Is the validation based on official EN 16931 rules?

Yes. Validation uses the official EN 16931 Schematron rules published by CEN, supplemented by format-specific rules such as KoSIT for XRechnung and Factur-X profile rules from the FNFE-MPE.

Can I use the validation API for free?

Yes. A 30-day free trial is available with no credit card required, with enough credits to validate documents while you build and test your integration.

Start free today

Ready to automate your invoices?

Validate, convert and embed compliant e-invoices through one API. Start your 30-day free trial. No credit card required.

GDPR Compliant No credit card required Setup in minutes
Peppol UBL
Factur-X
EN 16931
142 / 142 passed
Compliant
PDF/A-3 embedded