Guide · AT-R25REV. 2026-A

How to keep e-invoice records for eight years

An e-invoice is a file, and files disappear more quietly than ring binders. The structured part generally has to remain in its original format for eight years, unchanged and retrievable. With hybrid formats, tax-relevant information in the visible part may have to be kept as well. A mailbox on its own is not a reliable place to keep it. What you need is a deliberately set-up archive, and it does not have to be a big purchase.

By Felix GötzManaging director · qualified IT officer (Informatikkaufmann, IHK)Last updated:

Eight years from the end of the calendar year

The period is set out in § 14b UStG (German VAT Act) and § 147 AO (German Fiscal Code) and is eight years for invoices. Until the end of 2024 it was ten; it was shortened on 1 January 2025. For banks, financial services providers, insurers and investment firms it remains ten years. It is counted not from the invoice date but from the end of the calendar year. An invoice from August 2026 therefore has to be kept until at least 31 December 2034, and beyond that for as long as it is needed for a tax assessment that is still open. So plan for nine years of storage, not eight.

For all other records, from the cash book to business letters, the retention period calculator works out the period and the disposal date for each type of record, with the relevant section of the law.

When your business has to start issuing e-invoices itself, and what applies to businesses under the small-business VAT scheme (Kleinunternehmer), is explained in our guide to the e-invoicing obligation. The e-invoice check tells you in three questions which deadline applies to you. This page is about what comes afterwards.

What you must retain in its original format

For XRechnung, retain the original XML file. For ZUGFeRD, retain at least the embedded XML unchanged in its original format. If the visible PDF part contains additional or differing information relevant to taxation, retain that part as well. You can do this by keeping the complete PDF/A-3 file with its embedded XML. A printout or a later PDF viewing copy without structured data is insufficient.

That sounds like hair-splitting, but it has a very practical side. The most common mistake we come across goes like this: the XML file arrives by e-mail, someone opens it in the accounting software, prints the view to PDF and files that PDF. The e-mail goes in the bin, because the invoice is “in there” after all. The original is now gone, and nobody notices until someone asks for it.

EIGHT YEARS OF RETENTIONINBOXends hereARCHIVEsecured20262034New computerNew email providerNew software

Why a mailbox fails as an archive

A mailbox is an inbox. It is built for things to arrive, not for something to lie untouched for nine years. Four ways invoices disappear from it:

  • Replacing the computer. If the account is collected via POP3, the messages exist only on that one device. When you move to a new machine they often get left behind, because nobody asks about them during setup. What to watch out for is explained under moving your data to the new computer.
  • Changing provider. Moving to another e-mail provider usually carries the mailboxes across, but not always completely and almost never with proof. Nobody checks afterwards whether the supplier invoice from 2027 is still there.
  • Closing a mailbox. The employee who received supplier invoices leaves the company. The business closes the mailbox to save the monthly fee and loses records with another six years left on their retention period.
  • Clearing out old messages. Storage fills up and the mail app slows down. Someone deletes everything from before 2028 to get back to work.

Even when the invoice survives, you have to find it. Searching forty thousand messages for a supplier invoice from March 2027 is a poor way to start a tax audit.

Unalterable, without specialist software

The GoBD (Germany’s principles for proper digital bookkeeping) require that a document can no longer be changed unnoticed once it has been received. In a data centre that means an archive system with an audit log. In a business with eight employees it usually means less:

  • Keep the archived originals unchanged. Make accounting entries and adjustments in your accounting software.
  • Only those who need it for filing have write access to the folder. Everyone else may read.
  • The backup keeps older versions instead of just mirroring the current state. A synchronised cloud folder does not do this: whatever is deleted is deleted everywhere.

How to organise the archive

The structure that lasts is unspectacular: one folder per financial year, with incoming and outgoing beneath it. Within that, the file name decides whether something can be found.

2026-03-14_Musterbau-GmbH_RE-2026-0817.xml

The date comes first, so that the folder sorts in date order. Then the sender, then the invoice number. A ZUGFeRD file gets the same name with the extension .pdf. If you also want a viewing copy, put it alongside: in addition, not instead.

