Skip to content

Archiving e-invoices in Germany: retention period, XML or PDF, and software

Keeping e-invoices correctly in Germany: the eight-year period under § 14b UStG and § 147 AO, the XML as the record, the role of the PDF part, whether an email inbox is enough, what "audit-proof" means and which software archives, as of 27 November 2026.

How long do you have to keep invoices?

Eight years. That applies to invoices you issue and to invoices you receive (§ 14b(1) UStG, § 147(1) and (3) AO, both German). The period starts at the end of the calendar year in which the invoice was issued. So an invoice from March 2026 may be deleted at the earliest at the start of 2035.

Until the end of 2024 it was ten years. The shorter period also applies retroactively to every invoice whose period had not yet expired on 31 December 2024 (§ 27(40) UStG, Art. 97 § 19a EGAO, both German). Banks, insurers and investment firms are excluded. And the period does not end while an invoice still matters for a tax that has not been finally assessed, for example during an ongoing tax audit (§ 147(3) sentence 5 AO).

XML or PDF: what the record is for an e-invoice

With an e-invoice, the structured data set is the invoice. An XRechnung consists only of XML. A ZUGFeRD invoice is a PDF with embedded XML. Three rules from the GoBD and the VAT Application Decree (UStAE) apply to keeping them:

  • The XML stays in its original form. You keep received records in the format in which they arrived (GoBD para. 131). The structured part has to be kept "intact in its original form" (UStAE section 14b.1(1)). A conversion, for example into an image, must not replace the XML (GoBD para. 125).
  • You can usually leave out the PDF. You only need to keep the human-readable part of a ZUGFeRD invoice if it contains additional or different tax-relevant information, for example booking notes (GoBD para. 119). For your own invoices from an invoicing program you need no image copy, as long as the program can produce an identical copy at any time (GoBD para. 76).
  • If they differ, the XML applies. If the PDF shows different values from the XML, the data in the structured part takes precedence (UStAE section 14.4(3)).

There is one recommendation on top: the Federal Ministry of Finance considers it sensible to keep the validation report of an e-invoice as proof that it met the format (BMF letter of 15 October 2025, para. 51, in German).

Sources for the GoBD: BMF letter, second amendment of 14 July 2025, consolidated in the AO handbook 2026, annex 33 (both in German).

Rechnungskit Radar

Once a month: what changes for your online business.

Deadlines, law and tax, market news and what is new in Rechnungskit. Free, for shops, SaaS and digital products. Learn more

Is an email inbox enough?

For receiving, yes. Since 1 January 2025 every business in Germany has to be able to receive e-invoices, and according to the Federal Ministry of Finance an email inbox is enough for that (BMF, e-invoicing FAQ, in German).

The ministry says nothing about keeping invoices in the inbox. The GoBD require that a record cannot be changed in a way that makes the original content impossible to determine, and that changes are logged (paras. 58 and 59). Storing records in an ordinary file system generally does not meet this, according to the GoBD (para. 110). You do not have to keep the email itself if it only served as the means of transport (para. 121), but you do have to keep the attachment.

For VAT purposes alone, storing invoices outside a GoBD-compliant system is generally not a breach (UStAE section 14b.1(1)). The GoBD still apply for bookkeeping and tax audits.

What "audit-proof" means

The German word "revisionssicher" does not appear in the GoBD, but it is often used for what they require:

  • Unalterable: A record cannot be changed or deleted unnoticed.
  • Complete and retrievable: Every record is there and stays readable for the whole period.
  • Machine-evaluable: The tax auditor may view the data, have it evaluated or request it on a data carrier (paras. 165 to 167).
  • Documented: A procedure documentation (Verfahrensdokumentation) describes how records get into the archive (para. 151).

Certificates and attestations from third parties help you choose, but according to the GoBD they do not bind the tax office (para. 181).

Software for archiving e-invoices

