Skip to content

Format comparison

ZUGFeRD or XRechnung: which format fits when?

Both formats satisfy the same European standard and still look nothing alike: XRechnung is a pure XML file, ZUGFeRD a PDF with invoice data embedded inside it. This page compares them field by field, explains syntaxes and profiles, and answers the question that actually matters — which format to send to which recipient.

At a glance

Shared basis
EN 16931
XRechnung
pure XML (UBL/CII)
ZUGFeRD
PDF/A-3 with XML
Format decided by
the recipient

ZUGFeRD and XRechnung: both formats in brief

XRechnung and suitable ZUGFeRD profiles carry the same structured invoice data under EN 16931. They differ in the packaging: in whether a human can read the file unaided, and in what the respective profile requires. What decides the choice in the end is the statutory framework and your recipient’s requirements — not technical elegance.

ZUGFeRD and Factur-X: the hybrid format

ZUGFeRD is a hybrid invoice format: a visible PDF/A-3 file for people and an XML file embedded inside it for machines. Both parts describe the same invoice. The recipient opens the file like any other PDF, reads it, prints it — and their accounting software can pick up the structured data at the same time. That dual path is exactly why ZUGFeRD is so widespread in B2B: it works even when the recipient is not technically ready. Factur-X is the jointly agreed German-French counterpart of the same format.

XRechnung: the pure XML format

XRechnung is a purely structured XML file with no visual rendering, in either UBL or CII syntax. It contains no PDF component and cannot be read unaided; in a text editor it looks like program code. It was developed as the German application specification for exchanging invoices with federal, state and municipal authorities. To look at it as a document you need software or a viewer — in exchange the file is small, unambiguous and ideal for automated processing.

Read an XRechnung without installing anything

You do not need software to look inside an XRechnung. The free e-invoice viewer opens UBL and CII files locally in your browser and presents parties, line items, taxes and totals as a readable invoice.

ZUGFeRD and XRechnung side by side

The comparison below covers the differences that actually matter in practice — from readability to the question of who expects which format.

ZUGFeRD (Factur-X) and XRechnung by the criteria that count when choosing a format.

File format

ZUGFeRD / Factur-X
Hybrid: PDF/A-3 with embedded XML
XRechnung
Pure XML, no PDF component

Human readable

ZUGFeRD / Factur-X
Yes — in any PDF reader
XRechnung
No — requires software or a viewer

Machine processing

ZUGFeRD / Factur-X
Yes, through the embedded XML file
XRechnung
Yes, directly

Syntax

ZUGFeRD / Factur-X
CII (Cross Industry Invoice)
XRechnung
CII or UBL (Universal Business Language)

Profiles / variants

ZUGFeRD / Factur-X
MINIMUM, BASIC-WL, BASIC, EN16931 (Comfort), EXTENDED, XRECHNUNG
XRechnung
One CIUS with version releases, e.g. 3.x

Typical use

ZUGFeRD / Factur-X
B2B: retail, services, trades, freelancers
XRechnung
B2G: public authorities and public buyers

File size

ZUGFeRD / Factur-X
Larger, because the PDF layout travels with it
XRechnung
Very small, data only

Retention

ZUGFeRD / Factur-X
Preserve the structured original; keeping the complete PDF/XML file is advisable
XRechnung
Keep the XML file unaltered, render it when needed

In Billance

ZUGFeRD / Factur-X
EN16931/Comfort, XRechnung and Extended profiles
XRechnung
CII and UBL, including the buyer reference (BT-10)

Strengths and limits of the two formats

Neither format is better than the other — they are built for different situations. An honest look at both sides helps you set up your invoicing process to fit.

What ZUGFeRD is made for

  • Nothing to relearn for the recipient

    The invoice looks the way it always has and can be checked, forwarded and printed without special software.

  • Works both ways

    Recipients with modern accounting software pick up the XML data automatically; everyone else simply reads the PDF.

  • High acceptance in B2B

    Because nobody has to change anything, there is virtually no adoption hurdle with business customers.

  • Graded profiles

    From MINIMUM to EXTENDED the level of detail can be matched to the use case — though not every profile qualifies as an e-invoice for VAT purposes.

  • Larger files

    The PDF component costs storage. For email that is irrelevant; in bulk processing it shows.

  • Not accepted everywhere in B2G

    Some public bodies accept pure XML files only and reject hybrid PDFs.

What XRechnung is made for

  • Maximum automation

    A pure data structure with no layout ballast that can be processed straight through.

  • Very small files

    Economical in transmission and in long-term archiving.

  • The administration’s standard

    The expected format for many public buyers; their specific requirements and exceptions still apply.

  • Two syntaxes to choose from

    CII or UBL — which one you need is set by the recipient. Billance produces both.

  • Unreadable unaided

    The file cannot be read directly by a person; for questions and approvals you need a rendering.

  • Not yet established everywhere in B2B

    Smaller businesses often cannot process pure XML invoices yet and will ask for a PDF.