The location matters more than the structure. It belongs on storage that is backed up, and that backup should be built on the 3-2-1 rule. Whether it holds up only shows when you restore from it; that is what the restore test is for. An archive without a tested backup is just a folder with a tidy name.

The point almost everyone forgets

Keeping a file and being able to open it are two different things. Eight years bring more change than you expect when you set up the folder.

With XRechnung there is little to worry about: XML is text that any program will still be able to read in 2034. It becomes critical when the archive lives inside the accounting software. If the licence runs out or you change provider, the records are stuck in a database you can no longer get at. So before you buy, ask how all records can be exported as individual files, and get the answer in writing.

The second stumbling block is an encrypted drive whose key nobody has any more after a change of staff. The files are then still there and lost all the same. Where the recovery key is kept belongs on the same sheet as your other access details.

One habit protects against both: once a year, open an invoice from the oldest folder. It takes five minutes and is the only proof that the archive still does what it was set up to do.

Common questions

Is it enough to print the e-invoice and file it?

No. At least the structured part must be kept unchanged in its original format. For ZUGFeRD, keep the PDF part as well if it contains additional or differing tax-relevant information. You can keep a printout as an extra copy.

May I also store an ordinary PDF?

Yes. A viewing copy is allowed and makes day-to-day work easier, because you can look at the invoice without specialist software. It sits alongside the original, not in its place.

Do I need an audit-proof archive system?

Not necessarily. What is required is that the records stay unchanged and can be found within a reasonable time. An archive system is one way to achieve that; an orderly folder structure on secured storage is another. With a few hundred invoices a year, a dedicated system is usually effort with little to show for it.

Does the same retention period apply to invoices I issue?

Yes, outgoing invoices too, in the format in which they were sent. Many programs file them automatically. It is still worth checking that the e-invoice file itself is stored there and not just a print image.

When exactly does the period end?

It starts at the end of the calendar year in which the invoice was issued. An invoice from 2026 may therefore be deleted after 31 December 2034 at the earliest. If a tax audit is under way or the assessment period is still open, the period is extended.

Does a synchronised cloud folder count as an archive?

Not as the only place you keep them. Synchronisation passes on deletions and overwrites as well. Providers’ recycle bins and version histories go back a few weeks, not eight years. As one of several copies, such a folder is useful.

+49 3744 4399760Mon–Fri 8:00–17:00
CallCallback

PARTS LIST · SHEET 1/1

What this page is made of

Values measured at build time. With JavaScript, your browser measures them again live.

ITEMPARTTYPESIZE
01index.htmlDocument≈ 29 kB
02styles.cssStylesheet≈ 20 kB
03scripts.jsScript≈ 13 kB
04archivo-variable.woff2Font≈ 58 kB
05ibm-plex-mono.woff2Font≈ 30 kB
06favicon.svgImage< 1 kB

Advertising or analytics cookies: none. Without your consent, the page loads nothing from third-party servers apart from Cloudflare, our delivery service. Fonts, scripts and images are hosted by us. That is how we build your IT, too.

OUTSIDE OFFICE HOURS

Feel free to call anyway

Our regular office hours are Monday to Friday, 8:00–17:00.

In the evening and at weekends the number is forwarded to us, and often someone will pick up. We cannot promise that, though.

If nobody answers, leave a short message on the voicemail: your name, your number and what it is about. We will call back as soon as we can, on the next working day at the latest.

The call costs nothing. If someone has to start work straight away outside office hours, the surcharge in the price list applies.

Call now+49 3744 4399760

Prefer to write? Use the contact form or e-mail [email protected]. We will read it on the next working day.

DIAGNOSIS · AT-K2

What do you need help with?

↵ SELECTESC CLOSECALL: +49 3744 4399760

Custom settings

Which services may load?

Strictly necessary

The choice you make here and your settings for colour scheme and motion. These are kept as small entries on your device and are never sent to a server. They are needed for the site to work and therefore cannot be switched off.