Our Work
About Us Blog Contact
← Back to blog

ZATCA E-Invoicing for Saudi Ecommerce: What Your Store Needs

ZATCA E-Invoicing for Saudi Ecommerce: What Your Store Needs

Businesses invoicing in Saudi Arabia must issue ZATCA-compliant e-invoices, and for an online store that means generating them correctly at the point of sale rather than reconciling afterwards. Building it into the order flow during development is substantially cheaper than retrofitting it once the store is live.

What ZATCA e-invoicing actually is

ZATCA is the Zakat, Tax and Customs Authority, and its e-invoicing programme, known as Fatoora, requires businesses in Saudi Arabia to issue invoices electronically in a specified structured format rather than as free-form documents or PDFs.

The programme has been rolled out in phases, with requirements tightening over time toward integration with ZATCA's own systems. The practical consequence for a business is that invoices need to be generated by a system that produces the required structure and data, not typed by hand.

Requirements and phase timelines change. Confirm your current obligations with ZATCA or your accountant. This article covers what it means for your website build, not your tax position.

Why this is a website problem, not just an accounting one

For a traditional business, invoicing happens in accounting software and the website is irrelevant. For an online store, the sale completes on your website, which means that is where the invoice needs to originate.

That has direct consequences for the build. The store needs to capture the right customer and tax data at checkout, generate a compliant invoice at the point the order is placed, store it, and make it available to both the customer and your accounting stack.

Where it touches the order flow

  • Checkout, which must collect the fields a compliant invoice requires, including buyer tax details for B2B sales.
  • Order confirmation, which is the point the invoice is generated.
  • Customer account and order history, where the customer can retrieve the invoice.
  • Refunds and partial refunds, which require credit notes rather than deleted invoices.
  • The handoff to your accounting or ERP system, so numbers reconcile without manual work.

Integration options

There are broadly three routes, and the right one depends on what you already run.

  • Through your existing accounting or ERP system, if it already has certified e-invoicing support. Usually the cleanest option, since compliance stays where your accountants already work.
  • Through a certified e-invoicing service provider, which the store calls at the point of sale. Good middle ground for stores without a heavy ERP.
  • Direct integration, which gives the most control and carries the most ongoing responsibility for keeping up with specification changes.

Why retrofitting costs more

Adding e-invoicing to a live store is more expensive than building it in, for three reasons. The checkout usually needs to change to capture additional fields, which touches the most conversion-sensitive part of the site. Historical orders need a decision about how they are handled. And there is normally a period of manual invoicing in between, which costs staff time and introduces errors.

If you are building or rebuilding a store and you invoice in Saudi Arabia, put this in the original scope. It is a known, boundable piece of work at that stage.

What to ask an agency

  • Have you integrated ZATCA e-invoicing before, and with which provider or system?
  • Where in the order flow is the invoice generated, and what happens if generation fails?
  • How are refunds and credit notes handled?
  • How do invoices reach our accounting system?
  • Who is responsible for updates when the specification changes?

Frequently asked questions

Does ZATCA e-invoicing apply to online stores?
If your business is required to issue e-invoices in Saudi Arabia, that obligation covers your online sales too. Because the sale completes on your website, the invoice needs to originate there rather than being reconciled manually afterwards.
Can I add ZATCA e-invoicing to an existing store?
Yes, but it costs more than building it in. The checkout usually needs to change to capture additional fields, historical orders need a decision, and there is normally a period of manual invoicing in between. If you are building or rebuilding, put it in the original scope.
Does Shopify support ZATCA e-invoicing?
Not natively as a core feature. Saudi merchants typically connect Shopify to a certified e-invoicing provider or to an accounting system that handles compliance. Confirm the specific integration and its current certification status before committing to a platform.
What happens to refunds under e-invoicing?
Refunds require credit notes rather than deleting or editing the original invoice. This needs to be handled in the order flow, and it is one of the parts most commonly missed in a quick integration.
Who is responsible when the specification changes?
Agree this before you start. If you integrate through a certified provider or your ERP vendor, they generally handle specification updates. With a direct integration the responsibility sits with whoever maintains your store, so it needs to be in a maintenance agreement.

Book a free call with an expert

Share your ideas with us to activate the glow!

Get in touch
Get in touch