Go to main content
Certyneo

Electronic Invoice Archiving: Legal Duration, Obligations and Evidential Value

How long should you keep an electronic invoice? What rules guarantee its evidential value? A comprehensive overview of current legal obligations.

Pôle Conformité & eIDAS13 min read
a close-up of a store shelf

With the generalization of electronic invoicing 2026-2027 imposed by the 2020 Finance Act and its implementing decrees, French companies must master the archiving rules for their dematerialized invoices. Preserving an electronic invoice is not simply a matter of storing it on a hard drive: the law requires a minimum duration, strict integrity conditions, and the ability to produce the document in the event of a tax audit or dispute. Poor archiving exposes you to tax assessments that can reach several years of VAT. This article reviews the applicable legal durations, the technical storage requirements, the concept of evidential value, and the key role of the digital vault.

---

The question of the legal retention period is at the heart of financial directors' and CFOs' concerns. Several legal texts apply simultaneously, and their deadlines may differ depending on the nature of the document or the evidence sought.

6 Years Minimum for Tax Law

Article L. 102 B of the Tax Procedure Code (LPF) sets a 6-year mandatory retention period for documents subject to the tax authority's right of access. This period runs from the date of the last transaction mentioned in the books or records concerned. In practice, an invoice issued in January 2025 must be kept until at least January 2031.

Furthermore, Article L. 169 of the LPF provides for a VAT deduction recovery period of up to 3 years. In the event of fraud, this period is extended to 6 years. Invoices are the primary supporting document for exercising the right to deduct VAT: their absence during an audit results in automatic rejection of the deduction right.

10 Years for Commercial Law

Article L. 123-22 of the Commercial Code requires a retention period of 10 years for all accounting documents, from the close of the fiscal year to which they relate. Invoices, being accounting documents, fall under this obligation. This 10-year period is generally accepted as the market standard, as it covers both tax and commercial obligations.

In practical terms, an invoice relating to the fiscal year ended December 31, 2025 must be preserved until December 31, 2035.

5 Years for Civil Law Obligations

Under the Civil Code, the general limitation period is 5 years (Article 2224). However, certain contractual liability actions can run for up to 10 years. For invoices relating to construction or real estate work contracts, the ten-year warranty requires retention of at least 10 years. It is therefore always better to align with the maximum applicable duration.

---

Technical Requirements for Legally Valid Archiving

Simply preserving an electronic invoice for 10 years is not enough: the preservation must guarantee the integrity, readability, and authenticity of the document throughout the retention period. This is what legal professionals call evidential value.

Article 289 of the French Tax Code (CGI), as amended by Ordinance No. 2022-1299 of October 7, 2022, establishes three cumulative conditions for an electronic invoice to be enforceable against the tax authority:

  1. Authenticity of origin: the identity of the sender must be certain, guaranteed by a qualified electronic signature under eIDAS regulation, or by a secure EDI (electronic data interchange).
  2. Integrity of content: the invoice must not have been modified since its issuance. A qualified electronic timestamp associated with the signature guarantees this immutability.
  3. Readability: the format must remain usable throughout the retention period, even in the event of changes to the information system.

The Factur-X (PDF/A-3 with embedded XML data) and UBL 2.1 formats meet these requirements, provided appropriate storage is maintained. To fully understand the hybrid format, the Factur-X: the Franco-German electronic invoice format page guides you step by step.

The Reliable Audit Trail (RAT): an Alternative to Electronic Signature

Since January 1, 2013, companies may also satisfy authenticity and integrity requirements through a reliable audit trail (RAT). The RAT is a set of documented management controls linking each invoice to the supporting documents surrounding it (purchase order, delivery receipt, account statement). It must be formalized, archived, and enforceable. Many companies underestimate it: during an audit, the absence of a formalized RAT can be enough to invalidate the entire VAT deduction right.

The Role of the Digital Vault

A digital vault (CFN) certified to NF Z42-020 is the reference tool for guaranteeing evidential value over time. It provides:

  • Cryptographic sealing of files upon deposit (SHA-256 or higher fingerprint).
  • Qualified timestamping according to ETSI EN 319 421 standard, creating proof of deposit date enforceable against third parties.
  • An immutable audit log of all actions (deposit, access, download, deletion).
  • Format migration to maintain readability long-term (PDF/A conversion when standards evolve).
  • Guaranteed restitution even if the service provider ceases operations (audit clause and data export).

Selecting a digital vault or an accredited partner dematerialization platform (PDP) approved by the DGFIP is therefore a strategic decision, not merely a technical one.

---

Archiving, E-Reporting and the 2026 Electronic Invoicing Reform

The reform introduced by Ordinance No. 2022-1299 and its implementing decrees redistributes responsibilities for archiving among companies, partner dematerialization platforms (PDP), and the public invoicing portal (PPF). It is essential to understand clearly who archives what.

