E-Rechnungspflicht
  1. Home
  2. Archiving German E-Invoices

Archiving

Archiving German E-Invoices: What UStG and GoBD Require for XML and PDF

Keep German e-invoices 8 years in the format received; the XML must stay unaltered. UStG, UStAE and GoBD rules, as of 3 December 2026.

Updated: 3 December 2026 · By the E-Rechnungspflicht Editorial Team · How we check facts · Print this page

Summary

German law requires a business to keep every invoice it issues or receives for eight years, and for an E-Rechnung (e-invoice) at least the structured part must be kept unaltered, in the form in which it was received (§ 14b(1) sentence 1 UStG; section 14b.1(1) sentences 2 and 4 UStAE).

The German VAT Act (Umsatzsteuergesetz, UStG) and its application decree (Umsatzsteuer-Anwendungserlass, UStAE) set this rule.

An E-Rechnung is an invoice in a structured electronic format, issued, sent and received in that format (§ 14(1) sentence 3 UStG). Every other invoice is a sonstige Rechnung ("other invoice"), such as paper or a plain PDF (sentence 4). The basics of German e-invoicing are on the home page.

This page covers the eight-year period, the structured part, hybrid files, conversion limits and the storage place, as of 3 December 2026. The GoBD (the BMF principles for the proper keeping of books, records and documents in electronic form) run alongside the VAT rule. For an individual case, ask a tax adviser.

German e-invoice archiving at a glance

Five rules cover the archiving of a German E-Rechnung: keep it eight years, keep the structured part as received, keep it readable and unaltered for the whole period, store it in Germany or, with online access, elsewhere in the EU, and expect the GoBD to apply alongside the VAT rule. They bind issuer and recipient alike, and receiving has applied since 1 January 2025.

The dates from which businesses must issue E-Rechnungen are set out in the timeline of the issuing dates. Table 1 shows the archiving rules with their legal basis.

Rule What applies Basis More
Period Eight years for the copy of every issued and every received invoice, from the end of the invoice year § 14b(1) sentences 1 and 3 UStG
Format Keep as received; for an E-Rechnung at least the structured part, unaltered section 14b.1(1) sentences 2 and 4 UStAE
Hybrid invoice The XML suffices; the PDF part only with additional or deviating tax-relevant information GoBD Rz. 119 (14 July 2025) ZUGFeRD
Conversion No conversion that deletes the XML GoBD Rz. 125 example 10 (14 July 2025)
Place Germany, or the rest of the EU with online access; a business not established in Germany designates an EU place § 14b(2) UStG
Retention periods of other documents Not answered here; German edition only

The archiving rules for German e-invoices, as of 3 December 2026. Rz. = Randziffer, margin number of the GoBD.

Eight years, counted from the end of the invoice year

A business must keep a copy of every invoice it issued and every invoice it received for eight years (§ 14b(1) sentence 1 UStG), and the period starts at the end of the calendar year in which the invoice was issued (sentence 3).

The Fourth Bureaucracy Relief Act (BGBl. 2024 I No. 323) replaced the former ten years with eight, with effect from 1 January 2025.

Take an example without extension: an invoice issued on 15 March 2025 starts its period on 31 December 2025, and the period ends on 31 December 2033. The start is the end of the year, never the invoice date.

Eight years is not an absolute end. The period does not expire while the documents matter for a tax whose assessment period has not yet expired (§ 147(3) sentence 5 of the German Fiscal Code, Abgabenordnung, AO).

The periods of other documents, such as books and annual accounts, are on a page not yet available in English.

What to keep: the structured part, as received

The VAT rule starts from the format in which the invoice arrived: "The retention of an invoice must in principle take place in the format received" (section 14b.1(1) sentence 2 UStAE, quoted in English).

For an E-Rechnung at least the structured part is kept so that it exists unaltered in its original form (sentence 4), and the tax authorities must be able to evaluate it by machine (section 14b.1(5) sentence 4 UStAE).

XRechnung: the XML is the invoice

An XRechnung consists of XML only, so the XML file is what the business keeps.

The BMF FAQ on the E-Rechnung (as of October 2026), question 12a, states that an XRechnung contains no additional image of the invoice in the form of a PDF file. A human-readable document need not be created (section 14.4(3) sentence 3 UStAE).

A viewer displays the XML for the human eye, but the viewer's rendering is not the record. Storing only a rendering is not the rule, because the structured part is the invoice. More on the format is on the XRechnung page.

ZUGFeRD and other hybrids: the XML leads, the PDF only with extra information

In a hybrid invoice such as ZUGFeRD, the data in the structured part is the leading part, and if the two parts differ the structured data prevail (section 14.4(3) sentences 5 and 6 UStAE). A hybrid file is a PDF that carries the XML inside it.

