Background
Blog

Mazaya Blog Where the Future is Made

15 Nov, 2026

ZATCA E-Invoicing for Retail: Phase 2 Integration Guide

ZATCA E-Invoicing Phase 2 Integration Guide for Retail in Saudi Arabia - Mazaya

For large retailers in Saudi Arabia, e-invoicing compliance does not end with the first connection to the ZATCA platform. Organizations that integrated in earlier waves now face a different question: is the current integration accurate, resilient and ready to scale as branches, point-of-sale terminals and transaction volumes grow?
This guide is written for CFOs, finance directors and IT directors of retail groups with 200 or more employees. It explains what ZATCA e-invoicing for retail requires, how ZATCA Phase 2 integration works, where multi-branch retailers struggle, and how an ERP platform such as Microsoft Dynamics 365 Finance and Supply Chain Management supports sustainable VAT compliance for retail.

1. What Fatoora e-invoicing in Saudi Arabia requires, and its phases

E-invoicing in Saudi Arabia means issuing, exchanging and storing invoices in a structured electronic format defined by the Zakat, Tax and Customs Authority (ZATCA), rather than as paper or unstructured files. The programme, known as Fatoora, is delivered in two phases:
• Phase 1, the Generation Phase: in force since December 2021. VAT-registered businesses must issue and store electronic invoices through a compliant system.
• Phase 2, the Integration Phase: in force since 1 January 2023, rolled out in waves based on taxable revenue. Phase 2 requires the taxpayer's system to integrate with the Fatoora platform and transmit invoices and notes to ZATCA.
For retailers the distinction between invoice types of matters. Business-to-business tax invoices and the simplified invoices issued to consumers are handled through different processes for approval and reporting, and the timelines for each are set in ZATCA's technical guidelines.

2. Who is in scope and when: signs your company needs an ERP

ZATCA announces the criteria for each wave and notifies in-scope taxpayers at least six months before their integration deadline. The waves have moved steadily from the largest taxpayers to smaller ones. Wave 24 applied to taxpayers with VAT-taxable revenue above SAR 375,000 and had a deadline of 30 June 2026. On 24 July 2026 ZATCA announced Wave 25, halving the threshold to SAR 187,500 for revenue in any year from 2022 to 2025, with integration starting from 1 February 2027.

For a retail group above 200 employees, this has two practical consequences:
1.  You are most likely already in scope. The real question is integration quality and sustainability, not whether the mandate applies.
2.  Smaller entities, subsidiaries or brands within your group may fall into later waves and need to be brought onto the same compliant architecture early.
Note: Wave dates and thresholds change. Always confirm your status on ZATCA's official e-invoicing pages before making decisions.

Signs your current setup is no longer enough

• Integration relies on a standalone middleware or add-on that sits outside the accounting system, and data is re-keyed or exported between systems.
• Invoices are rejected or reported late, particularly during peak trading periods and seasonal sales.
• Different branches run different point-of-sale systems with no single view of submitted and rejected invoices.
• The financial close is slow because invoices must be reconciled manually between sales and the ledger.
• VAT returns require repeated manual checks and adjustments.
• Compliance depends on one employee or one vendor, without documented controls.

3. E-invoice requirements retailers must meet

Phase 2 places specific technical and operational requirements on the system that issues invoices. The main ones are:
• Structured format (XML): invoices issued in a machine-readable format aligned with ZATCA specifications, not only PDF or images.
• Unique identifier (UUID): each invoice carries a unique ID so it can be tracked and cannot be duplicated.
• Cryptographic stamp: invoices are stamped with certificates issued for the taxpayer's devices or solution, protecting integrity.
• QR code: a scannable code on the invoice carrying its key data.
• Integration with the Fatoora platform: transmission of invoices and credit or debit notes to ZATCA within the applicable timeframes.
• Sequential numbering and data consistency: an unbroken invoice sequence, with what was sent matching what is recorded in the ledger.
• Archiving: invoices stored in their original format and retrievable on request for the statutory period.
• Accurate party data: correct VAT registration numbers and address details in the required format.
For the IT director, the hard part is rarely generating the file. It is maintaining a consistent, secure and monitored data flow across point-of-sale, inventory, accounting and the Fatoora platform, and managing certificates and ZATCA updates as they are released.

4. Challenges for multi-branch retailers

Compliance that looks simple for a single-store business becomes complex at scale:
• Volume and timing: large retailers issue thousands of simplified invoices a day, and Phase 2 requires reporting within defined timeframes. Network interruptions or peak-hour pressure can create a backlog of unreported invoices.
• Multiple POS terminals: each device or solution needs correct onboarding, certification and configuration. The more terminals and vendors, the greater the risk of error.
• Returns and credit notes: every return needs a credit note linked to the original invoice, which is hard to control when returns happen in a different branch or system.
• Master data consistency: differences in item, price and tax data between branches directly affect invoice accuracy and the VAT return.
• Central visibility: the CFO needs one view of accepted, rejected and pending invoices by branch, not scattered reports.
• Cross-border operations: if the group operates in other countries, differing regulatory requirements call for a configurable architecture rather than separate financial systems.

5. How an ERP supports e-invoicing compliance

