ZATCA E-Invoicing for Online Stores: Phases, Requirements and What Your Store Needs

ZATCA E-Invoicing for Online Stores: Phases, Requirements and What Your Store Needs

If you run an online store in Saudi Arabia and you are registered for VAT, ZATCA e-invoicing is not optional. Every sale needs an invoice generated by an electronic system, simplified invoices for consumers must carry a QR code, and, wave by wave, businesses are being required to connect their invoicing systems to ZATCA's Fatoora platform. For e-commerce teams the questions are practical: which phase applies to us, what does our store already do, and what is still missing? This guide answers them, including what Commera's ZATCA plugin does and how S-Plus supports stores that reach Phase 2.

One caution first. This article explains public rules as they stand at the time of writing. Your exact obligations depend on your revenue, your notification from ZATCA and your business model, so confirm your position with your accountant and on zatca.gov.sa.

What ZATCA e-invoicing means for an online store

The Zakat, Tax and Customs Authority (ZATCA) introduced e-invoicing, branded Fatoora, to replace paper and hand-written invoices with structured electronic ones that are harder to manipulate and easier to audit. For an online store this has three consequences:

  • Every invoice is electronic. Hand-written invoices and invoices typed in editable documents are not acceptable for VAT-registered businesses.
  • Consumer sales use simplified tax invoices. Most e-commerce orders are business-to-consumer (B2C), so the store issues a simplified tax invoice with a QR code for each sale.
  • Business buyers need standard tax invoices. If you sell to companies that ask for an invoice with their VAT number, that is a standard tax invoice, which has stricter content rules and, in Phase 2, must be cleared by ZATCA before it is shared with the buyer.

The two phases of ZATCA e-invoicing

ZATCA rolled e-invoicing out in two phases. Most confusion in e-commerce comes from mixing them up.

Phase 1: GenerationPhase 2: Integration
Start date4 December 2021From 1 January 2023, in waves
WhoAll VAT-registered taxpayersTaxpayers notified by ZATCA in each wave
What is requiredIssue and store invoices with a compliant electronic solution; QR code on simplified invoicesConnect the invoicing system to the Fatoora platform; structured XML invoices with a cryptographic stamp
B2B (standard) invoicesGenerated electronicallyCleared by ZATCA before being sent to the buyer
B2C (simplified) invoicesGenerated electronically with QR codeReported to ZATCA within 24 hours of issue
Device onboardingNot requiredThe solution is onboarded with ZATCA and receives a cryptographic stamp identifier

Phase 1 in practice

Phase 1 is about how invoices are produced. Your system must generate invoices electronically, number them in sequence, prevent tampering after issue, and print a QR code on simplified invoices. The Phase 1 QR code carries five pieces of data: the seller's name, the seller's VAT number, the invoice date and time, the invoice total including VAT, and the VAT amount.

Phase 2 in practice

Phase 2 adds a live connection with ZATCA. The invoicing solution is registered (onboarded) with ZATCA, every invoice is produced as a structured XML document and signed with a cryptographic stamp, and the QR code carries additional security data. Standard invoices are cleared in real time; simplified invoices, the ones most online stores issue, are reported within 24 hours.

Integration waves: are you in scope?

ZATCA does not switch every business to Phase 2 at once. It announces waves based on VAT-subject revenue in reference years and notifies each taxpayer directly at least six months before its integration date. The thresholds have fallen steadily:

  • Wave 23: taxpayers with revenue above SAR 750,000 in 2022, 2023 or 2024, with an integration deadline of 31 March 2026.
  • Wave 24: revenue above SAR 375,000 in the same years, with a deadline of 30 June 2026.
  • Wave 25: announced in July 2026 for taxpayers with revenue above SAR 187,500 in any year from 2022 to 2025, with an integration deadline of 1 February 2027.

The direction is clear: sooner or later, almost every VAT-registered store will need Phase 2 integration. If you have received a ZATCA notification, the date in that notification is the one that matters. If you have not, Phase 1 rules still apply to every invoice you issue today.

What an online store must have in place

Use this checklist to audit your current setup:

RequirementWhy it matters
Legal name in Arabic, VAT number (15 digits), and address on every invoiceMandatory invoice content
Sequential invoice numbers with no gaps or duplicatesAuditability; duplicates are a red flag
Invoices locked after issueCorrections go through credit or debit notes, not edits
QR code on simplified invoicesRequired since Phase 1
VAT calculated per line, including shipping where taxableTotals must reconcile to the halala
Discounts reflected correctly in the taxable amountCoupons change the VAT base
Invoice issued at the right momentOn payment for prepaid orders; on delivery for cash on delivery
Phase 2 connection (when notified)Clearance and reporting through Fatoora

Common e-commerce mistakes

  • Issuing invoices for orders that never complete. Cancelled, failed or refunded orders should not produce a sales invoice.
  • Re-invoicing imported orders. When you migrate from an old store, historic orders must not be invoiced again by the new system.
  • VAT rounding drift. Calculating VAT on the order total and on lines separately can leave the two a few halalas apart.
  • Changing seller details retroactively. If you move address, old invoices must keep the details they were issued with.

How Commera's ZATCA plugin handles it

