ZATCA e-invoice archiving is the part of Saudi e-invoicing most businesses think about last: once an invoice is cleared or reported, where does it live, in what format, and for how long? The short answer is that ZATCA expects you, not the Fatoora platform, to keep every electronic invoice and note, unaltered, in the Kingdom, for at least six years, and to produce it on request. This guide walks through the rules from ZATCA's own documents and turns them into a checklist you can use with your ERP or POS provider.
The Short Answer
- Who: every person subject to the E-Invoicing Regulation. Clause Fifth of the E-Invoicing Implementation Resolution requires you to keep records, electronic invoices, electronic notes and their associated data, and to hand them to ZATCA when asked.
- How long: at least six years from the end of the tax period they relate to, longer for capital assets and real estate, under Article 66 of the VAT Implementing Regulations.
- What format: in Phase 2, the XML invoice, or a PDF/A-3 file with the XML embedded, as described in the E-Invoicing Detailed Guideline.
- Where: in the Kingdom, physically or electronically, with access from within Saudi Arabia. Cloud storage is allowed if ZATCA can reach the data.
- What the software must do: block edits and deletions, let you save and archive invoices without an internet connection, and export them to an external archive with a set file-naming pattern.
Where the Archiving Rules Come From
There is no single "archiving law". The obligation is spread across four layers of ZATCA rules, and they point at each other:
| Source | What it says about keeping invoices |
|---|---|
| E-Invoicing Regulation | Electronic invoices and notes are subject to the record-keeping and invoice provisions of Article 66 of the VAT Implementing Regulations |
| Implementation Resolution, Clause Fifth and Annex 1 | Keep invoices, notes and associated data in the specified format and timelines; give them to ZATCA on request; solutions must support offline archiving and export |
| VAT Implementing Regulations, Article 66 | Retention periods, Arabic language, storage in the Kingdom, conditions for electronic records |
| Detailed Guideline, sections 5.4, 5.5 and 7.5 | On-premises or cloud storage, file naming, audit access to archived files |
The E-Invoicing Regulation itself is short. Its key line for archiving is that the record-keeping provisions of Article 66 apply to electronic invoices and notes in the same way they apply to paper tax invoices. The Resolution and the Detailed Guideline then add the e-invoicing specifics.
How Long to Keep ZATCA E-Invoices
Article 66(1) of the VAT Implementing Regulations sets a minimum of six years from the end of the tax period the record relates to. Records about capital assets must be kept for the asset's adjustment period plus five years, counted from the date of acquisition. Article 52 sets that adjustment period at six years for movable capital assets and ten years for immovable ones. ZATCA's Guideline for Tax Invoicing and Records (Version 3, May 2026) adds that invoices, books and documents relating to real estate must be kept for at least 15 years in all cases (GCC VAT Agreement, Article 59).
| Record type | Minimum retention | Counted from |
|---|---|---|
| Sales and purchase invoices, credit and debit notes, books and records (general rule) | 6 years | End of the related tax period |
| Records about movable capital assets (machinery, vehicles and other movable assets) | 6-year adjustment period + 5 years = 11 years (useful life + 5 years if the asset's life is shorter than 6 years) | Date of acquisition |
| Records about immovable capital assets | 10-year adjustment period + 5 years = 15 years (useful life + 5 years if the asset's life is shorter than 10 years) | Date of acquisition |
| Tax invoices, books and documents relating to real estate | At least 15 years | As stated in the Invoicing Guideline (GCC VAT Agreement, Article 59) |
Two practical points. First, the clock runs from the end of the tax period, so an invoice dated 3 January 2027 in a monthly filer's January period is kept until at least 31 January 2033. Second, deregistering does not end the duty: ZATCA's guideline on the VAT Implementing Regulation amendments says a business that cancels its VAT registration must still keep its invoices, notes, books and records for the Article 66 periods. Other laws, such as commercial bookkeeping rules, can impose their own periods, so check with your adviser which is longest for you.
Format: What Exactly Should You Archive?
In Phase 2 the legal invoice is the structured file, not the PDF your customer sees. The Detailed Guideline's process diagrams say the supplier should store the cleared standard tax invoice in XML or PDF/A-3 (with embedded XML) format, and store simplified tax invoices electronically in the same formats. Its FAQ confirms that once you are in the integration phase, generating and storing e-invoices in XML or PDF/A-3 with embedded XML is mandatory.
Which version of a standard invoice do I keep?
The cleared one. For standard tax invoices (B2B), ZATCA returns the cleared invoice with its own stamp and the QR code, and that is the version shared with the buyer. Keeping only your pre-clearance draft would leave out what ZATCA actually approved. Our guide to simplified vs standard tax invoices explains clearance and the 24-hour reporting rule.
Do I keep credit notes, debit notes and rejected attempts?
Yes for notes: Clause Fifth covers electronic notes in the same way as invoices, and our ZATCA credit and debit notes guide covers when to issue them. For failed clearance, the Detailed Guideline tells taxpayers to keep evidence of trying to clear the invoice, giving an API log as an example, and says a rejected document's hash and counter value should not be changed. In practice, keep the Fatoora responses and logs alongside the invoices.
What about Phase 1 invoices?
Phase 1 (generation) did not mandate a format, but the Detailed Guideline says invoices must still be archived as per VAT regulations and be accessible to ZATCA at any point in time. Invoices from before your Phase 2 go-live stay inside the retention period. See Phase 1 vs Phase 2 for what changed.
Where You Can Store Invoices: In the Kingdom, On-Premises or Cloud
Article 66(3) says invoices, records and documents must be kept in the Kingdom, either physically or electronically, through access to the server or database where they are stored via a terminal or access point in the Kingdom. Article 66(2) adds that records are kept in Arabic and that tax invoices are issued in Arabic, with any other language shown as a translation.
The Detailed Guideline (section 5.5) says businesses may store their electronic invoices on a server on-premises in the KSA or in the cloud, in line with the VAT law and other relevant laws. Section 5.4 adds that cloud-hosted data must be accessible through a direct link that can be made available to ZATCA, and that non-tax rules, such as those of the National Cybersecurity Authority, may also apply.
ZATCA's Invoicing Guideline (section 8.3.1) reads the rule strictly for residents: the computer or server must be located in the Kingdom. A business with a permanent establishment may use a centralised system abroad, provided a workstation at the Saudi establishment can access all the VAT data. Because the wording differs between documents, ask any cloud vendor where invoice data is physically hosted and how a ZATCA auditor would get access, and confirm your set-up with a tax adviser.
Can someone else store our invoices?
Yes. Under Article 66(4), a resident taxable person may appoint a third party established in the Kingdom to keep its invoices and records, but stays responsible for compliance. A non-resident without a tax representative must appoint a third party in the Kingdom for this purpose.
Isn't everything already stored on Fatoora?
Fatoora keeps a copy, but that is not your archive. The Detailed Technical Guideline says the platform stores valid and accepted documents "for ZATCA", excluding any fields beyond ZATCA's specifications. The duty in Clause Fifth and Article 66 to keep and produce invoices stays with you.
What Your E-Invoicing Software Must Do
Archiving is partly a software requirement. These are the storage-related controls in the Resolution, Annex 1 and the Detailed Guideline:
| Requirement | What it means day to day | Source |
|---|---|---|
| Protect invoices and notes from alteration or deletion | Issued invoices are locked; corrections go through credit or debit notes | Resolution, Clause Third; Detailed Guideline 5.4 |
| Save and archive without an internet connection | The archive must not depend on a live link to Fatoora or the vendor | Resolution, Clause Third |
| Export to offline local archival and to an external archival system | You can pull your invoices out into your own storage at any time | Resolution, Annex 1 |
| File names built from VAT number, issue date, issue time and invoice reference number (IRN) | Exported files can be found and matched to the ledger | Resolution, Annex 1; Detailed Guideline 5.4 |
| Enough storage for the XML documents it generates | Devices and tills must not run out of space and drop invoices | Detailed Guideline 5.4 |
| Security controls that can be reviewed, to prevent tampering | Access logs, user roles and audit trails | VAT Implementing Regulations, Article 66(3)(f) |
Deleting or amending invoices through the issuing solution, and including prohibited functions, are also separate violations. Our ZATCA e-invoicing penalties guide covers that table in full.
Audits and Penalties
When ZATCA audits, section 7.5 of the Detailed Guideline says you should give auditors the data they need, including the archived e-invoice and note files. Article 66(3)(a) requires that electronic records can be accessed and produced from your system on request.
ZATCA's Simplified Guideline for Classifying General VAT Violations, 2nd edition, May 2024 includes a specific violation for not storing e-invoices and e-notes in the required format, method and periods. It starts with a warning and a 60-day period to fix it. If the breach continues, fines go SAR 1,000, 5,000, 10,000, 20,000 and 30,000 for the second to sixth occurrences, and SAR 40,000 after the sixth. A breach only counts as a repeat if it happens within 12 months of the last detection; after 12 months, it starts again from a warning with no fine. General VAT record-keeping violations are classified separately and can apply too.
A Hypothetical Example
The business below is invented for illustration. A Riyadh building-supplies trader runs a cloud ERP in the office and four POS tills. Its archiving set-up might look like this:
- Standard invoices are cleared by Fatoora; the ERP stores the cleared XML returned by ZATCA and the PDF/A-3 sent to buyers.
- Each till stamps simplified invoices, stores the XML locally and syncs to the ERP; reporting status is tracked against the 24-hour limit.
- Every month, finance exports that month's XML files to the company's own storage in Saudi Arabia, named by VAT number, date, time and IRN, and checks the count against the sales ledger.
- Fatoora API responses and clearance-failure logs are kept with the invoices.
- The fixed-asset register flags vehicle and equipment purchases so their invoices are kept for 11 years, not 6.
ZATCA E-Invoice Archiving Checklist
- Confirm where your ERP and POS store invoice data, and how ZATCA could access it from within the Kingdom.
- Check that issued invoices cannot be edited or deleted by any user role.
- Test an export of a full month of XML invoices and notes, and check the file names include VAT number, date, time and IRN.
- Keep the cleared XML for standard invoices, not just the draft or the PDF.
- Set retention rules: 6 years by default, 11 or 15 years for capital-asset and real-estate records, and do not purge on deregistration.
- Keep Fatoora responses and evidence of failed clearance attempts.
- Make sure records and invoices are kept in Arabic as Article 66 requires (bilingual invoices are common).
- Write down who in finance owns the archive and how you would answer an auditor's request.
If you are still onboarding devices, start with our Phase 2 requirements checklist and the CSID onboarding guide, and see Do you need ZATCA-approved software? before you shortlist vendors.
How Raad ERP Helps
Raad ERP is a cloud ERP for GCC trading, retail, manufacturing and contracting businesses, with ZATCA e-invoicing compliance and Arabic language support. Invoicing, stock, POS and accounting sit in one system, so invoices and notes are kept alongside the ledger they belong to. According to raaderp.com, data is stored on cloud servers with encryption and regular backups, and you own your data and can export it anytime. As with any vendor, ask us where your invoice data is hosted and how exports work for your retention plan. You can try Raad ERP free for 14 days or message our team on WhatsApp at +971 56 102 1565.
Questions and answers
How long must I keep ZATCA e-invoices?
In what format should ZATCA e-invoices be archived?
Can I store ZATCA e-invoices in the cloud?
Does Fatoora storing my invoices mean I don't need my own archive?
What file name should archived ZATCA invoices have?
Do I still need to keep invoices after I deregister for VAT?
What is the penalty for not storing e-invoices correctly?
Can a third party keep our invoices for us?
This article is general information only and is not legal, tax or professional advice. Regulations, including ZATCA, UAE Ministry of Finance and FTA requirements, change often, and this content may be incomplete, out of date or contain errors. Before you act on it, check with the official authority (ZATCA in Saudi Arabia, or the Ministry of Finance or Federal Tax Authority in the UAE) or a qualified tax adviser. Raad ERP makes no warranties about the accuracy or completeness of this content and accepts no liability for any loss arising from reliance on it. Links to third-party websites are provided for convenience and are not endorsements.
