CoolHanX
Knowledge

XRechnung vs. ZUGFeRD

Two formats, one standard: what sets them apart, when each format is the right choice — and why, in the end, it is always the XML that counts.

Common basis: EN 16931

Both formats implement the European semantic data model EN 16931: the same business terms (BT fields), the same groups (BG), the same core rules. Germany adds the BR-DE rules (e.g. mandatory payment details and contact data). If you generate clean EN 16931, you serve both formats.

Common basis: EN 16931
XRechnung and ZUGFeRD: two packagings for the same standard<Invoice></Invoice>XRechnungpure XML — public-authority standardPDF/A-3<XML/>embeddedZUGFeRDPDF for the eye + XML for machinesEN16931same standard,same mandatory fields
Same core: the EN 16931 XML — once on its own, once embedded in a PDF/A-3.
Direct comparison
XRechnungZUGFeRD (from 2.x)
File typeplain XML (UBL or CII)PDF/A-3 with embedded XML (CII)
Human-readableonly with a vieweryes — the PDF is the view
Public authorities (B2G)standard & usually mandatoryaccepted depending on the portal
B2Bpermitted & widespreadpermitted — popular for its readability
Legal corethe XMLthe embedded XML (not the PDF appearance!)
Maintained byKoSIT (the XRechnung standard)FeRD/AWV

UBL or CII — does that need to concern me?

EN 16931 permits two XML syntaxes: UBL and UN/CEFACT CII. XRechnung accepts both, ZUGFeRD uses CII. For you as a user this is an implementation detail — CoolHanX generates valid syntax and validates it against the rules; you only choose whether the recipient additionally gets a PDF view.

ZUGFeRD profiles — which one counts?
ProfileContentEN 16931-compliant?
MINIMUM / BASIC WLheader data only, no line itemsno — not sufficient
BASICstructured core data with line itemsyes (a subset)
EN 16931 (COMFORT)the full EN 16931 data modelyes — the standard case
EXTENDEDEN 16931 + additional data (e.g. logistics)yes, with extensions
XRECHNUNG (reference profile)CII following XRechnung rules inside the PDFyes — B2G-capable

The most common misconception

'I'll attach a nice PDF, the XML is just an accessory' — that's the wrong way round: legally, with ZUGFeRD it is the embedded XML that counts. If the PDF view and the XML diverge, the XML prevails — and the recipient posts what the XML says. That is why CoolHanX always generates the view FROM the validated XML; there is only one truth.

Decision guide

  • Public-authority customer? → XRechnung with Leitweg-ID (portal upload ZRE/OZG-RE).
  • B2B customer with their own e-invoicing software? → XRechnung is enough.
  • B2B customer who wants “something to look at”? → ZUGFeRD: a PDF for the eye, XML for their software.
  • Unsure? → Send XRechnung, offer ZUGFeRD. Both come from the same validated data set.

Frequently asked questions

Is a PDF with invoice data an e-invoice?

No — without structured XML it is not an e-invoice within the meaning of §14 UStG.

Can I receive ZUGFeRD invoices?

Yes — CoolHanX validates the embedded XML just like any XRechnung.

Which XRechnung version is current?

CoolHanX generates XRechnung 3.0 (the current KoSIT standard) and keeps the rule sets continuously up to date.

What about Factur-X?

The French sister format of ZUGFeRD — technically largely identical (CII inside a PDF/A-3).

My customer insists on “XML only, no PDF” — is that possible?

Yes, then they receive the pure XRechnung. And vice versa — both are produced from the same validated data set.

Can I tell from the format whether an invoice is valid?

No — the format is only the packaging. Validity is decided by validation against EN 16931/BR-DE; that is exactly what runs in CoolHanX and in the free validator.

Related topics

General product information — not legal or tax advice. Binding guidance is provided by your tax advisor or legal counsel.

Ready? Up and running in two minutes — no credit card.

Create your free company account