Many organizations meet the mandate by adding a middleware layer on top of existing systems. That works as a first step, but over time it adds complexity, maintenance cost and reconciliation risk. An ERP that handles e-invoicing as part of the financial and operational workflow removes much of this.
Standalone middleware versus an integrated ERP:
• Data source: middleware copies or exports data between systems, while an integrated ERP keeps a single source for each transaction.
• Reconciliation with the ledger: middleware needs periodic, often manual reconciliation, while an ERP builds it into the transaction flow.
• Branch-level control: middleware leaves reporting fragmented, while an ERP offers centralized dashboards.
• Regulatory updates: middleware adds a separate vendor dependency, while an ERP delivers updates through the platform and its localization.
• Audit trail: middleware spreads the trail across systems, while an ERP keeps it continuous.
• Long-term cost: middleware cost grows with each added layer, while an ERP is more predictable.

What Dynamics 365 Finance and Supply Chain Management offers

Microsoft Dynamics 365 Finance and Supply Chain Management brings finance, inventory, procurement, sales and supply chain onto one platform, which suits multi-entity, multi-branch retail groups. In the context of e-invoicing it enables:
• Invoices tied to the originating transaction, from sales order and inventory through to ledger posting and VAT reporting.
• Central tax configuration across legal entities and branches.
• Visibility of invoice status, so rejected or pending invoices are identified early rather than at VAT filing.• Role-based controls and audit logs for who can issue, adjust or cancel invoices.
• Scalability as branches and volumes grow.
• Analytics that turn invoice and VAT data into insight for pricing, inventory and cash flow.
Outcomes depend as much on implementation as on software: POS integration design, master data governance, return and peak-load testing, and change management in finance and operations. This is where an experienced implementation partner such as Mazaya adds value, by assessing the current landscape and designing a delivery plan suited to your size and operating model.

6. E-invoicing compliance checklist

Use this checklist as a first-pass readiness review.
Governance and ownership
[] A named owner for e-invoicing compliance in both finance and IT.
[] Documented procedures for issuing, amending, cancelling and crediting invoices.
[] A process to monitor ZATCA announcements and technical updates.

Systems and integration
[] Invoices are generated in the required format (XML, UUID, QR, cryptographic stamp).
[] Integration with the Fatoora platform is automated and stable, not manual.
[] All POS devices and branch solutions are onboarded, certified and renewed on time.
[] A defined process exists for connectivity loss and resubmission.

Data and accounting
[] Item, tax and price master data are consistent across branches.
[] Invoices sent to ZATCA reconcile with ledger entries, automatically or on a regular schedule.
[] Credit and debit notes are linked to their original invoices.

Control and audit
[] A dashboard shows rejected and pending invoices by branch.
[] User roles and an audit log are in place.
[] Invoices are archived and retrievable on request.

Resilience
[] The system has been tested for peak trading loads and seasonal campaigns.
[] A documented fallback plan exists for system or network failure.
[] The architecture can absorb new branches and legal entities.
If several items cannot be ticked, it is a sign that e-invoicing should be reviewed as part of a wider ERP decision.

7. Frequently asked questions

What is the difference between Phase 1 and Phase 2 of ZATCA e-invoicing?
Phase 1, in force since December 2021, requires VAT-registered businesses to issue and store structured electronic invoices. Phase 2, in force since 1 January 2023, adds integration with the Fatoora platform and the transmission of invoices to ZATCA, rolled out in waves.
How do I know whether my company falls into a Phase 2 wave?
ZATCA publishes the criteria for each wave and notifies in-scope taxpayers at least six months before their deadline. Check the VAT-taxable revenue thresholds for the years named in the criteria and the notifications in your ZATCA account.
Do the rules apply to retail point-of-sale invoices?
Yes. Retailers issuing simplified invoices to consumers are covered, and these follow a different reporting process from business-to-business tax invoices. Refer to ZATCA's current technical guidelines for the exact timeframes.
Is a middleware solution enough, or do we need an ERP?
Middleware can satisfy the mandate in the short term. It adds a layer separate from the accounting system, which raises reconciliation risk and maintenance cost as branches and volumes grow. Large retailers should compare total cost of ownership over the long term.
Does Dynamics 365 Finance and Supply Chain Management support Saudi e-invoicing?
The platform manages invoicing within the financial and supply chain workflow. Technical details depend on the version, the localization applied and your integration requirements, which Mazaya can assess for your environment.
What are the most common mistakes retailers make with Phase 2 integration?
The most frequent are temporary workarounds, inconsistent master data across branches, untested return and peak-load scenarios, and no central control over invoice status.
When should we start planning an upgrade of our e-invoicing setup?
Before problems appear. Typical triggers are repeated invoice rejections, a slow financial close, expansion into new branches, or a growing set of disconnected tools.

Next step: a 30-minute e-invoicing readiness assessment

Mazaya Integrated Computer Solutions offers a complimentary consultation to assess your e-invoicing readiness. It covers your current integration, POS landscape and master data, and identifies gaps and options within Microsoft Dynamics 365 Finance and Supply Chain Management.

Book a readiness assessment with Mazaya


We're here to help you connect with us easily

A member of our team will reach out to you shortly after you submit your information.