Issuing an electronic invoice is only half of your fiscal obligation. The other half is retaining it correctly for as long as the law requires. When VeriFactu comes into full force in 2027, failures in document retention will be directly enforceable: the AEAT (Spanish Tax Agency) will cross-reference invoicing records against what you have stored.
Spanish law sets different retention periods depending on the legal basis:
| Legal basis | Period | Applies to |
|---|---|---|
| Art. 29.2.e) LGT (tax obligations) | 4 years | Invoices related to self-assessments (VAT, CIT, PIT) |
| Art. 30 Spanish Commercial Code | 6 years | Accounting books and supporting documentation |
| Arts. 25–26 LSC (Capital Companies Act) | 10 years | Accounting documentation for registered companies |
| Art. 19 Invoicing Regulation (RD 1619/2012) | 4 years minimum | All invoices issued and received |
Practical rule: If you are a registered company, always retain for 10 years. This single criterion satisfies all deadlines and avoids classification errors by invoice type.
Article 19 of the Invoicing Regulation requires invoices to be retained in the original format in which they were issued or received. This has important practical consequences:
The law does not only require storing the file — it requires the ability to prove it has not been altered since issuance. For digitally signed electronic invoices this is covered by the signature itself: the verifier can confirm the file was not modified. For unsigned invoices (e.g. unsigned PDF), integrity depends on the archive system.
In the VeriFactu context, the hash chain (SHA-256 of each record chained to the previous one) guarantees the immutability of the LRFC. The AEAT can verify it at any time using the VERI*FACTU data it holds.
In an inspection or information request concerning VAT or corporate income tax, the AEAT may require:
If you cannot produce the original invoices supporting a deducted VAT amount, the Administration may disallow that deduction and apply a penalty under art. 170 LIVA (penalty of 100% of the unjustified amount, minimum €300).
Yes. The Invoicing Regulation does not require any specific physical medium. Cloud storage — including servers outside Spain — is valid if:
InvoSeal allows you to export your complete invoice archive in XML and PDF format at any time, regardless of whether you remain a customer.
When the B2B electronic invoicing obligation extends to all businesses (under the Ley Crea y Crece and pending implementing regulations), the invoice recipient will also be required to acknowledge receipt and retain the invoice in electronic format. A self-employed professional or company that receives a paper invoice from a supplier will not be able to digitise it without a compliant process.
Every invoice issued with InvoSeal is stored in XML (LRFC) and signed PDF format, with an integrity hash, accessible for individual or bulk download. You meet the Invoicing Regulation requirements with no additional infrastructure.
Try InvoSeal free for 14 days →InvoSeal complies with RD 1007/2023. Responsible declaration published. Free 14-day trial.
Try InvoSeal →