Electronic Archiving: Rules, Retention and Long-Term Validity
András Somkuti, CEO & Founder · Updated 17 November 2026
Electronic archiving is the storage of electronic documents and data in a way that keeps them legible, unchanged and provably authentic until the end of their retention period. eIDAS also regulates it as a trust service, which can be qualified. In Hungary, companies keep accounting documents, invoices included, for at least 8 years, and e-invoices only electronically.
What Is Electronic Archiving?
Electronic archiving keeps electronic documents legible, unchanged and provably authentic for as long as they have to be kept, which makes it more than a backup. For signed documents, the signature also has to stay verifiable after the signer’s certificate has expired, and a qualified timestamp helps with that.
Since eIDAS 2.0, the eIDAS Regulation (Regulation (EU) No 910/2014) defines the term: “‘electronic archiving’ means a service ensuring the receipt, storage, retrieval and deletion of electronic data and electronic documents in order to ensure their durability and legibility as well as to preserve their integrity, confidentiality and proof of origin throughout the preservation period” (Article 3(48)).
Hungarian law asks the same of anyone who has to keep documents, under the name digital archiving. Under Decree 1/2018 (VI. 29.) ITM on the rules of digital archiving (Hungarian text), until the retention obligation ends, an electronic document must be protected against deletion, destruction, accidental destruction, later modification and damage, and unauthorised access, and it must stay readable, for example by keeping the software and hardware environment needed to display it (section 3).
Electronic Archiving Requirements in Hungary
The ITM decree is the base rule: where an act requires a document to be kept, keeping it electronically must comply with this decree (section 1(1)). The Hungarian Accounting Act (Sztv., Act C of 2000, Hungarian text) refers to it too for electronic accounting documents (section 169(5)).
The decree doesn’t apply to electronic archiving by bodies that perform public tasks (section 1(2)). Everyone else can meet its requirements in particular in these ways (section 4(2)):
- With a trust service provider. If the document bears at least an advanced electronic signature, you can also entrust its retention to a trust service provider (section 5(1)).
- In your own system. If you keep a signed document without a trust service provider, you have to check the validity of its electronic signature and maintain that validity for the whole retention period (section 5(2)).
- In a closed system that protects the document from the time it is created or received. The developer of the software has to declare in writing that the solution fully complies with the legal requirements, and the developer and the person obliged to keep the documents are jointly and severally liable for compliance (section 6(1), (3)–(4)).
- For invoices and EDI. The decree also mentions a hash-code method for invoices that is tied to the NAV, the Hungarian tax authority (section 7). Documents created in an electronic data interchange (EDI) system under a prior written agreement can be kept in an EDI system that meets the same protection rules (section 8).
The earlier Decree 114/2007 (XII. 29.) GKM was repealed with effect from 1 July 2018 (Hungarian text); a guide that still cites it is out of date.
How Long Must You Keep Invoices and Records in Hungary?
Companies keep invoices and other accounting documents for at least 8 years. Under section 169(2) of the Accounting Act, the accounting documents that support the bookkeeping must be kept for at least 8 years, in legible form and retrievable through the references in the bookkeeping records. Accounting documents include invoices, contracts and bank statements when they support the accounting of an economic event (section 166(1)).
| What | How long | Law |
|---|---|---|
| Annual report and business report, with the supporting inventory, valuation, general ledger extract and journal ledger | At least 8 years, in legible form | Accounting Act section 169(1) |
| Accounting documents, such as invoices, contracts and bank statements | At least 8 years, legible and retrievable through the bookkeeping references | Accounting Act sections 166(1) and 169(2) |
| Records needed to assess tax, invoices included | Until the right to assess the tax becomes time-barred | Act on the Rules of Taxation section 78(3); VAT Act section 179(1) |
| Limitation of the right to assess tax | Five years from the last day of the calendar year in which the tax return was due | Act on the Rules of Taxation section 202(1) |
The main tax rule is that the right to assess the tax lapses five years after the last day of the calendar year in which the tax return had to be filed (section 202(1) of the Hungarian Act on the Rules of Taxation, Art., Act CL of 2017, Hungarian text). The two obligations apply side by side, so a company under the Accounting Act has to keep its documents for the 8 years even if the tax limitation period ends earlier.
The Accounting Act doesn’t apply to sole traders (section 2(3)), but they too must keep their tax records (Act on the Rules of Taxation section 78(3)). The obligation also survives organisational changes, dissolution included: the retention of the documents has to be arranged when the change takes place (Accounting Act section 169(4)).
How Do You Archive E-Invoices?
Only electronically, together with the data that ensure their authenticity. An invoice is electronic if it was issued and received in electronic form (section 259, point 5, of the Hungarian VAT Act, Áfa tv., Act CXXVII of 2007, Hungarian text), so a PDF invoice you receive by email is one too. Three rules apply:
- Keep it only in electronic form. Under section 179(2) of the VAT Act, an electronic document can only be kept in electronic form. The Accounting Act also requires electronic retention, with a method that lets every data item of the document be produced without delay, keeps it continuously readable and excludes later modification (section 169(5)). A printout doesn’t replace the e-invoice.
- Ensure authenticity until the end of storage. From the time an invoice is issued until the end of its storage period, the authenticity of its origin, the integrity of its content and its legibility must be ensured (VAT Act section 168/A(1)). The retention covers the invoices you issue and the ones you receive (section 179(1)).
- Keep the data that ensure authenticity too. If you keep invoices electronically, you must also keep, electronically, the data that ensure their authenticity of origin and integrity (section 179(2)).
Under the VAT Act, authenticity can be ensured by any business control procedure that creates a reliable audit link between the invoice and the supply (section 168/A(2)), or by a qualified electronic signature or EDI (section 175(2)). The invoice’s format can also change during storage, as long as the change meets these requirements (section 179(2)). Our guide to e-invoices in Hungary explains the methods.
Can You Archive Paper Invoices Electronically?
Yes, if you make a compliant electronic copy. Under the VAT Act, the retention obligation can also be met by keeping a paper document in electronic form (section 179(2)). The Accounting Act accepts the electronic copy if it was made under the rules for electronic copies of paper documents and its method ensures that every data item of the original can be produced without delay, stays continuously readable, and that later modification is excluded (section 169(6)).
Those copying rules are now in Chapter XII of Government Decree 321/2024 (XI. 6.) on certain rules of digital citizenship (Hungarian text), which expressly covers electronic copies of paper accounting documents (section 1(2)). If your company issued or keeps the paper document, it must put a qualified electronic seal or signature, or an advanced one based on a qualified certificate, on the copy, and add an electronic timestamp (section 74).
For company documents, you can do this with an electronic seal, which your company creates as a legal person: under eIDAS, the “creator of a seal” is “a legal person who creates an electronic seal” (Article 3(24)). Our guide to the certified electronic copy shows the steps.
How Do Signed Documents Stay Verifiable for Years?
By proving when the signature was made and that the document hasn’t changed since. An electronic signature is validated as of the time of signing: for a qualified electronic signature, the question is whether “the certificate that supports the signature was, at the time of signing, a qualified certificate” and whether “the qualified certificate was issued by a qualified trust service provider and was valid at the time of signing” (eIDAS Article 32(1)(a)–(b)). In an archive, though, years go by: certificates expire or are revoked, and cryptographic algorithms can weaken over time.
A qualified timestamp helps here. “A qualified electronic time stamp shall enjoy the presumption of the accuracy of the date and the time it indicates and the integrity of the data to which the date and time are bound.” (eIDAS Article 41(2)) It is “based on an accurate time source linked to Coordinated Universal Time” and binds the date and time to the data “in such a manner as to reasonably preclude the possibility of the data being changed undetectably” (Article 42(1)(a)–(b)). And “A qualified electronic time stamp provided in one Member State shall be recognised as a qualified electronic time stamp in all other Member States.” (Article 24a(6))
The technical side is described in the ETSI EN 319 102-1 standard (clauses 4.3.1 and 4.3.5.1). A signature with a timestamp proves that the signature already existed at a given moment, so it can still be validated if the certificate is revoked after the signature was made.
For long-term retention, the data needed for validation is added to the signature and protected with further timestamps, and this is repeated before the earlier protection weakens. For PDF signatures, the PAdES Baseline LTA format does this. When you sign with Netlock, every signature carries a qualified timestamp and uses this format by default. Our article on whether your electronic signature will still be valid in ten years explains the PAdES levels in more detail.
In Hungary, a trust service provider keeps the information it holds about each certificate for at least 10 years after the certificate expires (section 88(1) of the Hungarian Digital State Act, Dáptv., Act CIII of 2023, Hungarian text).
Netlock is a qualified trust service provider and appears on the EU Trusted List as a provider of qualified timestamping. In Hungary, trust service providers are supervised by the National Media and Infocommunications Authority (NMHH) (Digital State Act section 95(1)), and Netlock is in the NMHH register. If you want to protect your company’s archive with qualified timestamps, you can buy them in the app. For larger volumes, talk to sales.
What Does eIDAS 2.0 Say About Electronic Archiving?
eIDAS 2.0, that is Regulation (EU) 2024/1183, made electronic archiving a trust service of its own, with rules for its qualified version (eIDAS Articles 45i–45j). Two of its rules matter most:
- A non-qualified archive counts too. Electronic data and documents kept with an electronic archiving service “shall not be denied legal effect or admissibility as evidence in legal proceedings on the sole ground that they are in electronic form or that they are not preserved using a qualified electronic archiving service” (Article 45i(1)).
- A qualified archive comes with a presumption. Data and documents kept with a qualified electronic archiving service “shall enjoy the presumption of their integrity and of their origin for the duration of the preservation period by the qualified trust service provider” (Article 45i(2)).
A qualified electronic archiving service can only be provided by a qualified trust service provider, with procedures and technologies that ensure durability and legibility “beyond the technological validity period and at least throughout the legal or contractual preservation period” (Article 45j(1)(a)–(b)). Authorised relying parties can receive, in an automated manner, a report confirming that a retrieved document enjoys the presumption of integrity (Article 45j(1)(d)).
“A qualified electronic archiving service provided in one Member State shall be recognised as a qualified electronic archiving service in all other Member States.” (Article 24a(10)) Whether a service is qualified is shown in the member states’ trusted lists (Article 22(1)).
Hungarian civil procedure attaches a presumption to qualified archiving as well. Under section 325(8) of the Hungarian Code of Civil Procedure (Pp., Act CXXX of 2016, Hungarian text), signed or sealed data in an electronic document are to be regarded as not falsified, until proven otherwise, on the basis of the storage provider’s certificate, if the provider checked on receipt that the document’s authentication was valid, stores it under the conditions a government decree sets, as a qualified archiving service under the Digital State Act or within the central electronic document storage service, and certifies the document’s authenticity as a government decree sets.
How to Choose an Electronic Archiving System: A Checklist
The rules above give you these questions to ask about any electronic archiving system or digital archiving software:
- Does it protect against deletion, later modification and unauthorised access for the whole retention period, and does every document stay legible? (ITM decree section 3)
- Does it check the validity of signatures when documents come in, and maintain it during retention? (section 5(2))
- For a closed system, is there a written declaration from the developer and the documentation section 6(5) requires on its operation, technologies and standards?
- Does it keep e-invoices electronically, together with the data that ensure their authenticity? (VAT Act section 179(2))
- Can accounting documents be retrieved through the bookkeeping references? (Accounting Act section 169(2))
- Does it add qualified timestamps, so the time and the integrity stay provable years later? (eIDAS Article 41(2))
- Looking for qualified archiving? Check that the provider appears with such a service on a trusted list (eIDAS Article 22).
FAQ
For companies under the Accounting Act, at least 8 years (section 169(2)). Under the tax rules, at least until the right to assess the tax becomes time-barred, which as a rule is five years from the end of the year in which the tax return was due (VAT Act section 179(1), Act on the Rules of Taxation section 202(1)). Both deadlines apply, so the later one governs.
No. An invoice issued and received electronically is an e-invoice (VAT Act section 259, point 5), and an electronic document can only be kept in electronic form (section 179(2)). You must also keep, electronically, the data that ensure its authenticity and integrity.
A simple scanned image is not. You can meet the retention obligation with a compliant electronic copy (Accounting Act section 169(6), VAT Act section 179(2)) that excludes later modification and that, for a company, carries a qualified electronic seal or signature, or an advanced one based on a qualified certificate, plus a timestamp (Decree 321/2024 (XI. 6.), section 74).
Not under the two general rules, eIDAS and the ITM decree. Data kept in a non-qualified archive can’t be denied legal effect for that reason alone (eIDAS Article 45i(1)), and the ITM decree lets you entrust retention to a trust service provider but also lets you archive in your own system (section 5). What a qualified service adds is the presumption of integrity and origin (Article 45i(2)).
Because a signature is validated as of the time of signing, and that time has to be provable years later. A qualified timestamp carries the presumption that its date and time are accurate and that the data is intact (eIDAS Article 41(2)), so you can show that the signature was made while the certificate was valid, even after the certificate has expired.
Validity is assessed as of the time of signing: for a qualified electronic signature, what counts is whether the certificate was qualified and valid when the document was signed (eIDAS Article 32(1)). A later expiry doesn’t change that, but you have to be able to prove when the signature was made, and a qualified timestamp helps you do that.
The Accounting Act doesn’t cover sole traders (section 2(3)), so its 8-year rule doesn’t either. Sole traders still have to keep their tax records until the right to assess the tax becomes time-barred (Act on the Rules of Taxation section 78(3)).
In this guide, yes: the eIDAS Regulation speaks of electronic archiving, and the Hungarian decree on keeping documents electronically is titled “a digitális archiválás szabályairól”, that is, on the rules of digital archiving. This guide covers business and legal records; it doesn’t cover the digitisation of library or museum collections.
You can prove the time and integrity of archived, signed documents with qualified timestamps. Netlock is a qualified trust service provider that provides qualified timestamping, and when you sign with Netlock, every signature carries a qualified timestamp from the start. Sign up for free and get a qualified certificate and 15 free signatures; after that, each signature costs 1 credit (see pricing).
A qualified timestamp on every signature, 15 free signatures
Related Articles
Sources
- Decree 1/2018 (VI. 29.) ITM on the rules of digital archiving, sections 1(1)–(2), 3, 4(2), 5(1)–(2), 6(1), (3)–(5), 7, 8, 9: https://njt.hu/jogszabaly/2018-1-20-7Q; Decree 114/2007 (XII. 29.) GKM, repealed with effect from 1 July 2018: https://njt.hu/jogszabaly/2007-114-20-0L
- Hungarian Accounting Act (Sztv., Act C of 2000), sections 2(3), 166(1), 169(1)–(2), (4)–(6): https://njt.hu/jogszabaly/2000-100-00-00
- Hungarian VAT Act (Áfa tv., Act CXXVII of 2007), sections 168/A(1)–(2), 175(2), 179(1)–(2), 259 point 5: https://njt.hu/jogszabaly/2007-127-00-00
- Hungarian Act on the Rules of Taxation (Art., Act CL of 2017), sections 78(3) and 202(1): https://njt.hu/jogszabaly/2017-150-00-00
- Government Decree 321/2024 (XI. 6.) on certain rules of digital citizenship, sections 1(2) and 74: https://njt.hu/jogszabaly/2024-321-20-22
- Hungarian Digital State Act (Dáptv., Act CIII of 2023), sections 88(1) and 95(1): https://njt.hu/jogszabaly/2023-103-00-00
- Hungarian Code of Civil Procedure (Pp., Act CXXX of 2016), section 325(8): https://njt.hu/jogszabaly/2016-130-00-00
- eIDAS Regulation (EU) No 910/2014, consolidated text of 18 October 2024, Articles 3(16)(m), (24), (48)–(49); 22(1); 24a(6), (10); 32(1)(a)–(b); 41(2); 42(1)(a)–(b); 45i(1)–(2); 45j(1)(a)–(b), (d), English: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02014R0910-20241018
- Regulation (EU) 2024/1183 (eIDAS 2.0), which inserted Articles 45i–45j: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32024R1183
- ETSI EN 319 102-1 V1.4.1 (2024-06), clauses 4.3.1 (“A Signature with Time is a signature that proves that the signature already existed at a given point in time”, with Note 1 on revocation) and 4.3.5.1 (technical standard, summarised): https://www.etsi.org/deliver/etsi_en/319100_319199/31910201/01.04.01_60/en_31910201v010401p.pdf
- EU Trusted List, Netlock: https://eidas.ec.europa.eu/efda/trust-services/browse/eidas/tls/tl/HU/tsp/6 · NMHH register: https://esign.nmhh.hu/bszny/