Home Text Data Developer Files Media Utilities

XRechnung & ZUGFeRD ViewerPrivacy: All processing runs locally

Open, inspect and validate XRechnung XML and ZUGFeRD/Factur-X PDF invoices locally in your browser. Extract embedded XML, review invoice information and export validation reports.

🔒 Your invoice never leaves your browser. PDF/A validation, PDF inspection, XML extraction and invoice validation run locally on your device.

Drop a ZUGFeRD/Factur-X PDF or an XRechnung XML here, or click to select

.pdf or .xml — nothing is uploaded

What this tool does

This viewer opens electronic invoices entirely in your browser. It reads standalone XRechnung XML files and ZUGFeRD / Factur-X PDF invoices, extracts the embedded invoice XML, maps the data into one readable model, and runs technical validation. No file is uploaded and no network request is made while processing an invoice.

What XRechnung is

XRechnung is the German standard (CIUS) for electronic invoices to public authorities, based on the European norm EN 16931. It defines mandatory content such as the Buyer reference (Leitweg-ID) and seller contact details.

What ZUGFeRD and Factur-X are

ZUGFeRD (Germany) and Factur-X (France) are hybrid invoice formats: a human-readable PDF/A document with a machine-readable invoice XML embedded inside it. The same technical specification underlies both.

CII and UBL

EN 16931 invoices exist in two XML syntaxes: UN/CEFACT CII (Cross Industry Invoice) and OASIS UBL (Invoice and CreditNote). This tool detects and maps both.

Embedded invoice XML

In a ZUGFeRD/Factur-X PDF the invoice XML (e.g. factur-x.xml) is attached as an embedded file and referenced from the PDF Catalog. The tool lists every embedded file, selects the strongest invoice candidate by content, and lets you download it.

EN 16931 and XRechnung validation

The tool validates EN 16931 and XRechnung business rules against the official KoSIT Schematron artifacts, bundled locally and executed by Saxon-HE compiled to WebAssembly. The XML Schema, EN 16931 and XRechnung layers all come from the same pinned KoSIT validator configuration, so the browser reaches the same verdict as the official validator. Rule IDs, business terms, severities and XPath locations are preserved. An offline JS rule subset is available as a quick diagnostic and does not determine final compliance.

Full PDF/A validation

ZUGFeRD/Factur-X PDFs must be valid PDF/A. Full PDF/A validation is performed locally by veraPDF — the open-source industry-reference PDF/A validator — ported to WebAssembly and running in a Web Worker in your browser. No upload, no server, no commercial SDK. The exact declared PDF/A-3 level (3A, 3B or 3U) is validated and every failed rule is shown with its clause, test number and context. When the engine is not installed or the browser lacks the required WebAssembly features, the tool clearly reports that PDF/A was not validated and never displays “PDF/A valid”.

ZUGFeRD container validation

Separately from PDF/A, the container layer checks the embedded invoice XML, the EmbeddedFiles name tree, the Catalog /AF array, AFRelationship, the attachment MIME subtype and XMP filename/profile consistency.

Exact arithmetic checks

All totals are recomputed with arbitrary-precision decimals (never floating point) and compared against the reported values, so 7.92 + 1.50 is checked to equal exactly 9.42.

PDF/XML consistency aid

A heuristic check compares key XML values with text extracted from the PDF. It is an aid only, not a semantic or legal identity proof.

Privacy and local processing

All processing stays in browser memory. No upload, no server validation, no remote schemas, no analytics. Object URLs are revoked and worker/WASM memory is released on reset.

Technical validation versus legal assessment

Technical validation checks machine-readable structure and standard rules. It does not replace legal, tax or accounting advice.

FAQ

Is my invoice uploaded?

No. Everything runs locally in your browser; no invoice data is transmitted.

What is XRechnung?

The German EN 16931 CIUS for invoices to public authorities.

What is ZUGFeRD?

A German hybrid invoice format combining a PDF/A document with embedded invoice XML.

What is Factur-X?

The French equivalent of ZUGFeRD, sharing the same technical specification.

Is every ZUGFeRD invoice an XRechnung?

No. ZUGFeRD can carry different profiles; only the XRECHNUNG profile follows the XRechnung CIUS.

What is EN 16931?

The European semantic standard for the core elements of an electronic invoice.

What are CII and UBL?

The two supported XML syntaxes for EN 16931 invoices.

How is XML extracted from a PDF?

The tool reads the PDF’s embedded-file name tree and Associated Files and extracts the invoice XML stream locally.

Does the tool fully validate PDF/A?

Yes, when the veraPDF WebAssembly engine is installed: the full open-source veraPDF validator runs locally in your browser and reports every failed rule. Without the engine it reports that PDF/A was not validated and never claims “PDF/A valid”.

Which PDF/A levels are supported?

PDF/A-3A, PDF/A-3B and PDF/A-3U (the exact declared level is validated).

Does any PDF vendor receive my document?

No. The veraPDF engine is open source (MPL-2.0), self-hosted and runs entirely in your browser. Invoice files are never uploaded.

Does the tool validate XRechnung?

Yes, via the locally bundled KoSIT EN 16931 / XRechnung Schematron rules, executed in your browser by Saxon-HE compiled to WebAssembly. If the engine is unavailable the tool says so and shows only the offline JS rule subset as a quick diagnostic.

What does technically valid mean?

That the invoice passed the machine-readable structure and standard-rule checks with no blocking errors.

Can I download the embedded XML?

Yes, from the Attachments tab and the export buttons.

Can I export invoice data as JSON?

Yes — normalized JSON, line-item CSV and validation reports are available.

Does the validation guarantee legal validity?

No. Technical validation does not replace legal, tax or accounting advice.

Can the tool generate a ZUGFeRD PDF?

Not in this release. This version focuses on local inspection and complete technical validation. PDF generation will be implemented separately.

Technical validation checks machine-readable structure and standard rules. It does not replace legal, tax or accounting advice.