Decision guide: which format for which recipient?

The choice almost always depends on the recipient, not on your own software. Because Billance produces both formats, you can simply follow what the other side needs.

  • Business customers, trades, freelancers → ZUGFeRD

    The recipient reads the invoice as usual, while modern accounting software still picks up the embedded data automatically. This is the route with the fewest follow-up questions.

  • Public buyers → XRechnung

    Public sector contracts generally call for an XRechnung, with the routing identifier the buyer gave you in the buyer reference. Central invoice receipt portals frequently reject hybrid PDFs.

  • Large recipients with a supplier portal → ask first

    Corporations and retail chains usually prescribe format, profile and transmission channel precisely. A look at the supplier guidelines saves a rejected invoice.

  • Cross-border in the EU → check Peppol

    UBL syntax is common for sending over the Peppol network. XRechnung and Peppol BIS Billing are different profiles, though: check the profile, the recipient and the access point before assuming a UBL file will pass everywhere.

  • Running both in parallel is the norm

    Many businesses send ZUGFeRD to business customers and XRechnung to public authorities. That is no extra work: you enter the invoice once and export whichever format is needed.

Technical detail: syntaxes, profiles and versions

EN 16931 describes the semantic invoice model and its business rules. XRechnung builds on it as the German application specification and tightens individual rules; ZUGFeRD offers several profiles with different levels of detail. Whether two systems fit together is therefore decided not by the format name but by the specific profile and version supported.

ZUGFeRD and Factur-X profiles

ZUGFeRD and Factur-X rest on a jointly agreed format. According to publications by the German Federal Ministry of Finance, ZUGFeRD formats from version 2.0.1 onwards generally meet the VAT requirements for an e-invoice — except the MINIMUM and BASIC-WL profiles, which deliberately structure only part of the invoice. BASIC is a different thing and is not excluded. For EN 16931 use cases the EN16931/Comfort profile is available.

The ZUGFeRD profiles and what they are intended for.

MINIMUM

Extent of structured data
Header data and totals only, no line items
Classification
Excluded as a VAT e-invoice

BASIC-WL

Extent of structured data
Invoice without lines
Classification
Excluded as a VAT e-invoice

BASIC

Extent of structured data
Line items with a reduced field set
Classification
Not covered by the exclusion

EN16931 (Comfort)

Extent of structured data
The full core model of the standard
Classification
The default for EN 16931 use cases

EXTENDED

Extent of structured data
Core model plus industry-specific extensions
Classification
For complex billing, provided the recipient supports it

XRECHNUNG

Extent of structured data
Core model with the national XRechnung rules
Classification
Hybrid variant for recipients who expect XRechnung rules

XRechnung: CIUS, syntaxes and versions

XRechnung is a CIUS — a national restriction of the European standard for Germany. It makes fields mandatory that the standard only recommends and adds its own business rules with the prefix BR-DE-. It can be issued in CII syntax (UN/CEFACT Cross Industry Invoice) or in UBL syntax (OASIS Universal Business Language); both are equally admissible, and Billance supports both.

Version releases are updated regularly. Validation messages therefore always carry a rule reference such as BR-DE-15, which makes it possible to trace which release is meant.

Settle format and profile before the first send

Find out which version and which profile your recipient accepts before you switch. Billance supports you with formal checks; those guarantee neither the absence of errors nor the professional and tax correctness of your invoice, and they do not replace a commitment from the recipient.

Check format, profile and content yourself

If you want to know which format and profile a specific file actually uses, you do not have to read the XML. All three tools run locally in your browser, with no account and no upload.

Frequently asked questions about ZUGFeRD and XRechnung

The questions that most often remain open when choosing a format.

That depends on the buyer. At federal level, XRechnung or another standard compliant with EN 16931, the German e-invoicing regulation and the terms of the invoice receipt platform is generally required, and the pure XML file may be mandatory. A hybrid ZUGFeRD PDF is not automatically accepted. States and municipalities may have their own rules — ask first if in doubt.

Sources and format specifications

The statements on profiles, syntaxes and versions rest on the following publications by the bodies responsible for them.

This article reflects publicly available information as of the date shown and is not tax or legal advice. What governs are the statutory rules, the letters issued by the German Federal Ministry of Finance and the requirements of your invoice recipient.

Read on

Step by step in the help centre

The help articles walk through the same workflow as an instruction – every field, every button, every special case.

Ready for e‑invoices?

Start with Billance and create your first e-invoices in just a few minutes.