What it is
Archiving requirements are the rules that determine how, where, and for how long a business must retain its invoices after issuing or receiving them. For paper invoices this used to mean a filing cabinet. For e-invoices it means an electronic storage system that preserves the original structured file (the XML, in EU e-invoicing) in its original form, with cryptographic or procedural guarantees that it has not been altered since issue.
In the EU the baseline obligation is set by Article 247 of the VAT Directive (2006/112/EC), which leaves the actual retention period to each Member State. The corresponding integrity and audit obligations are in Article 233, which requires the authenticity of origin, the integrity of the content, and the legibility of the invoice to be ensured from issuance until the end of the storage period.
For ERP vendors and their customers, archiving requirements are the part of EN 16931 compliance that often gets discovered too late — after the integration is built, after the first audit notice arrives, after a regulator asks for the original XML and the system can only produce a PDF rendering.
The three pillars: authenticity, integrity, legibility
Article 233 of the VAT Directive imposes three requirements on every stored invoice:
The three pillars apply equally to issued and received invoices, and equally to paper and electronic. The standard is the same; the implementation differs.
Retention periods by country
Member States set the storage period themselves under Article 247(1). The numbers below are the periods specifically relevant to issued and received invoices; longer periods may apply to related documents (contracts, real estate, etc.).
The asymmetry matters in cross-border B2B: the seller's archiving period is set by the Member State of the supply (usually the seller's establishment), and the buyer's archiving period is set by their own Member State. A French seller and a German buyer face different statutory periods over the same invoice.
What must actually be stored
The modern consensus, reinforced by the 2025 GoBD amendment in Germany and by the French PDP archiving rules, is that the original structured XML must be retained in its original form for the full retention period. Storing only a PDF rendering is not compliant — the PDF has lost the structured data that the original XML carried, and a regulator's request for "the original invoice" cannot be answered by handing over a derived rendering.
For hybrid invoices (ZUGFeRD, Factur-X) the XML is embedded inside a PDF/A-3 container, which means the container as issued is itself a valid archive copy provided no embedded element is stripped or replaced. For pure UBL or pure CII invoices, the XML must be archived separately; rendering for human viewing is the responsibility of a viewer (typically an XSLT stylesheet) at retrieval time.
In practice this means an archiving system needs:
1. The original XML, byte-for-byte as issued, indexed and retrievable by invoice number and date.
2. A demonstrable integrity guarantee — a hash, a signature, a WORM-storage attestation, or a controlled audit trail.
3. A viewer toolchain — XSLT stylesheets and a renderer — that can produce a human-readable rendering on demand throughout the retention period, including in 9 years' time when the staff that built the original integration are long gone.
4. An export interface — most tax authorities can request invoices for inspection in bulk, and "call our DBA" is not an answer that survives an audit.
Why ERP vendors get this wrong
The most common archiving failures we see in EU e-invoicing implementations are not about retention periods — those numbers are easy to look up. They are about format and integrity:
Relation to EN 16931
EN 16931 does not impose archiving requirements directly — it is a syntax-and-semantics standard, not a storage standard. But the moment an EN 16931 invoice has been issued or received under VAT law, the VAT Directive's Article 233 and 247 obligations attach to it. From the regulator's point of view, the EN 16931 invoice and the archiving obligation are one continuous compliance surface. An ERP that ships UBL 2.1 invoices but cannot produce them again in their original form 9 years later has solved half the problem.