GoBD Rz. 119 (as amended by the BMF letter of 14 July 2025) says it suffices to keep only the structured part. The human-readable part must be kept only if it holds additional or deviating information relevant for tax, for example booking notes. Rz. 131 adds qualified electronic signatures to that list.

In practice, keep the ZUGFeRD file as received. The XML inside it is the part the rules protect, and the PDF part is also in that file. Format details are on the ZUGFeRD page.

Why converting the XML away is not allowed

A format conversion that deletes the structured data is not allowed. GoBD Rz. 125, example 10 (as amended on 14 July 2025), says the XML must exist and must not be deleted by converting it, for example into TIFF.

A received structured data set needs a match in content only, not in appearance, "deviating from § 147(2) no. 1 AO" (GoBD Rz. 118).

Where a business converts a document into an in-house format, Rz. 135 of the 2019 letter lets the converted version stand alone only under four conditions.

Nothing may change in content or appearance, nothing retention-relevant may be lost, the conversion must be documented, and evaluation and data access must not be restricted. Otherwise both versions are kept.

Two layers of rules: the VAT Act and the GoBD

For VAT purposes, storing an E-Rechnung outside a GoBD-conforming data processing system alone regularly does not breach § 14b(1) UStG or the integrity of the content (section 14b.1(1) sentence 5 UStAE; BMF FAQ on the E-Rechnung, question 13). The wording says "regularly", and the page quotes it as written.

The same UStAE says AO and GoBD retention duties "remain unaffected for purposes other than VAT" (section 14b.1(6) sentence 3). Books and records therefore keep following the GoBD. The GoBD do not stop applying to E-Rechnungen, and a GoBD archive is not a VAT requirement.

The GoBD base letter is dated 28 November 2019 and was amended on 11 March 2024 and 14 July 2025. The tax authority may ask for a machine evaluation of retained data (§ 147(6) AO; GoBD Rz. 166). The BMF letters page lists the letters behind these rules.

Where the invoices may be stored

An entrepreneur established in Germany must in principle keep invoices in Germany, but electronic storage with full online access, download and use may also be in another EU territory (§ 14b(2) sentences 1 and 2 UStG; as read on gesetze-im-internet.de on 3 December 2026).

The business tells the tax office the place if it is not in Germany (sentence 3).

An entrepreneur not established in Germany must designate a storage place in the EU or the territories named in the section. On request, the business must give the tax office all invoices and data, or substitute media, without delay. If it fails, the office may demand storage in Germany (sentences 4 to 6).

Storage outside the EU is subject to the procedure of § 146(2b) AO, and the law text gives no further conditions in § 14b. This page does not say whether a particular foreign business is covered. Ask a tax adviser about an individual case.

What does not need to be archived

An e-mail that only carried an invoice as an attachment is not kept as such, because GoBD Rz. 121 treats the e-mail like the old paper envelope. The attached invoice itself is kept.

For an outgoing invoice created in an invoicing program, no image copy is needed if an identical duplicate can be produced at any time on request (GoBD Rz. 76 as amended).

The recipient also has no duty to process an E-Rechnung further than retention requires (BMF FAQ, question 9). More on receiving E-Rechnungen is on the receiving page.

Status as of 3 December 2026

As of 3 December 2026, § 14b(1) sentence 1 UStG reads "acht Jahre" (eight years) on gesetze-im-internet.de, and the GoBD were last amended by the BMF letter of 14 July 2025, applicable from that date (Rz. 185).

The BMF FAQ on the E-Rechnung (as of October 2026, question 13) cites the GoBD as last amended on that date, and section 14b.1 UStAE is cited as amended by the BMF letter of 15 October 2025.

Questions at the edge of archiving

The three answers below stay short and name the instrument; the periods of other documents and the procedural documentation have no English page yet. See also how we check facts.

Is a printout of an e-invoice enough?

No: for an E-Rechnung at least the structured part must be kept unaltered in its original form (section 14b.1(1) sentence 4 UStAE), and a PDF is a sonstige Rechnung, not the E-Rechnung.

Is there an official GoBD certificate for archive software?

No state GoBD certificate exists; a statement that software is GoBD-conforming is the vendor's own claim. For software that supports archiving, see the provider overview.

Do the eight years apply to invoices from before 2025?

The eight-year rule applies to all invoices whose retention period had not expired on 31 December 2024 (§ 27(40) sentence 1 UStG). For banks, insurers and investment firms it applies only to invoices whose period had not expired on 1 January 2026 (sentence 2); the transition by document type is in the German edition only.

Describe your request

Tell us in a few lines what you need for German e-invoicing. We pass your request to independent providers.

What do you need help with?

Requests go only to independent providers, and no placement on erechnungspflicht.com is for sale; the details are in the editorial policy.

Sources