Glowing panels of code and data float in a dark space, linked by blue and red lines.

Compliance

XRechnung: what it is, and how to archive it

Electronic invoices are part of daily work in Germany now. Here is what the XRechnung format is, who must use e-invoices from when, and what it means for your archive.

What XRechnung is

XRechnung is the German form of the European e-invoice standard EN 16931. It was developed by the Coordination Office for IT Standards (KoSIT) after the EU Directive 2014/55/EU on e-invoicing in public procurement. An XRechnung is an XML file. Software reads it directly, but a person sees only code. ZUGFeRD is the other common format in Germany. It is a PDF with the same kind of XML data inside.

Who must use e-invoices, and from when

  • Since November 2020, suppliers to federal authorities send their invoices electronically.
  • Since 1 January 2025, every German business must be able to receive e-invoices from other German businesses.
  • From 1 January 2027, businesses with more than 800,000 euros turnover in the previous year must send e-invoices to other businesses.
  • From 1 January 2028, all German businesses must send them.

A plain PDF invoice is not an e-invoice under these rules. It is one of the “other invoices” that the transition still allows for a while.

What archiving an e-invoice involves

For an e-invoice the XML file is the original. It must be kept for eight years (§ 14b UStG), in the format in which it arrived, unchanged and readable for the whole period. A printout or a PDF made from it does not replace the XML.

How EMA handles it

EMA archives the XML exactly as it arrived, signs and time-stamps it, and shows it as a readable invoice in the web interface, the EMA app and Outlook. ZUGFeRD invoices open as the PDF they are. When someone needs paper, they print the readable invoice. The e-invoice view is switched on by default in every edition of EMA, with nothing extra to license.

Read more on our E-invoices page.

This post is an overview, not legal advice. Your tax adviser or lawyer confirms what applies to you.