Skip to content

Archive invoices so they stay readable for the years the law asks

By the getPDF team · Published 12 October 2026

The short answer

In Germany invoices must be kept for 8 years (10 before 2025), readable and unchanged the whole time. For received invoices that mostly means keeping the original file untouched, in a dated folder, with a second copy elsewhere; converting it to PDF/A is not required and can break an e-invoice. PDF/A is worth it for documents you make yourself. Inspect shows on your device whether a file claims PDF/A and what would make it fail.

Try it here, nothing is uploaded

PDF · any size

This page is about the archive: how long, in what form, and the routine that keeps a folder of invoices usable in 2034. What PDF/A is in detail lives in What PDF/A is; making one from Word or LibreOffice in Create a PDF/A. This explains rules and files; it is not legal or tax advice.

How long must invoices be kept?

Germany shortened the period in 2025. Checked on 12 October 2026:

What How long Source
Invoices you issue and receive, and other booking vouchers 8 years since 1 January 2025 (10 before) Section 14b of the VAT Act (UStG); section 147 of the Fiscal Code (AO), changed by the fourth Bureaucracy Relief Act (BEG IV)
Books, annual accounts, inventories 10 years Section 147 AO
Banks, insurers, investment firms 10 years still BEG IV, as summarised by EY

The period starts at the end of the calendar year the invoice was issued, so an invoice from 10 October 2026 may go in January 2035. The shorter period also covered records whose 10 years had not yet run out by the end of 2024. Other countries set their own periods.

The law asks for more than storage. Section 14 of the VAT Act says the authenticity of origin, the integrity of the content and the readability of an invoice must be ensured, and section 14b says that holds for the whole retention period. Readable and unchanged, for 8 years: that is the job.

What makes a PDF stay readable for 8 years?

Most PDFs from the last 20 years still open fine, and most will in 2034. The ones that fail tend to fail for a few reasons:

  • Fonts that are not in the file. A viewer then substitutes another font, and in a bad case shows the wrong characters.
  • Encryption. A password nobody remembers in 2033 locks the invoice away for good.
  • Outside dependencies: colours defined only by the device, content fetched from elsewhere, scripts that draw parts of the page.

PDF/A is the archive version of PDF that forbids exactly these: every font embedded, no encryption, no scripts, nothing outside the file. A file that truly meets it renders the same in any future viewer that supports the standard.

A box labelled PDF/A holding embedded fonts, pictures, colour profile and, for PDF/A-3, the attached invoice XML. Outside the box, crossed out: scripts, encryption and links to outside content.PDF/A: everything insideFonts, embeddedevery letter usedPicturesin the fileColour profilecolours definedfactur-x.xmlPDF/A-3 onlyScriptsEncryptionOutside contentnot allowed in PDF/A
A PDF/A keeps everything it needs inside the file and leaves out what could break later. For a ZUGFeRD e-invoice, PDF/A-3 also holds the invoice's XML as an attached file.

Do received invoices need converting?

Usually not, and often they must not be. The duty is to keep the invoice unchanged. A converter rewrites the file, and the version you archive is then not the one you received. Most invoices from accounting software already embed their fonts and carry no password, which is what readability needs in practice.

E-invoices raise the stakes. For a ZUGFeRD or XRechnung, the structured XML is legally the invoice; the page you see is a convenience. The German tax administration’s rules for electronic records (the GoBD, as changed by the Federal Ministry of Finance on 14 July 2025, summarised by KPMG; checked on 12 October 2026) say the XML part is what must be kept, and the readable PDF part only when it carries extra tax-relevant information. The simple way to satisfy that and everything else: keep the file exactly as it arrived. A ZUGFeRD PDF holds both parts in 1 file.

Check what you have, on your device

Drop an invoice on Inspect above and read 4 sections:

  1. Fonts: each should say “embedded”. “not embedded” is the commonest readability risk.
  2. Security: Encrypted should say “no”.
  3. Attachments: an e-invoice in ZUGFeRD format shows its XML here by name, such as factur-x.xml.
  4. XMP metadata: PDF/A part and PDF/A level show what the file claims, such as 3 and B for PDF/A-3b.

