German e-invoicing standard
In order to cover sector-specific areas of application, EU member states can expand the semantic data model of European standard EN 16931 using extensions. This has been possible in Germany since 1 January 2021. The XRechnung extension makes it possible to add several sub invoice lines below a single invoice line. The extension also allows XML files to be embedded in the invoice as attachments.
Sub invoice lines are data elements which provide more detailed information about the individual invoice lines they come under. This makes it possible to add several sub invoice lines below a single invoice line, for example to reflect contractual specifications. An example of the hierarchy of invoice lines and sub invoice lines is given below:
To include sub invoice lines, you must use the XRechnung extension. The extension has been valid since 1 January 2021 as version 2.0.0 of the XRechnung specification. For more information about the XRechnung extension, please see the website of the Coordination Office for IT Standards (KoSIT).
The XRechnung extension is especially relevant for the construction industry, but other industries can benefit from it as well.
Although the XRechnung standard already makes it possible to submit invoice types which are specific to the construction industry (interim invoices, partial invoices, final invoices), the XRechnung extension covers additional industry-specific requirements. For example, the XRechnung extension makes it possible to embed XML attachments and thus add GAEB files to your invoice as supporting documents. In addition, invoice lines can be structured so that the sub invoice lines can be used to show specifications.
 GAEB files are based on a uniform standard agreed on for exchanging information in the construction industry. This standard expands, harmonises and improves all the requirements for electronic processes with regard to construction work (https://www.gaeb.de/en/).
The ZRE and OZG-RE invoice submission platforms have accepted the current standard and the XRechnung extension since 1 January 2021, so if the XRechnung extension is relevant for you, it is possible to use it on those platforms. However, before using the XRechnung extension, the invoice issuer and the invoice recipient should communicate with each other to avoid any difficulties with formats to be used.
If you create invoices using the web submission form on the invoice submission platforms, under the tab “Invoice lines” you can select the button “Add sub invoice line” to add more sub invoice lines, as shown in figures 2 and 3 below. Under the tab “Attachments” you can embed XML files in the invoice as supporting documents. In this way, you can create an XRechnung extension.
If you submit invoices using the web upload function on the invoice submission platforms, you can submit completed e-invoices compliant with the XRechnung extension using the upload function. If you have further questions about creating e-invoices, please contact your software provider.
If you submit invoices using De-Mail, email or Peppol, you can submit completed e-invoices compliant with the XRechnung extension using those transmission methods as well. If you have further questions about creating e-invoices, please contact your software provider.
Operators who are already using ZUGFeRD can submit e-invoices to the federal administration using the 2.1.1 XRECHNUNG profile. They do not have to use the XRechnung standard in addition to that.
When using ZUGfeRD in the XRECHNUNG profile, please note that invoices are accepted only as a structured XML file with no visual format.
The ZUGFeRD 2.1.1 XRECHNUNG profile meets all requirements and allows invoices to be submitted via the federal invoice submission portals.
Invoice issuers can thus use the XRechnung standard or the ZUGFeRD invoice format to submit e-invoices in accordance with the federal E-Invoicing Ordinance.
ZUGFeRD is a cross-industry data format for e-invoicing that was developed by the German electronic invoicing forum (Forum elektronische Rechnung Deutschland, FeRD) with the support of the Federal Ministry for Economic Affairs and Energy. The ZUGFeRD format is based on Directive 2014/55/EU of 16 April 2014 on electronic invoicing in public procurement, and on European standard EN 16931, published on 28 June 2017. In addition, the UN/CEFACT Cross Industry Invoice (CII) and ISO standard 19005-3:2012 (PDF/A-3) are taken into account for ZUGFeRD version 2.0 or later.
A hybrid data format, ZUGFeRD integrates structured invoice data in XML format into a PDF document (PDF/A-3). In other words, the invoice is sent in the form of a PDF document, which is the visual component of the invoice. In addition, a copy of the same invoice (in XML format), identical in content, is sent within the PDF so that the invoice can easily be processed electronically, using structured invoice data, once it has been fed into the company’s own software system.
For further information on ZUGFeRD, please visit the FeRD website.
The ZUGFeRD 2.1.1 profile ‘XRechnung’ generally meets the requirements and enables submission of invoices via the Federal Government’s platforms.
The XRechnung standard represents a national version of European standard EN 16931, a so-called Core Invoice Usage Specification (CIUS). The national design of the directive in the other EU Member States specifies it with local regulations within the framework stipulated by the standard.
The XRechnung XML data set must be viewed by the invoice recipient for further processing. Usually, the data set is viewed within the (ERP) system. KoSIT also offers a corresponding viewing component. The components to support viewing within a system are publicly available in the XRechnung GitHub.
If the invoice cannot be processed in a system-supported and automated way, the use of a viewing solution is recommended in order to better ‘detect’ potential errors.
Invoice issuers/senders also need to be able to view the original invoice – the XML data set – to complete accounting processes. The functionality can be integrated in the electronic outgoing invoice system or ensured via a dedicated viewing solution.
Depending on how outgoing invoices have been implemented so far, there are different implementation possibilities:
Do you use a service provider or commercially available software for invoicing? Contact the manufacturer and find out whether electronic invoicing is supported.
Do you use your own system? Clarify with your IT department which steps are necessary to create e-invoices in compliance with EU standard 16931 and the German legal situation. The currently valid version of the complete documentation of the standard is available on the KoSIT website.
If you are not using an outgoing invoice system or if you need an interim solution, familiarise yourself with the ZRE/OZG-RE web-based entry system.
An electronic invoice (e-invoice) is an invoice issued in a structured format in compliance with the EU standard, which is submitted and received electronically and enables seamless automatic and electronic processing.
- Designed as a purely semantic data format, e-invoicing enables invoice data to be imported into the processing systems directly and seamlessly.
- It is based on a structured XML format, which primarily only facilitates machine readability.
- By using display programs (so-called visualisation programs), the XML data set can be displayed in a way that is readable for humans.
There are various standards or specifications that enable electronic invoicing, e.g. XRechnung standard .
- The XRechnung standard represents a national version of European standard EN 16931, a so-called Core Invoice Usage Specification (CIUS).
- To ensure that every Member State can implement the European standard EN 16931 with its own country-specific requirements, each country defines its own specific CIUS.
- In Germany, the national version of the standard is called XRechnung. It is used for the standardised implementation of the requirements of public contracting authorities within the Federal Government in the majority of states and local authorities.
EU Directive EN-16931 mandates the use of the structured data format XML for electronic invoice exchange, which enables automated invoice processing. A standardised semantic data model describes the information elements of an invoice and their mutual relationship and data types (e.g. the buyer’s name). The specification of the syntax (UBL and UN/CEFACT) ensures uniform technical implementation of e-invoicing within the EU.
As a national implementation of the data model, the XRechnung invoice standard in Germany supplements the EU standard with 21 specific national business rules to be applied to individual information elements and relationships between information elements. Thus, the standard takes into account the national requirements for invoicing – such as the E-RechV. It is illustrated by the example of the information element ‘buyer reference’ in the field ‘BT-10′:
- The ‘buyer reference’ (BT-10) is an optional content element according to the EU standard
- The ‘buyer reference’ (BT-10) is a mandatory information element according to German law. The XRechnung standard thus defines the ‘buyer reference’ as a mandatory content element in which the so-called buyer reference must be indicated.
The XRechnung standard is frequently reviewed and updated. Changes will be announced 6 months before enforcement. The currently valid version of the complete documentation of the standard is available on the KoSIT website.
XRechnung is the standard for electronic invoicing for public contracting authorities and definitively implements Directive 2014/55/EU in Germany. The Coordination Office for IT Standards (Koordinierungsstelle für IT-Standards, in short: KoSIT) maintains and develops the XRechnung standard on behalf of the IT Planning Council. Furthermore, KoSIT coordinates the continuous development of XRechnung with assistance by experts from the Federal Government, the states and the municipalities.
Further information can be found on the KoSIT website .