Commera's ZATCA e-invoicing plugin turns every paid order into a simplified tax invoice that is ready to print and download as PDF, with the seller's tax details and a QR code in the format ZATCA requires. In detail:

  • ZATCA-format QR code carrying the seller name, VAT number, issue time, total including VAT and VAT amount, which customers or officials can scan with ZATCA's app.
  • Protected sequential numbering: no gaps and no duplicates, even when two orders are paid at the same moment. You choose a prefix such as INV, giving numbers like INV-000001, and the counter continues if you change the prefix.
  • Complete seller details: legal name in Arabic and English, VAT number validated as 15 digits starting and ending with 3, commercial registration, and national address. The customer sees the name in their browsing language with the other language beneath it.
  • Accurate VAT per line: order VAT is distributed over the lines exactly as the customer was charged, shipping appears as its own taxable line where VAT applies to it, coupons are reflected proportionally, and calculations use the smallest currency unit so line VAT always equals order VAT.
  • Issued at the right time: when the order is paid, or when it is delivered for cash on delivery. Cancelled, returned, refunded or failed orders are not invoiced, and orders from before activation or imported from an old store are not invoiced again.
  • Locked after issue: changing your address or business name later affects only future invoices.
  • Automatic or manual: invoice every paid order automatically, or decide per order from the order page.
  • VAT rate from one place: the plugin reads the rate from the store's Taxes page, so there are never two conflicting numbers.
  • Status and log: a settings page shows whether invoicing is running or which data is missing, how many invoices have been issued, and the last ten invoices.

Where the plugin fits, and how S-Plus helps with Phase 2

The plugin covers the day-to-day e-invoicing of an online store: a simplified tax invoice with a ZATCA-format QR code for every consumer sale, generated, numbered and locked inside your store. That is exactly what Phase 1 asks of B2C sales. If ZATCA has selected your business in a Phase 2 integration wave, or part of your sales needs standard B2B tax invoices, the S-Plus team works with you and your accountant on the integration route that fits your setup, typically connecting the store to the Fatoora-integrated accounting or e-invoicing solution you use.

Connecting your store to a Fatoora-integrated system

Many merchants already use an accounting or ERP system that is integrated with ZATCA. In that case the store's job is to pass complete, accurate order data to that system. Commera offers a REST API, webhooks and integration plugins, so order data can flow to your accounting platform automatically. S-Plus can also build that connection for you; our article on connecting business systems through APIs explains the options.

A step-by-step setup on Commera

  1. Enable the plugin from the Plugins page in the dashboard, then open the e-invoicing settings.
  2. Enter your tax details: legal name, VAT number, national address (building number, street, district, city, postal code) and the invoice prefix. Commercial registration, English name and additional number are optional.
  3. Set VAT on the Taxes page at the correct rate (15% in Saudi Arabia) and decide whether it applies to shipping.
  4. Choose automatic or manual issuing. Automatic suits high-volume stores; manual suits stores that sometimes invoice B2B buyers from another system.
  5. Save and test with a real order: check the PDF, scan the QR code, and confirm the totals match the order.

If you are still setting up your store, our guide to launching an online store in the Gulf covers VAT registration and payment gateways in the right order.

Beyond Saudi Arabia: e-invoicing in the UAE and the GCC

Saudi Arabia was first in the region, but it will not be alone. The UAE has issued ministerial decisions establishing a national e-invoicing system built on the Peppol network, in which businesses exchange invoices through Accredited Service Providers. According to the phased timeline published in 2026:

UAE groupAppoint a service provider byMandatory from
Businesses with revenue of AED 50 million or more30 October 20261 January 2027
Businesses with revenue below AED 50 million31 March 20271 July 2027
Government entities31 March 20271 October 2027

Two points matter for online retailers. First, the UAE system targets business-to-business and business-to-government invoices; B2C transactions are excluded from the mandatory scope for now, and businesses that sell exclusively to consumers are not required to comply until the Ministry of Finance decides otherwise. Second, if you sell to businesses as well as consumers, you will need to receive and send e-invoices through a provider. Dates have already been amended once, so check the Ministry of Finance and the Federal Tax Authority for the latest version. If you sell in several GCC countries, our guide to the multi-country online store explains how to keep tax settings separate per market.

Frequently asked questions

Does every online store in Saudi Arabia need ZATCA e-invoicing?

Every VAT-registered business must issue electronic invoices under Phase 1. Phase 2 integration applies when ZATCA notifies you as part of a wave. Businesses below the VAT registration threshold that are not registered are outside the scheme.

Is a QR code on the invoice enough?

For Phase 1 simplified invoices, the QR code is a key requirement along with correct content, sequential numbering and tamper protection. For Phase 2 it is not enough: invoices must also be produced as signed XML and reported or cleared through Fatoora.

How does Commera work with ZATCA's Fatoora platform?

Commera's ZATCA plugin issues simplified tax invoices with a ZATCA-format QR code inside your store and exports them as PDF, which covers Phase 1 for consumer sales. For Phase 2, the S-Plus team connects your store to the Fatoora-integrated accounting or e-invoicing solution that fits your setup, so order data flows to it automatically.

Can I edit an invoice after it is issued?

Issued invoices stay locked, which is what ZATCA expects. Corrections are made through credit or debit notes in your accounting system, and in Commera an issued invoice keeps its numbers and seller details permanently.

When is the invoice issued for cash-on-delivery orders?

When the order is delivered, which is when the sale is actually completed. Prepaid orders are invoiced when payment is confirmed.

Make compliance part of the store, not an afterthought

ZATCA e-invoicing is easiest when it is built into the store from the first order. Start your store on Commera with simplified tax invoices and VAT handled in one place, and talk to S-Plus if you need your store connected to a Fatoora-integrated accounting system. Contact us to review your invoicing setup.

Related Posts

Welcome Back

Sign in to access your account

Create Account

Join and enjoy the full experience

+965 expand_more
🇰🇼 Kuwait +965
🇸🇦 Saudi Arabia +966
🇦🇪 United Arab Emirates +971
🇶🇦 Qatar +974
🇧🇭 Bahrain +973
🇴🇲 Oman +968
🇪🇬 Egypt +20
🇯🇴 Jordan +962

lock_reset

Reset Password

Enter your email to receive a recovery link