ZUGFeRD, XRechnung and Factur-X are not competitors but variants of the same idea: transmitting invoice data in a structured, machine-readable way according to the European standard EN 16931. The confusion mostly arises because the terms sit on different levels: standard, syntax, rule set and packaging. “XRechnung”, for example, is neither the same as UBL nor a counterpart to ZUGFeRD.
Four levels: what is what?
| Level | Term | Meaning |
|---|---|---|
| Standard | EN 16931 | European data model: which information an e-invoice contains |
| Syntax | UBL or CII | the technical notation of the XML; the EU permits exactly these two, on an equal footing. A syntax is not an invoice format of its own |
| Rule set | XRechnung, Peppol BIS Billing | additional rules based on EN 16931 (CIUS), for XRechnung for example the Leitweg-ID for public authorities. XRechnung exists in UBL and in CII |
| Packaging | ZUGFeRD / Factur-X | PDF/A-3 with embedded XML, always in CII. In the XRECHNUNG profile it contains a complete XRechnung |
It follows that UBL is not “the XRechnung” – and neither is CII. And a ZUGFeRD invoice can itself be an XRechnung. Which format suits which recipient is covered in XRechnung or ZUGFeRD? Decision guide and checklist (German).
The formats compared
| ZUGFeRD | Factur-X | XRechnung | Peppol BIS Billing 3.0 | |
|---|---|---|---|---|
| Origin | Germany (FeRD) | France (FNFE-MPE) | Germany (KoSIT) | OpenPeppol (European network) |
| Format | hybrid: PDF/A-3 with embedded XML | hybrid: PDF/A-3 with embedded XML | rule set: as pure XML or embedded in a ZUGFeRD PDF (XRECHNUNG profile) | pure XML |
| XML syntax | UN/CEFACT CII (D16B) | UN/CEFACT CII (D16B) | CII or UBL | UBL 2.1 |
| Basis | EN 16931 (profiles MINIMUM to EXTENDED) | EN 16931 (identical to ZUGFeRD 2.x) | EN 16931 + national rules (CIUS) | EN 16931 + Peppol rules (CIUS) |
| Typical use | B2B in Germany | B2B in France, international | B2G (public-sector buyers) | exchange over the Peppol network, B2G and B2B |
ZUGFeRD: the hybrid format
A ZUGFeRD invoice is a PDF/A-3 file with an embedded XML file. People read the PDF, accounting systems read the XML. Since version 2.1, ZUGFeRD is technically identical to Factur-X; the current specification carries both names (ZUGFeRD 2.5.2 / Factur-X 1.09.2). Which fields it contains is determined by the ZUGFeRD profile.
XRechnung: the German rule set (UBL or CII)
XRechnung is the German implementation (CIUS) of EN 16931 with additional business rules, for example the Leitweg-ID for addressing public authorities. It is not a file format; it defines which information the invoice must contain. Technically it comes in three forms:
- as pure XML in the UBL syntax,
- as pure XML in the CII syntax,
- as a ZUGFeRD PDF in the XRECHNUNG profile: a PDF/A-3 with an embedded XRechnung (CII) named
xrechnung.xml.
Whether an invoice is an XRechnung is stated by the specification identifier (BT-24) in the XML, not by the file type. Public-sector buyers usually require the XRechnung; whether a portal also accepts the hybrid form alongside pure XML is up to the recipient.
EN 16931: the common basis
All three formats implement the semantic data model of EN 16931: around 160 business terms (BT) in 32 groups (BG), such as the invoice number (BT-1) or the seller VAT identifier (BT-31). All fields with their German name, XPath and profile assignment are in the BT/BG explorer.
Legal basis: EN 16931 and two permitted syntaxes
The European basis is Directive 2014/55/EU on electronic invoicing in public procurement. Under Article 7, contracting authorities must receive and process electronic invoices that comply with the European standard EN 16931 – and with any of the syntaxes on the published list.
That list is set out in Commission Implementing Decision (EU) 2017/1870 of 16 October 2017. It names exactly two syntaxes:
| Syntax | Version | Used by |
|---|---|---|
| OASIS Universal Business Language (UBL) | UBL 2.1 (ISO/IEC 19845:2015) | Peppol BIS Billing 3.0, XRechnung (UBL variant) |
| UN/CEFACT Cross Industry Invoice (CII) | D16B | ZUGFeRD, Factur-X, XRechnung (CII variant) |
A ZUGFeRD invoice combines a readable PDF/A-3 with an embedded EN 16931 invoice in CII XML – so it uses one of the two syntaxes listed by the EU. In Germany, ZUGFeRD therefore stands alongside XRechnung and Peppol; in France the same format is known as Factur-X. The Aloaha ZUGFeRD SDK creates CII XML for ZUGFeRD, Factur-X and XRechnung and also reads incoming UBL invoices.
What counts as an e-invoice in Germany?
Since 2025, invoices that comply with EN 16931 count as e-invoices – i.e. XRechnung and ZUGFeRD from version 2.0.1, except for the MINIMUM and BASIC WL profiles. A plain PDF invoice is not an e-invoice. For deadlines and transition rules see the e-invoicing mandate in Germany.
For incoming invoices this means: since every invoice that complies with EN 16931 is a permitted e-invoice and the standard knows two equivalent syntaxes, every recipient must be able to process invoices in UBL and in CII – XRechnung in both syntaxes as well as ZUGFeRD invoices. A specific format can be agreed by contract; according to the German Federal Ministry of Finance (BMF), a recipient who rejects a valid e-invoice has no claim to receive a different invoice.
One SDK for all formats
With the Aloaha ZUGFeRD SDK you create ZUGFeRD, Factur-X and XRechnung XML from the same invoice data, embed the XML in an existing or newly created PDF/A-3, and read and validate incoming invoices in CII and UBL – on-premise, for .NET, COM/VB6 and the command line. Getting started: quick start with VB.NET.
Frequently asked questions
Are ZUGFeRD and Factur-X the same?
Technically yes: since ZUGFeRD 2.1 both formats are identical and are specified jointly (currently ZUGFeRD 2.5.2 / Factur-X 1.09.2). Only the name and origin differ.
Is an XRechnung a PDF?
On its own, an XRechnung is XML, in UBL or CII. It can, however, also be contained in a ZUGFeRD PDF: in the XRECHNUNG profile the PDF/A-3 holds a complete XRechnung (CII). The XML is what counts.
Is UBL the same as XRechnung?
No. UBL is a syntax, i.e. the notation of the XML. XRechnung is a rule set and can be expressed in UBL or in CII.
Must an invoice recipient be able to process UBL and CII?
Yes. Every invoice that complies with EN 16931 is a permitted e-invoice, and the standard knows two equivalent syntaxes. Incoming invoice processing must therefore handle UBL and CII, including ZUGFeRD invoices, whose XML is always CII.
Can I invoice German authorities with ZUGFeRD?
Many public-sector buyers require an XRechnung. Whether they accept ZUGFeRD depends on the recipient; the ZUGFeRD profile XRECHNUNG meets the XRechnung rules.
Which syntaxes are permitted for EN 16931 e-invoices?
Commission Implementing Decision (EU) 2017/1870 lists two syntaxes: UBL 2.1, used by Peppol BIS Billing 3.0, and UN/CEFACT Cross Industry Invoice (CII) D16B, used by ZUGFeRD and Factur-X. Under Article 7 of Directive 2014/55/EU, contracting authorities must be able to receive and process EN 16931 invoices in one of these syntaxes.
Which syntax does ZUGFeRD use?
ZUGFeRD (and the identical Factur-X) uses UN/CEFACT Cross Industry Invoice (CII), version D16B. The CII XML is embedded in a PDF/A-3; XRechnung, by contrast, exists as a CII or UBL variant, and Peppol BIS Billing 3.0 uses UBL 2.1.