Guide

GoBD Invoice Archiving for Shopify: Keep Originals, 10 Years, Audit-Ready

Updated 2026-06-13

Most Shopify merchants selling into Germany worry about generating the right invoice format. Fewer think about what happens to that invoice afterwards. German tax law does not just care that you issued a correct invoice, it cares that you can still produce the exact original years later, unchanged, and prove it has not been touched. That set of rules is called the GoBD, and it is where a lot of otherwise tidy Shopify stores quietly fall short.

This guide explains what GoBD-compliant archiving means in practice for a Shopify shop: which file you actually have to keep, how long, what immutability and traceability look like day to day, and why re-printing a PDF from your order history is not enough.

Faktwise is invoicing software, not a tax advisor. This article describes how the rules work so you can set things up sensibly, but for your specific situation talk to your Steuerberater.

What GoBD is, in plain terms

GoBD stands for the German principles for the proper keeping and storage of books, records and documents in electronic form, plus data access (Grundsätze zur ordnungsmäßigen Führung und Aufbewahrung von Büchern, Aufzeichnungen und Unterlagen in elektronischer Form sowie zum Datenzugriff). It is administrative guidance from the German Finance Ministry rather than a single statute, and it is principles-based. There is no government stamp of approval for archiving software, and no official GoBD certificate. Any “GoBD-certified” badge you see is a voluntary marketing claim, not a state credential.

What matters is that your records meet the principles. For an online store, the ones that bite hardest are completeness, accuracy, the ban on alteration (immutability), traceability, and availability for the whole retention period.

How long you have to keep invoices

Since 1 January 2025 the legal minimum retention period for invoices in Germany is eight years (§ 14b UStG and § 147 AO, down from the previous ten). The clock starts at the end of the calendar year in which the invoice was issued, so in practice you are storing each invoice for eight full years plus the tail of the issue year.

Eight years is the floor. Many merchants and advisors still keep records for ten, both out of habit and because other documents in the same accounting context can carry longer periods. Faktwise archives for ten years as a policy so you are never the one who deleted something a year too early.

The rule that catches Shopify merchants: keep the original format

Here is the single most misunderstood point. GoBD requires you to keep the document in the format you received or issued it in. For a structured e-invoice, the original is the machine-readable file, not a printout of it.

Walk through what that means for the two German formats:

So a PDF you re-print from Shopify’s order page, or a PDF your accountant generated for a human to read, is not a substitute for the original e-invoice. From the point the German B2B mandate makes a plain PDF stop counting as an e-invoice, the same plain PDF also stops counting as the archived original. You need to retain the actual structured file that left your system.

This connects directly to the formats themselves. If you are still getting up to speed on XRechnung, ZUGFeRD and the German timeline, the Shopify e-invoicing in Germany guide covers what counts as an e-invoice and which profiles qualify.

Immutability: you do not edit invoices, you correct them

GoBD’s unalterability principle means that once a document is booked, it must not be changeable without that change being recorded. For invoices this has a very practical consequence: you never edit or delete an issued invoice.

If something is wrong, or an order is refunded, you do not reach into the archive and fix the file. You issue a separate correcting document, a credit note (Storno or Gutschrift), that references the original. Both documents stay in the archive. The trail shows what happened and when, which is exactly what an auditor wants to see.

This is also why invoice numbering matters for archiving. § 14 UStG requires invoice numbers to be unique. Gap-free numbering is not strictly required by law, but auditors question every gap, so the safe practice is a gap-free sequence per series, with cancellations handled by credit notes rather than by deleting a number out of the middle. An archive that can show an unbroken, immutable sequence is far easier to defend than one with holes someone has to explain.

Traceability: every invoice should be findable and verifiable

Beyond keeping the file, GoBD expects your records to be traceable and your process to be documented. In practice that means a few things you should be able to demonstrate:

What German auditors actually look for

When a Betriebsprüfer (tax auditor) reviews an online store, the archiving questions tend to be concrete:

  1. Can you produce the original e-invoice on request, in its original format? For a ZUGFeRD invoice that means the PDF/A-3 with embedded XML, for XRechnung the XML itself.
  2. Is the numbering consistent? Unique numbers, and ideally gap-free per series, with any cancellation visible as a credit note rather than a missing entry.
  3. Can the data be accessed? German rules give auditors a right of data access. Being able to export the relevant invoices and data, rather than only showing them on screen, makes this painless.
  4. Has anything been altered? They will be alert to signs that invoices were edited after the fact. A clean immutable archive with credit-note corrections answers this before it is asked.
  5. Is there a procedural description? A short, honest Verfahrensdokumentation goes a long way.

None of this is exotic, but it is hard to bolt on after the fact. The store that wins an audit is the one that was archiving correctly from the first sale.

Why a re-printed PDF is not enough

It is worth stating plainly, because it is the trap. Pulling up an order in Shopify and printing or downloading a PDF gives you a human-readable picture of the sale. It does not give you:

A re-print is a view of the data as it looks today, not a preserved record of the document as it was issued. For GoBD that distinction is the whole point.

A sensible setup for a Shopify store

You do not need a heavyweight document-management system to get this right. You need an invoicing flow that:

If you sell B2B across the EU, the same archive should also hold your reverse-charge and intra-EU invoices with their correct exemption wordings. The reverse charge for intra-EU Shopify sales guide covers when those apply.

FAQ

What is the original format I have to keep for a ZUGFeRD invoice?

The complete PDF/A-3 file with its embedded CII XML (the factur-x.xml). If you flatten or re-export it to an ordinary PDF, you remove the embedded XML and no longer hold the original e-invoice.

Is a PDF saved from my Shopify order page GoBD-compliant?

Not on its own. It is a re-rendered view of the data, not the preserved original structured invoice, and it gives no immutability guarantee. You need to retain the actual file that was issued, in its original format.

How long must I keep invoices in Germany?

Eight years since 1 January 2025 (§ 14b UStG, § 147 AO), unchanged and machine-readable, in the original format. Many merchants keep them for ten to be safe.

Can I correct an invoice if I made a mistake?

You do not edit the issued invoice. You issue a credit note that references it, and keep both in the archive. Editing or deleting a booked invoice breaks the GoBD immutability principle.

Do I need GoBD-certified software?

No. GoBD is principles-based and the German Finance Ministry does not certify invoicing or archiving software. A “GoBD certificate” is a voluntary marketing claim. What matters is that your actual records and process meet the principles.


If you would rather not manage any of this by hand, Faktwise is a Shopify app that creates a German invoice or e-invoice automatically when an order is paid, in ZUGFeRD 2.x/Factur-X and XRechnung, and keeps the original file in a GoBD-style archive for ten years. It uses unique, gap-free-per-series numbering, issues automatic credit notes on refunds instead of editing anything, validates every file against the official KoSIT validator, and lets you find and export any invoice for an audit. EU-hosted in Paris, free for up to 5 invoices a month, then a flat founding price of €19/month. See pricing for the current plan. It handles the archiving so you do not have to think about it, though your Steuerberater stays the right person for advice on your specific obligations.