GetMyInvoices Lexware Office DATEV Unternehmen online with Belege online DocuWare Rechnungskit
What is archived incoming invoices, "GoBD-compliant" documents in the long-term archive, ten years documents for the tax advisor document management for businesses outgoing and incoming invoices, eight years
Original XML yes, unchanged according to the vendor not stated explicitly not stated explicitly yes, according to the vendor yes, immutable with a checksum
From €19 a month excl. VAT €7.90 a month excl. VAT (plan S) €11.56 plus €3.83 a month excl. VAT price on request €29 a month plus from €0.15 per invoice, everything included

As of 27 November 2026, from the vendors' product and pricing pages.

The Rechnungskit price covers more than the archive: invoices from your shop, payment provider or checkout as e-invoices, expenses with incoming invoices and payment runs, bank reconciliation for one account, payout reconciliation, the DATEV or Agenda export and access for your tax advisor. There are no add-on modules.

How Rechnungskit archives

  • Outgoing invoices: Every invoice is checked against the mandatory details and the format before it is created. Rechnungskit archives the XML under EN 16931 for eight years in immutable storage with a SHA-256 checksum that is verified on every retrieval. It generates the PDF from the XML when needed, as GoBD para. 76 allows.
  • Incoming invoices: Documents reach Rechnungskit through the document inbox, by upload or from the bank. The original is stored unchanged and encrypted in the archive. Rechnungskit reads e-invoices from the XML and checks them against EN 16931.
  • Corrections: Finished records are never changed or deleted. You correct amounts with a cancellation invoice and a new invoice, and a wrong address with a correcting invoice. The original and the correction both stay in the archive.
  • Access and export: Your tax advisor and the tax auditor get their own access. You can export the complete archive at any time, and for 90 days free of charge after cancelling. If you stop selling, archive mode keeps everything readable and exportable for €9 a month.

The legal duty to keep invoices stays with you as the business. Rechnungskit provides the archive and the export for it. More on the principles in the guide GoBD explained, and all details on the archive in the help page Documents, formats and GoBD archive.

FAQ

How long do I have to keep e-invoices?
Eight years, from the end of the calendar year in which the invoice was issued (§ 14b(1) UStG, § 147(3) and (4) AO). Since 2025 the eight-year period also applies to older invoices whose ten-year period was still running at the end of 2024. It is extended for as long as the invoice matters for a tax that has not yet been assessed.
With ZUGFeRD, do I archive the PDF or the XML?
The XML. It is the structured part and has to be kept intact in its original form. You only need to keep the PDF part if it contains additional or different tax-relevant information, such as booking notes (GoBD para. 119). If the PDF and the XML differ, the data in the XML applies.
Is an email inbox enough for e-invoices?
For receiving them, yes; the Federal Ministry of Finance says so explicitly. It says nothing about storing them in the inbox. The GoBD require that records cannot be changed unnoticed, and according to the GoBD, storing them in a file system generally does not meet that requirement. An archive that keeps the original record unalterable is the safer choice.
What does audit-proof (revisionssicher) mean?
The term does not appear in the GoBD. It usually means what the GoBD require: records are complete, stored unalterably or with logged changes, readable at any time and machine-evaluable. According to the GoBD, certificates from third parties are not binding on the tax office.
How does Rechnungskit archive e-invoices?
Rechnungskit archives outgoing invoices as XML under EN 16931 for eight years in immutable storage with a SHA-256 checksum that is verified on every retrieval. The PDF is generated from it when needed. Incoming invoices are stored in their original form, unchanged and encrypted. Your tax advisor and the tax auditor get read access, and you can export the whole archive.
No tax or legal advice

Rechnungskit is not a tax advisory or law firm. This article explains general principles and does not replace advice from a tax advisor (Steuerberater, § 5 StBerG) or a lawyer (§ 3 RDG). Rechnungskit is built for businesses based in Germany and prepares documents, tax rates and bookings automatically. How your specific case is treated remains your decision, ideally together with your tax advisor or a lawyer.

Rechnungskit writes your e-invoices for you.

From every paid order, validated, archived and ready for DATEV. Set up for free, no credit card.

de en