What the PDP Preserves on Your Behalf

PDPs approved by the DGFIP have an obligation to preserve the invoices they have transmitted for at least 10 years from the date of issuance. They must also ensure business continuity and data portability. However, delegating archiving to a PDP does not relieve the company of its legal responsibility: if the service provider fails, the taxpayer is liable to the tax authority.

It is therefore recommended to duplicate archiving: the PDP maintains an operational copy, and the company maintains a backup copy in its own system, preferably in a certified digital vault.

E-Reporting and Retention of Transaction Data

For B2C transactions and exchanges with foreign partners outside the scope of mandatory electronic invoicing, e-reporting requires transmission of aggregated data to the tax authority. This transaction data must also be preserved according to the same rules as invoices themselves: a minimum of 6 years under the LPF, 10 years under the Commercial Code.

Monitoring the deployment schedule and Impact on Archiving Systems

Large companies and mid-cap enterprises have been subject to the obligation to receive electronic invoices since September 2026. The emission obligation follows a gradual timetable. This rollout requires urgent upgrades to archiving systems: companies receiving thousands of invoices per year must ensure their document management solution or digital vault is sized to handle this volume while remaining compliant over time.

---

Best Practices for Compliant and Sustainable Archiving

Beyond legal obligations, effective archiving of electronic invoices is also a driver of productivity and organizational resilience.

Establish a Documented Archiving Policy

Every company subject to VAT should have a formalized electronic archiving policy (PAE) covering:

  • The scope of documents concerned (invoices issued, received, credit notes, duplicates).
  • Retention periods by document type and applicable legal basis.
  • Internal responsibilities (archiving manager, system administrator, DPO for GDPR aspects).
  • Procedures for migration and periodic integrity verification.
  • Methods for secure destruction at the end of the legal retention period.

Automate Capture and Indexing

Manual archiving is a source of errors and losses. Modern solutions enable automatic capture of invoices in Factur-X or UBL format, with extraction of key metadata (invoice number, issuer SIRET, date, gross amount, VAT amount, due date) upon receipt. These metadata enable rapid search during a tax audit, reducing response time to the authorities from several days to just minutes.

Plan for Technological Migration

Digital formats age. Will a PDF issued in 2026 be readable in 2036? Certified digital vaults manage this risk through format migration plans that automatically convert files to current standards without altering content or breaking the original electronic signature (through preservation of the original version and its fingerprint). To learn more about the legal value of electronic signatures in this context, our comprehensive guide details long-term protection mechanisms.

Plan for Continuity in Case of Service Provider Change

Switching PDPs or digital vaults during a legal retention period is an often-overlooked risk. Contracts must imperatively provide for:

  • A complete data export right in a standard format (PDF/A, XML).
  • A transition period guaranteeing access to archives for at least 6 months after termination.
  • An audit clause allowing the company to verify archive integrity at any time.

The comparison of electronic signature and archiving solutions available on the market can help select a reliable technology partner over the long term.

Electronic invoice archiving is governed by a hierarchical body of texts covering tax, commercial, civil, and technical dimensions.

Foundational Tax Texts

Tax Procedure Code (LPF): Article L. 102 B requires preservation of any document allowing the tax authority to exercise its right of access for 6 years from the date the documents were created, received, or transmitted. Article L. 169 sets the recovery period for income tax and corporate tax at 3 years (extended to 10 years in case of hidden activity).

French Tax Code (CGI): Article 289 of the CGI, as amended by Ordinance No. 2022-1299 of October 7, 2022, defines three methods of issuing electronic invoices guaranteeing authenticity, integrity, and readability: qualified electronic signature, reliable EDI, and reliable audit trail (RAT). Article 1737 of the CGI imposes a penalty of 15 euros per missing or non-compliant invoice (minimum 60,000 euros per fiscal year in case of serious breach).

Commercial and Civil Law

Commercial Code: Article L. 123-22 requires retention of 10 years for books, registers, and accounting documents from the close of the fiscal year. Invoices, as accounting supporting documents, are directly covered.

Civil Code: Article 1366 recognizes the probative force of electronic documents "on condition that the person from whom it originates can be duly identified and that it is created and preserved in conditions likely to guarantee its integrity". Article 1367 defines an electronic signature as "the use of a reliable identification method guaranteeing its link with the act to which it is attached".

eIDAS Regulation and ETSI Standards

The eIDAS Regulation No. 910/2014 (European Union), in force in its revised eIDAS 2.0 version since 2024, establishes a framework for mutual recognition of qualified electronic signatures throughout the EU. It recognizes three signature levels (simple, advanced, qualified) with different legal effects. For electronic invoices, only the qualified signature creates an irrefutable presumption of reliability.

