Both formats comply with the European standard EN 16931 and count as an e-invoice under § 14 UStG (the German VAT Act). The difference is in the packaging, and in who asks for which format.
| XRechnung | ZUGFeRD 2.x / Factur-X | |
|---|---|---|
| File | one XML file (syntax UBL or UN/CEFACT CII) | one PDF/A-3 file with embedded XML (CII) |
| Human-readable | only with a viewer | yes, the PDF is the visual copy |
| Mandatory format | federal government and many states/municipalities (public contracts, with a Leitweg-ID, German) | not mandatory, widely used in B2B |
| Additional German rules | yes ("BR-DE-…": e.g. Leitweg-ID/buyer reference, seller contact details, payment details) | the same in the XRECHNUNG profile; only the EU rules in EN 16931 |
| Versions (2026) | XRechnung 3.0.2 | ZUGFeRD 2.3/2.4 (profiles MINIMUM, BASIC, EN 16931, EXTENDED, XRECHNUNG) |
Which format do you need?
- Invoicing public authorities, municipalities or the federal government: XRechnung (often explicitly required; submitted through ZRE/OZG-RE or the state's own portal). Without a valid Leitweg-ID it will be rejected.
- Invoicing businesses: ZUGFeRD in the EN 16931 profile is the pragmatic choice. The customer sees a normal PDF, their software reads the XML. Many large companies accept both.
- Receiving invoices: you have to be able to read both. The XML is the legally authoritative original; with ZUGFeRD, the PDF must match the XML.
The ZUGFeRD profiles
The profiles BASIC, EN 16931 (formerly "COMFORT"), EXTENDED and XRECHNUNG meet the requirements of the UStG. MINIMUM and BASIC-WL are not complete e-invoices within the meaning of the law (BMF circular of 15 October 2024). Our validator checks ZUGFeRD files in the EN 16931 and XRECHNUNG profiles; it cannot currently check files in other profiles (e.g. BASIC or EXTENDED).
Common mistakes
- A PDF without embedded XML ("just a PDF"): the most common reason for "invalid".
- XML embedded, but not as PDF/A-3 with correct XMP metadata (our validator does not check this; the free veraPDF is a good tool for it).
- The totals in the XML don't match the line items (rounding!).
- With XRechnung: missing buyer reference (BT-10), missing seller phone number/e-mail (BR-DE-6/7), wrong tax category code.
Check now – free, no sign-up
Drop your XRechnung or ZUGFeRD file on xrechnung.dev. Within seconds you see whether it is valid and which rule it breaks, checked with the KoSIT validation tool. Developers: the same check, plus generating validated invoices, as an API.
xrechnung.dev checks XRechnung and ZUGFeRD with the official KoSIT validation tool (validator 1.6.3, configuration XRechnung 3.0.2 of 31 August 2026, Schematron 2.6.0, EN 16931 rules 1.3.16); xrechnung.dev is an independent service. 30 documents per month free, no sign-up. Files are not stored. Servers in Frankfurt am Main, Germany.