Working with XRechnung and ZUGFeRD documents
Germany uses two main formats for eInvoices: XRechnung and ZUGFeRD. Both are based on the European standard EN 16931, but they're built in different ways. Continia Document Capture supports both formats. This article describes each format, how they're used in Germany, and how to receive them.
For an overview of the German legislation, see Understanding eInvoicing in Germany.
Why two formats
Germany's eInvoicing rules are based on Directive 2014/55/EU and the European standard EN 16931. EN 16931 defines the data an eInvoice must contain, but not how that data is packaged. XRechnung and ZUGFeRD are two different ways of packaging it, and both are accepted under German law.
Both formats are also valid for B2B transactions, but a plain PDF sent via email isn't considered an eInvoice under the new rules. Such a PDF counts as another invoice type, and the recipient must consent to receiving it. A ZUGFeRD file is different, though, as it includes the structured XML data that makes it an eInvoice.
XRechnung
XRechnung is Germany's national implementation of EN 16931. It adds national business rules on top of the European standard. For example, the buyer reference is optional under EN 16931 but mandatory under German law – so XRechnung makes it mandatory.
XRechnung is pure XML, in either UBL or UN/CEFACT CII syntax. Therefore, you need a viewer to read this format. As the national implementation, XRechnung is also the format used for invoices to German public authorities. Those invoices must carry the authority's Leitweg-ID.
ZUGFeRD
ZUGFeRD is a hybrid format developed by the Forum elektronische Rechnung Deutschland (FeRD) – in which federal and state ministries, as well as business organizations and trade associations, participate.
ZUGFeRD combines a PDF document with an embedded XML file and uses the UN/CEFACT Cross-Industry Invoice (CII) syntax. It's available in several profiles, which define how much data the XML contains, though not every profile is a valid eInvoice. For an overview of supported formats in Document Capture, see Managing electronic documents in Germany.
ZUGFeRD can also be used to send invoices to the federal administration. The XRECHNUNG profile in ZUGFeRD 2.2.0 meets the federal requirements, but only the structured XML file is accepted through the federal portal.
Receiving XRechnung and ZUGFeRD documents
Document Capture supports both XRechnung (via Peppol and email) and ZUGFeRD (only via email) documents. Depending on how these documents are received, they’re processed and validated in different ways:
- XRechnung and ZUGFeRD documents received via email are processed with XML import templates. For more information, see Setting up eInvoicing in Germany.
- XRechnung documents received via the Continia Delivery Network are validated automatically. For information on how to validate XML files imported via email, see Validating imported XML documents.