Skip to main content
E-Invoice Validator

XRechnung or ZUGFeRD?

XRechnung is a pure XML file; ZUGFeRD is a PDF with a CII XML invoice embedded in it. Between German businesses both are valid e-invoices (ZUGFeRD from version 2.0.1, except the Minimum and Basic WL profiles), and for invoices to federal authorities XRechnung is the default standard. The difference that trips people up is in the rules: XRechnung adds 61 German rules to EN 16931, and a ZUGFeRD file in the EN 16931 profile is not held to them.

XRechnung and ZUGFeRD side by side

Differences between XRechnung and ZUGFeRD
QuestionXRechnungZUGFeRD
FileXML only (.xml)PDF/A-3 with the XML embedded as an attachment (.pdf)
XML syntaxUBL or CIICII only
Readable without softwareNo, it needs a viewerYes, the PDF page
If page and data differThere is only the XMLThe XML counts, not the page
Maintained byKoSIT (Koordinierungsstelle für IT-Standards)FeRD (Forum elektronische Rechnung Deutschland)
E-invoice between German businessesYesYes, from version 2.0.1, except Minimum and Basic WL
Invoices to federal authoritiesThe default standard (ERechV § 4)Allowed as another standard that meets EN 16931 (ERechV § 4)
Buyer reference, BT-10Required (BR-DE-15); carries the Leitweg-ID on invoices to authoritiesOptional in the EN 16931 profile
Rules this validator runsEN 16931 (224 business rules) plus the 61 KoSIT XRechnung rulesEN 16931 only; the KoSIT rules as well with the XRECHNUNG profile

Sources: Federal Ministry of Finance, e-invoice FAQ (questions 6, 7, 12a, 16) · ERechV § 4 · ERechV § 5

The same invoice, checked as both

We took the XML out of our sample Factur-X invoice (profile EN 16931) and ran it through this validator. Result: valid, 0 errors, checked against the EN 16931 rules for CII.

Then we changed one value: the specification identifier (BT-24) now declares XRechnung 3.0. The same invoice data fails two rules:

So a correct ZUGFeRD invoice is not automatically a correct XRechnung. To turn one into the other, add what the German rules require (on invoices to authorities that includes the Leitweg-ID in BT-10) and declare XRechnung in BT-24.

Checked on this site on October 26, 2026 with EN 16931 1.3.17 and the KoSIT XRechnung Schematron 2.6.0. Download the sample Factur-X invoice

Which one should you send?

  • Hosted in the EU
  • GDPR compliant
  • No storage
  • No use of AI
  • No cookies
  • Official EN 16931 regulations
  • Always current official regulations

Your invoice is checked in memory and not stored: no database, no file storage, no cache.

Official rule sets up to date: EN 16931 1.3.17 · Peppol BIS 3.0.20 · XRechnung 3.0.2 (KoSIT 2.6.0). Last checked against the sources on 12.10.2026.

Check or read either format

Frequently asked questions

Is a ZUGFeRD invoice an XRechnung?

Not by default. Only the ZUGFeRD XRECHNUNG profile declares XRechnung and has to meet the 61 KoSIT rules. A ZUGFeRD file in the EN 16931 profile only has to meet EN 16931. In our test, the same invoice data failed BR-DE-15 and BR-DE-2 as soon as it declared XRechnung.

Can I send a ZUGFeRD invoice to a public authority?

For federal authorities, the E-Rechnungsverordnung makes XRechnung the default and allows another standard if it meets EN 16931 (§ 4). The invoice must contain a Leitweg-ID, bank details, payment terms and the seller's email address (§ 5). States and municipalities set their own rules, so check what the receiving portal accepts.

Do I need a Leitweg-ID for an XRechnung to a business?

No. The Federal Ministry of Finance says a Leitweg-ID is only needed for invoices to authorities. XRechnung still requires the buyer reference BT-10 (BR-DE-15). Between businesses, a placeholder such as "-" is enough for VAT purposes, or use the reference your customer gives you.

In a ZUGFeRD invoice, does the PDF or the XML count?

The XML. Under German VAT rules the structured part of a hybrid invoice is leading: if the page and the XML differ, the XML applies. This validator checks the XML; it does not compare it with the page.

Is XRechnung UBL or CII?

Either. An XRechnung can be written in UBL or in CII. ZUGFeRD always uses CII.

Can I check both formats here?

Yes. Upload an XRechnung XML, a ZUGFeRD PDF or its XML. The validator reads the specification identifier (BT-24) and runs the matching rule sets. It is free, needs no sign-up, and the file is not stored.