Skip to content
dignum eBilling

Formats and content

XRechnung or ZUGFeRD: Which Format for What?

XRechnung is a pure XML file, ZUGFeRD a PDF with embedded XML. Both can be valid e-invoices. Which one fits depends mostly on your recipient.

Last reviewed: 4 min read

Last reviewed
Legal status
Section 14 (1) UStG, BMF letters of 15 Oct 2024 and 15 Oct 2025 (UStAE 14.1), federal e-invoicing ordinance, version status according to KoSIT and FeRD. Legal position as of 27 Nov 2026.

This article is general information and not legal or tax advice. For your individual case, please consult your tax adviser.

On this page

The short answer

Both formats can meet the requirements for an e-invoice under section 14 UStG, ZUGFeRD from version 2.0.1 and without the profiles MINIMUM and BASIC WL. If you bill public authorities, XRechnung is the standard. Between businesses, ZUGFeRD is popular because people can read the PDF as well. What matters is what your recipient can process. If in doubt, ask.

How the two formats are built

XRechnung is a single XML file. It is a German standard based on the European norm EN 16931, maintained by the Coordination Office for IT Standards (KoSIT). Both UBL and CII are permitted as syntax. The file becomes readable only with a viewer.

ZUGFeRD is a hybrid format: a PDF conforming to PDF/A-3 with an embedded XML file. It also exists under the name Factur-X; technically the two are identical. The embedded XML uses the CII syntax. UBL is not provided for in a ZUGFeRD PDF.

XRechnung and ZUGFeRD compared
FeatureXRechnungZUGFeRD
File formOne XML filePDF/A-3 with embedded XML
SyntaxUBL or CIICII
Readable by peopleOnly with a viewerYes, the PDF can be read at once
Decisive partThe whole fileThe embedded XML; if they differ, it prevails over the PDF
Invoices to authoritiesIn principle the data standard under the federal e-invoicing ordinanceAt federal level from version 2.2.0 in the XRECHNUNG profile; otherwise as the contracting authority requires
Current versionXRechnung 3.0.2ZUGFeRD 2.5.2 = Factur-X 1.09.2
Valid as e-invoiceYesFrom 2.0.1, except the profiles MINIMUM and BASIC WL

Invoices to public authorities

For invoices to federal authorities, the federal e-invoicing ordinance applies. In principle it prescribes XRechnung as the data standard and permits other standards that conform to the European norm (section 4 (1) ERechV). The federal invoice receiving portal additionally accepts ZUGFeRD from version 2.2.0 in the XRECHNUNG profile. The federal states and municipalities partly have their own rules. Ask the contracting authority which format and which transmission route apply. You will usually also need a Leitweg-ID.

Between businesses

Between businesses, tax law accepts any format conforming to EN 16931. The BMF expressly names XRechnung and ZUGFeRD from 2.0.1 without the profiles MINIMUM and BASIC WL. Other European formats such as Factur-X or Peppol BIS Billing come into question as long as they conform to EN 16931. The choice is a matter of agreement with your business partner.

  • ZUGFeRD fits if your customers want to keep reading and filing the invoice as before while also processing it automatically.
  • XRechnung fits if the recipient runs pure data processing anyway or you supply public authorities.
  • Peppol (UBL syntax) fits if your customer is billed through the Peppol network.

UBL or CII?

UBL (Universal Business Language) and CII (Cross Industry Invoice) are two XML notations for the same EN 16931 data model. In content they are equivalent. XRechnung allows both, and the KoSIT validation tools know both. A ZUGFeRD PDF always contains CII. If you are unsure, use the syntax your recipient names.

Current versions

  • XRechnung 3.0 has applied since 1 February 2024. The current bundle is 3.0.2 of 31 August 2026. Version 3.0 stays valid at least until 31 July 2027.
  • XRechnung 4.0 exists as a pre-release of 15 September 2026. The final version is expected for spring 2027. More in Outlook: XRechnung 4.0, EN 16931 and ViDA.
  • ZUGFeRD 2.4 / Factur-X 1.08 has applied since 15 January 2026 and adds sub-lines. ZUGFeRD 2.5.2 / Factur-X 1.09.2 has applied since 1 September 2026. Both build on the CII release D22B and, according to FeRD, are fully backward compatible with D16B.

Decision guide

Which format fits which recipient?
Your recipientRecommended format
Federal authority, state or municipalityXRechnung. Clarify syntax and transmission route with the contracting authority.
Business that wants a readable documentZUGFeRD in the EN 16931 profile (see ZUGFeRD profiles).
Business connected to PeppolPeppol BIS Billing or XRechnung in UBL, as agreed.
UnknownAsk. Without an agreement, ZUGFeRD in the EN 16931 profile is often a practical choice because anyone can open the PDF.

You do not have to settle on one format for all customers. Good invoicing software produces both.

What to look for in software

  • Both formats: the software should be able to produce XRechnung and ZUGFeRD. Otherwise the program decides the format and not your customer.
  • Selectable profile: for ZUGFeRD you should be able to set the EN 16931 profile. MINIMUM and BASIC WL should not be the default, because they do not yield an e-invoice.
  • Regular updates: the formats keep evolving, and XRechnung 4.0 is coming. Software without updates ages quickly.
  • Built-in validation: a validator before sending saves queries and time.

Frequently asked questions

Can one file serve both formats?

In part. The ZUGFeRD profile XRECHNUNG combines the XRechnung rules with a PDF. Clarify beforehand whether your recipient accepts it.

Which syntax should I choose for XRechnung?

UBL and CII are both permitted. Use the syntax your recipient names. Inside a ZUGFeRD PDF only CII is possible.

Sources

Every statement in this article rests on the texts below. Statutes and letters of the tax authorities can change; if in doubt, check the original wording.

  1. Section 14 UStG – issuing invoices (opens in a new tab) – definition of the e-invoice
  2. BMF letter of 15 Oct 2024 – introduction of the mandatory e-invoice (opens in a new tab) – margin nos. 25 to 30: valid formats, XRechnung, ZUGFeRD, Factur-X, Peppol BIS Billing
  3. BMF letter of 15 Oct 2025 – introduction of the mandatory e-invoice (opens in a new tab) – UStAE 14.1 (11) to (15): valid formats
  4. KoSIT: XRechnung – versions and bundles (opens in a new tab) – versions and validity
  5. FeRD: ZUGFeRD 2.5.2 (information package) (opens in a new tab) – ZUGFeRD 2.5.2
  6. FeRD / FNFE-MPE: press release ZUGFeRD 2.4 / Factur-X 1.08 (4 Dec 2025) (opens in a new tab) – ZUGFeRD 2.4 and Factur-X 1.08
  7. Federal E-Invoicing Ordinance (ERechV) (opens in a new tab) – section 4 (1): data standard for federal invoices
  8. E-invoicing at federal level: information for invoice issuers (opens in a new tab) – transmission routes and formats at federal level

Try it now

Create an e-invoice

Produce an XRechnung (UBL or CII) or a ZUGFeRD PDF from a form.

Keep reading