Electronic invoice archiving is not the same problem as deciding how many years to keep a paper folder. Once invoices are XML files, hybrid PDFs or platform-stamped documents, you also have to keep them readable, complete and hard to alter for whatever period the tax and commercial rules require. Those periods differ by country and document type, and they change. This guide explains the integrity questions that apply to e-invoices, how they differ from a general retention policy, and a practical filing method that does not invent a statutory deadline for you. Confirm retention and format rules with official guidance and your adviser. For the broader time-to-keep question, see our existing guide on how long to keep invoices.

How e-invoice archiving differs from keeping PDFs in a folder
A sales PDF dropped into a shared drive can be overwritten, renamed or saved without its attachments. A compliant e-invoice archive usually needs more than that: the legal invoice file (XML, a hybrid PDF/A, or a government-sealed document), evidence of when it was issued or received, and a way to show the file was not quietly edited. In clearance countries the legal invoice may be the file the tax authority stamped. In Peppol or four-corner models it may be the structured message you sent or received. If you only keep a printout, you may have a copy, not the invoice the law will point to.
| What to store | Why it matters |
|---|---|
| The official structured file, not only a screenshot | Many mandates treat the XML or sealed file as the invoice |
| A readable presentation generated from the same data | People and some auditors still need to open a page |
| Identifiers: invoice number, IRN, MARK, hash or stamp | You must be able to find and prove the same document later |
| Inbound and outbound together | Purchase invoices have the same retention problem as sales invoices |
| Credit notes and cancelled documents | Adjustments are part of the audit trail |
National technical rules can be specific. Germany speaks in terms of GoBD-style principles for electronic records. Some countries mention PDF/A or qualified signatures. Others say you must be able to export the file and demonstrate integrity. Do not copy a neighbour country period or format into your policy. Look up the authority that actually taxes the invoice.
Retention periods, accepted formats and integrity rules are set by national tax, commercial and sometimes data-protection law. They vary and they change. This article is general information, not legal, tax or records advice. Check official guidance for each country you invoice in, and do not treat any example below as a guarantee of your legal period.
How long to keep e-invoices — without inventing a number
There is no single worldwide period. Many businesses meet periods of several years, and in some places a decade or more, depending on the tax type, the contract and whether a dispute is open. VAT, corporate tax, employment and public-procurement rules can disagree. If you operate in more than one country, the practical approach is to identify the longest official period that actually applies to that entity and document type, then store the official file for at least that long. Do not shorten a period because a platform dashboard looks tidy.
- Start with official tax-authority guidance for invoice record-keeping in each country, not a blog table.
- Do not assume the e-invoice period matches the paper period without reading the rule; sometimes format duties are extra, and the years are the same.
- Platform storage is not automatically your archive. Ask whether you can export the sealed file if you leave the vendor.
- If a transaction is in dispute or under audit, keep it longer than the ordinary minimum your adviser has identified.
Hybrid formats such as Factur-X are designed so the PDF and the XML travel together. That helps only if you store the intact PDF/A-3 file, not a flattened reprint. Peppol and UBL invoices should be stored as received or sent, with enough metadata to retrieve them by invoice number and trading partner. See also our overview of an electronic invoice.
What still belongs on the invoice you archive
An archive cannot repair a thin invoice. The document you keep should already carry a unique number, dates, legal names, tax identifiers, lines and tax totals, as in how to create an invoice. If your process generates a pretty PDF after the XML, store both only if they match; otherwise store the official file and a rendering produced from it. Staff should not be able to edit a live archive copy the way they edit a draft in a billing tool.
| Habit | Risk if you skip it |
|---|---|
| Write-once storage or a clear version history | An overwritten file is hard to defend |
| Backup and an export test once a year | A vendor shutdown leaves you with a login and no files |
| Index by invoice number, date and counterparty | A seven-year folder named finals is not searchable |
| Access control and an access log for live files | Silent edits or deletions are an integrity problem |
| Document the format (XML, PDF/A, platform export) | A future colleague will not guess what the file is |
Issue a complete invoice first, then store the official electronic file — not only a reprint.
Open the free invoice generatorA practical e-invoice archive checklist
- Map every channel that creates or receives invoices Email PDFs, Peppol access points, tax portals, POS, marketplaces.
- Decide what the legal invoice is in each channel XML, sealed file, hybrid PDF, or paper — then store that.
- Set a retention period with official sources and an adviser One policy per entity is easier than a different guess per clerk.
- Test that you can open a five-year-old file today If current software already fails, later will be worse.
- Plan an exit export from any platform you rely on Get a sample export before you need it in an audit.
- Write a two-page procedure Who stores, who can delete, and who answers a tax-authority request.
Practical tips
Do not keep the only copy on a laptop. Do not treat a sent-mail folder as an archive. Do not password-lock files if you cannot guarantee the password will survive staff changes — use access control instead. And do not shrink a retention period to save storage costs without legal advice. Disk is cheaper than reconstructing invoices you were required to keep.
If you also need anti-fraud evidence, the archive is not a substitute for vendor-master controls, but it is what you will produce when someone asks what invoice was paid. Unique numbers and intact official files are the boring foundation. Confirm the years and the format with official guidance for each country, then follow the longer of your legal and contractual duties.
Exports, staff change and multi-country files
Once a year, export a sample of official invoices from every platform you rely on — Peppol access point, tax portal, billing tool — and open a file from the oldest year you still must keep. If the export is incomplete, or the software can no longer render the XML, you have found the problem while you can still fix it. Write the export steps down so they survive a staff change; an archive that only one person can retrieve is a fragile archive. Access control should prevent silent edits, but it should not depend on a password locked in a leaver’s notebook.
If you invoice in several countries, do not force every official file into one “PDF only” folder. Keep the sealed or structured original, labelled with the country, invoice number and date, and apply the longest official retention period that actually applies to that entity and document type after you have checked official guidance and, if needed, an adviser. Storage cost is the wrong reason to shorten a legal period.
Electronic invoice archiving FAQ
Is e-invoice retention the same as paper invoice retention?
Often the number of years is similar, but e-invoices usually add format and integrity duties. Always check official rules for your country rather than assuming a paper policy is enough.
Can I keep only a printed copy of an e-invoice?
Often no, if the legal invoice is a structured or sealed file. A printout may be a copy. Store the official file and make sure you can still open it later.
Is storage on the tax platform enough?
Not always. Some platforms keep files for a period, others expect you to archive them. Confirm official rules and make sure you can export your invoices if you change provider.
What is a safe format to store?
Store the official invoice as issued or received (XML, hybrid PDF/A, or authority export). Use an archival PDF only when it is the official file or a faithful rendering policy allows. Check local guidance.
Where should I confirm the period?
Official tax-authority and commercial-record guidance for each country, plus your adviser. Do not copy a generic international table into your policy.
Issue a complete invoice first, then store the official electronic file
Create a clear, itemised invoice and download a professional PDF. No sign-up.
- 134 invoice and document types
- 16 country tax presets
- 35 languages