The ETSI EN 319 132 (XAdES), ETSI EN 319 122 (CAdES), and ETSI EN 319 142 (PAdES) standards define the technical formats for signatures enabling long-term verification (LTA format — Long Term Archival). These formats embed chained validation evidence enabling verification of signature validity even after the initial certificate's expiration.

The NF Z42-020 standard from AFNOR defines the functional requirements for a digital vault certified in France.

GDPR and Invoices

Invoices containing personal data (private customer name, address, payment method) are subject to GDPR No. 2016/679. The retention period must be limited to what is necessary: the principle of minimization applies. In practice, the legal basis for processing is legal obligation (Article 6.1.c of the GDPR), which justifies complete retention for the applicable tax or commercial period. Beyond this deadline, data must be deleted or anonymized.

Risks in Case of Non-Compliance

  • Tax assessment with recovery of deductible VAT for uncovered fiscal years.
  • Fine under Article 1737 CGI (15 euros/invoice, minimum 60,000 euros per fiscal year).
  • Non-enforceability of the document in case of civil or commercial dispute.
  • CNIL sanction in case of excessive or insufficiently secure retention of personal data.

Usage Scenarios: Electronic Invoice Archiving in Practice

Scenario 1 — A Small Industrial Manufacturing Company Managing 3,000 Supplier Invoices Per Year

A precision mechanical engineering SME with around fifty employees and approximately 8 million euros in annual revenue receives up to 3,000 supplier invoices per fiscal year, mostly in unstructured PDF format. As the electronic invoicing obligation approaches, its CFO conducts an audit: invoices are stored on a shared server with no cryptographic sealing, no integrity control, and no migration plan. In the event of a tax audit, the company would not be able to prove the files were not modified after issuance.

By deploying a digital vault certified to NF Z42-020 connected to its invoicing solution, the SME automatically seals each received invoice with qualified timestamping. The RAT is generated automatically by linking each invoice to the corresponding purchase order and receipt. Result: during a VAT audit covering 3 fiscal years, the production of the 9,000 requested invoices is completed in less than 2 hours versus several days previously, and no invoices are rejected due to lack of integrity proof. The estimated risk of a 180,000-euro VAT assessment is eliminated.

Scenario 2 — A Multi-Site Distribution Group with Large Volumes

A distribution group with around ten retail locations issues an average of 15,000 B2B invoices per year to professional customers. Before the reform, these invoices were generated by its ERP in simple PDF format, sent by email, and archived in local folders by each site manager. Consolidation of this archiving was impossible, and retention periods were inconsistent across sites.

By integrating an approved PDP coupled with a centralized digital vault, the group standardizes the entire cycle: issuance in Factur-X format, transmission via the PDP, automatic archiving with metadata indexing. Retention deadlines are managed automatically by the system, with alerts 6 months before the legal deadline for each document batch. This centralization reduces by 70% the time spent responding to tax authority requests and enables for the first time real-time monitoring of archive compliance rate.

Scenario 3 — A Digital Transformation Consulting Firm

A consulting firm with around twenty consultants invoices its services to large companies and mid-caps. Its invoices, often associated with complex framework agreements and Statements of Work, must be preserved not only to meet tax obligations but also to document services rendered in case of contractual dispute. The limitation period for professional liability actions can reach 5 years from discovery of damage, so rigorous 10-year retention is essential.

The firm deploys a solution combining qualified electronic signature for its invoices and contracts, and a digital vault for long-term archiving. Each invoice is electronically linked to the corresponding contract and mission report, creating an uninterrupted documentary chain with probative value. This system, implemented in less than 3 months, represents an investment of a few hundred euros per month — roughly 10 times less than the cost of a single undocumented dispute according to professional liability insurers' sector estimates.

Conclusion

Electronic invoice archiving is a legal obligation with precise parameters: 6 years under tax law, 10 years under commercial law, with strict technical requirements covering document integrity, authenticity, and readability. The evidential value of an electronic invoice depends not on its format alone, but on the entire preservation system — certified digital vault, qualified timestamping, reliable audit trail — implemented from its issuance.

With the progressive entry into force of the electronic invoicing reform in 2026 and 2027, companies no longer have the luxury of improvising their archiving policy. Every invoice not archived in compliance is a risk of tax assessment, rejection of VAT deductions, or non-enforceability in dispute.

Certyneo supports you in bringing your electronic archiving into compliance, from selecting your approved PDP to integrating a certified digital vault. Request a demonstration or get started free today.

Try Certyneo for free

Send your first signature envelope in under 5 minutes. 5 free envelopes per month, no credit card required.

Go deeper on the topic

Our comprehensive guides to master electronic signatures.

Certyneo Community

A question about electronic signatures?

Join the Certyneo community: ask your questions, share your answers and connect with thousands of users and our team.