We built a test ZUGFeRD-style invoice that claims PDF/A-3b. Inspect showed “PDF/A part 3”, “PDF/A level B”, “Has 1 attached file: factur-x.xml”, and both of its fonts, Helvetica and Helvetica-Bold, as not embedded, with the line “Some fonts are not embedded; other devices may draw them differently”. A real PDF/A must embed its fonts, so this file’s claim is false. That is the lesson in miniature: the PDF/A line is the file’s word, not a check. The free validator of record is veraPDF (verapdf.org).

Which tools break an archived invoice?

Any tool that writes a new file can change what you must keep unchanged. We ran getPDF’s tools on that test invoice (12 October 2026):

Tool The attached XML The PDF/A claim What the result says
Merge, Extract pages Gone Gone Warns the new file is not PDF/A, names factur-x.xml as not in the result and says to keep the original
Remove metadata Kept Gone Warns the cleaned file is no longer PDF/A
Compress, Metadata removed Kept Gone Warns the result is no longer PDF/A
Compress, Metadata kept Kept Kept File returned unchanged (nothing to shrink)
Page numbers Kept Still claimed No PDF/A warning on PDF/A-2 or 3 with an output intent, since the added font is embedded; a PDF/A-1 file is warned
Protect Kept Not PDF/A Warns the protected copy is not PDF/A
Flatten Kept Kept Nothing to flatten here

The rule that follows: the archive copy is never the working copy. Merge invoices for a spreadsheet, stamp them PAID, number them for an auditor, all on copies. The original goes in the archive folder and nothing touches it again.

A free archive routine

  1. 1 folder per year, with subfolders for issued and received.
  2. Filenames that sort: 2026-10-10_studio-lumen_2026-0412.pdf, date, supplier, invoice number. An auditor’s question (“invoice 2026-0412 from October”) finds it in seconds.
  3. Originals only, untouched. Save the email attachment as it came. For an XRechnung, that is the .xml file itself.
  4. Your own forms, flattened. A filled PDF form you made or completed (an order form, a delivery note) depends on form support to show its values. Flatten PDF turns the values into page content first. On our test invoice Flatten kept both the attached XML and the PDF/A claim, but it has no business touching a received e-invoice; use it on your own documents.
  5. 2 copies on 2 different media, one of them away from the office: an external drive and a cloud folder, say. Check once a year that a few random files still open.
  6. Produce your own invoices as PDF/A from your invoicing software or the export dialog of Word or LibreOffice, so what you issue is archive-ready from the start.
Flatten PDFTurn a filled form's values into page content before it goes in the archive. Free, runs on your device.

The honest part

getPDF does not convert to PDF/A and does not validate it. Inspect shows the claim and the commonest failures; veraPDF decides. To convert an existing PDF, the options we know of: Acrobat Pro; the PDF24 Creator desktop app for Windows, which works offline and offers PDF/A under “Convert PDF to” (its own help pages, checked on 12 October 2026; users report some files need a second try with other colour settings); and LibreOffice, which exports PDF/A from documents it can edit. PDF24’s online tools upload the file (our PDF24 comparison).

Merge leaves an e-invoice’s XML out. The result says so, by name: “That XML is what makes it an e-invoice: keep the original for your records and for the recipient.” Split, Extract pages and Organise do the same. Merge your originals only into work copies.

Retention is a legal question with details this page leaves out: scanning paper and destroying the original, records for audits in progress, and other countries’ periods. Your tax advisor has the answer for your case. For the e-invoice background and deadlines, see E-invoices and business PDFs.

Questions

How long must I keep invoices in Germany?

8 years for invoices and booking vouchers since 1 January 2025, counted from the end of the calendar year the invoice was issued; it was 10 before. Books and annual accounts stay at 10 years. Source: section 14b of the German VAT Act. This explains the rule; it is not tax advice.

Do I have to convert received invoices to PDF/A?

No law we know of demands PDF/A for invoices. The duty is to keep the invoice readable and unchanged. Converting a received invoice changes it, and for an e-invoice it can drop the XML that is legally the invoice. Keep the file you received.

Is a scan of a paper invoice enough?

Often, yes, under the rules for replacing paper with scans, but those rules come with process duties. Ask your tax advisor before you throw paper invoices away.

Can getPDF convert my PDFs to PDF/A?

No. Inspect shows whether a file claims PDF/A and the commonest reasons it would fail, on your device. To make a PDF/A, export it from Word or LibreOffice, or use a converter such as Acrobat Pro or the PDF24 desktop app.

The tools for this job