XRechnung or ZUGFeRD? What an e-invoice is and which formats are permitted
An e-invoice is an invoice in a structured electronic format that allows electronic processing, in practice an XML file under the European standard EN 16931. A PDF alone is not an e-invoice. XRechnung is a pure XML file, ZUGFeRD is a PDF with an embedded XML file, and in both cases the XML part is what counts. Both are permitted for invoices between businesses, ZUGFeRD from version 2.0.1 and not in the profiles MINIMUM and BASIC WL.
Written by Marwan Saleh (Development). As of 21 November 2026. Technical and general explanation, not tax advice.
What is an e-invoice, simply explained?
The law says: an electronic invoice is issued, transmitted and received in a structured electronic format and allows electronic processing (§ 14 (1) sentence 3 UStG, the German VAT Act). Structured means that every detail sits in a defined field that a program can read without retyping: invoice number, date, amounts, tax rate. The format must comply with the European standard EN 16931 and its approved syntaxes. Alternatively, issuer and recipient can agree on another structured format, provided all details required for VAT can be extracted correctly and completely into a format under the standard or a format interoperable with it (§ 14 (1) sentence 6 UStG).
Everything else is an “other invoice” (sonstige Rechnung): paper, a PDF without embedded data, an image or the text of an email (Federal Ministry of Finance circular of 15 October 2024, para. 7). Until the end of 2024, a PDF sent by email still counted as an electronic invoice; since 2025 it no longer does (Ministry FAQ no. 2).
Does an e-invoice have to be signed?
No. Authenticity of origin, integrity of content and legibility must be ensured (§ 14 (3) UStG). A qualified electronic signature or an EDI procedure is considered sufficient for this, but neither is mandatory. An internal control procedure is enough, for example matching the invoice against order, delivery note or payment (section 14.4 UStAE, the VAT application decree, as amended by the Ministry circular of 15 October 2025). For an e-invoice, legible means machine-readable. An additional PDF is not needed (Ministry circular 2024, para. 6).
Does the recipient have to process the data electronically?
No. The definition only means that the invoice must allow electronic processing. The recipient does not have to process it any further than retention requires anyway (Ministry FAQ no. 9).
What is the difference between XRechnung and ZUGFeRD?
XRechnung is a pure data file without an image. ZUGFeRD is a PDF/A-3 file that can be viewed like any PDF and contains an XML file with the same invoice data. With ZUGFeRD, the data in the XML is decisive: if the PDF image and the XML differ, the XML applies (Ministry circular 2024, para. 31). The table puts the terms that come up into context.
| Format | Structure | Syntax | E-invoice under the UStG? |
|---|---|---|---|
| XRechnung | Pure XML file under EN 16931 with additional German rules, maintained by the KoSIT | UBL or CII | Yes (Ministry circular 2024, paras. 25 and 29) |
| ZUGFeRD from 2.0.1, profiles BASIC, EN 16931, EXTENDED, XRECHNUNG | PDF/A-3 with embedded XML file, maintained by the FeRD | CII | Yes, the XML part is the invoice (para. 30) |
| ZUGFeRD, profiles MINIMUM and BASIC WL | PDF with booking data but without all mandatory details | CII | No (Ministry FAQ no. 7) |
| Factur-X | French name of the same format, according to the FeRD identical to ZUGFeRD since version 2.0 | CII | Same as the corresponding ZUGFeRD profile |
| Peppol BIS Billing 3.0 | Pure XML file under EN 16931, format of the Peppol network | UBL | Yes, as a European format (para. 26) |
| EDI, e.g. EDIFACT | Format agreed between the partners | own | Yes, if all required details can be extracted correctly and completely into a format under EN 16931 or a format interoperable with it. Otherwise only until the end of 2027 and with consent (§ 27 (38) no. 3 UStG). |
| PDF, image, email text | Unstructured | none | No, other invoice |
Peppol itself is not listed as a format in the table, because Peppol is primarily a network for transmission. Peppol BIS Billing 3.0 is the invoice format used in this network. More on this below.
When XRechnung, when ZUGFeRD?
For tax purposes both are equivalent. Which permitted format is used is agreed between issuer and recipient under civil law (Ministry circular 2024, para. 27). For invoices to federal authorities, XRechnung is the standard, and other formats under EN 16931 are allowed (§ 4 ERechV, the federal e-invoicing ordinance); according to E-Rechnung Bund, the federal platform also accepts ZUGFeRD in the profile XRECHNUNG. ZUGFeRD fits if your customers also want to view the invoice as a PDF. XRechnung fits if the recipient processes the data by machine anyway.
Which ZUGFeRD profiles are permitted?
The Federal Ministry of Finance recognises ZUGFeRD from version 2.0.1 as an e-invoice, except for the profiles MINIMUM and BASIC-WL (Ministry FAQ no. 7; Ministry circular 2024, paras. 25 and 30; section 14.1 (14) UStAE). The FeRD describes the profiles as follows:
| Profile | Content according to the FeRD | Recognised as an e-invoice |
|---|---|---|
| MINIMUM | Buyer, seller, total amount and total tax, no line items. A booking aid. | No |
| BASIC WL | All details for booking at document level, no invoice lines. A booking aid. | No |
| BASIC | Subset of EN 16931 for simple invoices | Yes |
| EN 16931 (COMFORT) | Covers EN 16931 completely. Recommended by the FeRD. | Yes |
| EXTENDED | Extension for more complex processes, for example several delivery locations. Receipt by arrangement, according to the FeRD. | Yes |
| XRECHNUNG (reference profile) | Embeds an XRechnung in CII in the PDF | Yes |
According to the FeRD, the embedded file is named “factur-x.xml” or “xrechnung.xml”, and only one invoice file is permitted per PDF. So for invoices between businesses, BASIC is already enough; the FeRD recommends EN 16931.
Which ZUGFeRD version is current?
On 4 August 2026, the FeRD published the information package for ZUGFeRD 2.5.2. Unlike XRechnung, ZUGFeRD versions have no expiry date according to the FeRD, so an invoice under 2.3 remains permitted as long as it has at least version 2.0.1 and a permitted profile. The exception is the profile XRECHNUNG: there the content must comply with the XRechnung specification currently in force.
XRechnung: UBL or CII, and which version?
EN 16931 allows two syntaxes: UN/CEFACT Cross Industry Invoice (CII) and Universal Business Language (UBL 2.1), laid down in Commission Implementing Decision (EU) 2017/1870. Both describe the same invoice details, just with different XML elements. XRechnung allows both, ZUGFeRD uses only CII, and Peppol BIS Billing 3.0 is defined in UBL. Public contracting authorities must receive and process invoices in either syntax (Art. 7 Directive 2014/55/EU). Between businesses, the deciding factor is what your software produces and what your customer can process.
- XRechnung 3.0 has been in force since 1 February 2024. The current version is 3.0.2, most recently with the bugfix package “Summer 2026”. The KoSIT does not list a version 3.0.3 in its overview.
- There was no new release in summer 2026, so XRechnung 3.0 remains in force until at least 31 July 2027.
- In September 2026, the KoSIT published a preliminary version of XRechnung 4.0. It expects the final version in spring 2027.
- The KoSIT expressly advises against using versions that are no longer in force, such as 2.3, for invoicing.
Which details must be in the structured part?
All mandatory VAT details under §§ 14 and 14a UStG must be in the structured part, that is in the XML (Ministry FAQ no. 7a; Ministry circular 2025, para. 35). Under § 14 (4) UStG these include, among others:
- full name and address of the supplier and the recipient
- tax number or VAT ID of the supplier
- date of issue and a sequential invoice number
- quantity and type of the goods or scope and type of the service
- time of supply
- consideration broken down by tax rates and exemptions, any reductions agreed in advance
- tax rate and tax amount, or a note on the tax exemption
A mere reference in the XML to an attachment containing the mandatory details is not enough, and neither is a link to an external target. Supplementary details, such as timesheets, may come along as an embedded attachment. The description of the service in the XML must be clear enough that type, scope and tax rate of the service can be checked (Ministry circular of 15 October 2026, paras. 10 to 12). Which detail belongs in which field of the standard is shown in the mapping table by KoSIT and FeRD, which the tax authorities recommend (paras. 8 and 9).
Which additional mandatory fields does an XRechnung have?
Technically, the XRechnung requires further fields, for example the buyer reference (BT-10), which holds the Leitweg-ID (routing ID) for public authorities. If such a field is missing, the validator reports a business rule error. For VAT purposes such an error only counts if it concerns a mandatory detail; a missing buyer reference is irrelevant for tax purposes (Ministry circular 2025, para. 35a). Between businesses, a placeholder such as “-” is enough there (Ministry FAQ no. 6). If, on the other hand, the file violates the syntax itself, it has a format error and is therefore only an other invoice (para. 6a). What the individual messages mean is explained under the XRechnung error codes, and how the check works in the guide Checking an XRechnung.
What does an e-invoice look like?
This is how an XRechnung 3.0 in UBL begins. The excerpt comes from our own example invoice, shortened at the places marked “…”.
<ubl:Invoice xmlns:ubl="…:Invoice-2" xmlns:cac="…" xmlns:cbc="…">
<cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xeinkauf.de:kosit:xrechnung_3.0</cbc:CustomizationID>
<cbc:ID>RE-2027-0042</cbc:ID>
<cbc:IssueDate>2027-01-15</cbc:IssueDate>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
<cbc:BuyerReference>K-1001</cbc:BuyerReference>
<cac:AccountingSupplierParty> … </cac:AccountingSupplierParty>
<cac:AccountingCustomerParty> … </cac:AccountingCustomerParty>
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">69.43</cbc:TaxAmount>
…
</cac:TaxTotal>
<cac:LegalMonetaryTotal>
<cbc:PayableAmount currencyID="EUR">485.23</cbc:PayableAmount>
</cac:LegalMonetaryTotal>
<cac:InvoiceLine> … </cac:InvoiceLine>
</ubl:Invoice>| Element | Meaning |
|---|---|
CustomizationID | Which specification the file is built on, here XRechnung 3.0 |
ID | Invoice number |
IssueDate | Date of issue, in the format year-month-day |
InvoiceTypeCode | Type of document, 380 stands for invoice |
BuyerReference | Buyer reference (BT-10), the Leitweg-ID for public authorities |
AccountingSupplierParty | Seller with address, VAT ID and contact |
AccountingCustomerParty | Buyer with address |
TaxTotal | VAT, broken down by tax rate |
LegalMonetaryTotal | Totals: net, gross, amount due |
InvoiceLine | One invoice line with quantity, description, price and tax rate |
The complete example file and its validation reports are in the validation evidence. More examples: the FeRD includes sample invoices in its free ZUGFeRD information package and offers additional sample documents, for example for long-term rental, construction work and small businesses. The KoSIT provides open-source tools for XRechnung, including validator and test suite (Ministry FAQ no. 16).
Peppol, Leitweg-ID and transmission
How is an e-invoice transmitted?
The law does not prescribe a channel. Options include email, an interface, a shared storage location within a group, a USB stick or a download from a portal. The contracting parties settle the channel under civil law (Ministry FAQ no. 8). An email inbox is enough for receiving.
What is Peppol and how does the network work?
Peppol is an open network for exchanging business documents such as invoices and orders, run by the international association OpenPeppol. It works on the four-corner model: sender and recipient each choose a service provider approved by Peppol, and these service providers exchange the documents with each other. So the two do not have to use the same provider (OpenPeppol). The invoice format in the network is Peppol BIS Billing 3.0. Peppol is not mandatory in Germany for invoices between businesses. The federal platform accepts invoices via Peppol and email, among other channels.
What is a Peppol ID?
In the Peppol network, a participant is addressed by an identifier consisting of a scheme code and the actual number. The codes are listed in OpenPeppol's “Electronic Address Scheme”, for example 0246 for the German Electronic Business Address (GEBA), 9930 for the German VAT ID, 0204 for the Leitweg-ID and 0088 for the Global Location Number. According to the KoSIT, the GEBA has been the standard identifier for companies in Germany in the Peppol network since 17 August 2026.
What is a Leitweg-ID and where do I get one?
The Leitweg-ID (routing ID) addresses a public authority as invoice recipient. It consists of a coarse address, a fine address and a check digit, and sits in the buyer reference field of the XRechnung (E-Rechnung Bund). Companies do not need one of their own and cannot apply for one: the authority communicates its Leitweg-ID when ordering. Between businesses, no Leitweg-ID is needed (Ministry FAQ no. 6).
Who maintains the standard and the formats?
- EN 16931: the European Committee for Standardization (CEN). According to the Federal Ministry of Finance, change requests go via the business associations to the working committee NA 043-03-03 AA at DIN (Ministry FAQ no. 15).
- XRechnung: the Koordinierungsstelle für IT-Standards (KoSIT, coordination office for IT standards) on behalf of the IT Planning Council, published on xeinkauf.de.
- ZUGFeRD: the Forum elektronische Rechnung Deutschland (FeRD) at the AWV, together with the French forum FNFE-MPE.
- Peppol BIS Billing: the association OpenPeppol.
When gotakt can help you
If your invoices come from an online shop, a client portal or your own software, we build XRechnung or ZUGFeRD into it and check the generated files with the validator. It starts with a feasibility check for €290 net. If you use Lexware, sevdesk or DATEV, check their own functions first.
What this looks like is shown in our validation evidence with one accepted and one rejected XRechnung. Everything else under E-invoicing from shop and software.
Frequently asked questions
Is a PDF invoice an e-invoice?
No. Since 2025, a PDF without embedded structured data is an “other invoice” (sonstige Rechnung). A ZUGFeRD file is also a PDF, but it counts as an e-invoice because of the embedded XML.
What is the difference between XRechnung and ZUGFeRD?
XRechnung is a pure XML file without a visual part. ZUGFeRD is a PDF/A-3 file containing an XML file, and for tax purposes the XML part applies. Both meet the requirements for an e-invoice, ZUGFeRD from version 2.0.1 and not in the profiles MINIMUM and BASIC WL.
Which ZUGFeRD profile is sufficient for invoices between businesses?
BASIC, EN 16931, EXTENDED and the reference profile XRECHNUNG are permitted, but not MINIMUM and BASIC WL. For EU-compliant invoices, the FeRD recommends the profile EN 16931.
What does ZUGFeRD stand for?
For “Zentraler User Guide des Forums elektronische Rechnung Deutschland” (central user guide of the German electronic invoice forum). The FeRD belongs to the Arbeitsgemeinschaft für wirtschaftliche Verwaltung (AWV) and develops the format together with the French forum FNFE-MPE.
What is Factur-X?
The French name of the same hybrid format. According to the FeRD, ZUGFeRD and Factur-X have been identical since version 2.0.
XRechnung in UBL or CII: which should I use?
Under EN 16931 both syntaxes are equivalent, and public contracting authorities must accept both. ZUGFeRD uses CII, Peppol BIS Billing 3.0 uses UBL. What matters is what your software produces and what your customer processes.
When will XRechnung 4.0 come?
The KoSIT published a preliminary version in September 2026 and expects the final version in spring 2027. XRechnung 3.0 remains in force until at least 31 July 2027, currently in version 3.0.2.
Do companies need a Leitweg-ID?
Only for invoices to public authorities, and then it is the Leitweg-ID of the authority, which the authority states when ordering. A company neither can nor must apply for one itself. Between businesses, a placeholder such as “-” in the buyer reference field (BT-10) is sufficient for VAT purposes.
Does an e-invoice have to be signed?
No. Authenticity and integrity can also be ensured by an internal control procedure, for example matching against order, delivery note and payment. A qualified electronic signature is only one of several options.
What is Peppol BIS Billing 3.0?
A specification by OpenPeppol for invoices under EN 16931 in the UBL syntax, used in the Peppol network. The Federal Ministry of Finance lists it as a permitted European format.
Where can I get sample files for XRechnung and ZUGFeRD?
The FeRD includes sample invoices in its free ZUGFeRD information package, and the KoSIT provides a test suite for XRechnung. An XRechnung with validation report is also available in our validation evidence.
May I send an e-invoice by email?
Yes. The law does not prescribe a transmission channel; email, portal, interface or Peppol are all possible. You agree on the channel with your customer.
Sources
- Umsatzsteuergesetz (UStG, German VAT Act), § 14 (1) and (3) (in German)
- UStG § 27 (38) no. 3 (EDI until the end of 2027) (in German)
- Federal Ministry of Finance: questions and answers on e-invoicing (in German). Page dated 29 October 2026, retrieved on 21 November 2026
- Federal Ministry of Finance circular of 15 October 2024 (in German). Paras. 24 to 36
- Federal Ministry of Finance circular of 15 October 2025 (in German). Paras. 6a, 6b, 35, 35a and sections 14.1 and 14.4 UStAE
- Federal Ministry of Finance circular of 15 October 2026 (in German). Paras. 8 to 12, 22 and 23
- Commission Implementing Decision (EU) 2017/1870 (EN 16931 and list of syntaxes)
- Directive 2014/55/EU on electronic invoicing in public procurement
- KoSIT: XRechnung standard (in German)
- KoSIT: XRechnung versions and bundles (in German)
- KoSIT: GEBA is the default identifier for Peppol addressing (in German). Notice of 11 November 2026
- FeRD: ZUGFeRD/Factur-X (in German)
- FeRD: ZUGFeRD FAQ (profiles) (in German)
- FeRD: ZUGFeRD sample invoices (in German)
- OpenPeppol: Peppol BIS Billing 3.0
- OpenPeppol: Electronic Address Scheme (EAS)
- OpenPeppol: About
- E-Rechnung Bund: FAQ (Leitweg-ID, transmission channels) (in German)
- E-Rechnungsverordnung des Bundes (ERechV, federal e-invoicing ordinance), § 4 (in German)
As of 21 November 2026. Technical and general explanation, not tax advice. For your individual case, ask your tax advisor.
Further reading
- Mandatory e-invoicing: who has to issue and receive from whenDeadlines, the €800,000 threshold, exceptions and consequences.
- Receiving e-invoices: what companies have to doInbox, viewer, checking and what applies if a PDF arrives instead of an e-invoice.
- Checking an XRechnung with the KoSIT validatorWhat the validator checks and what errors and warnings mean.
- Special cases of e-invoicingInstalment invoice, self-billing credit note, foreign customers, small amounts and small businesses.


