Compliance & Regulation

ZATCA E-Invoicing Requirements for Business Software in Saudi Arabia

LEBy Leadx Tech Editorial Team7 min read

E-invoicing has become one of the most common reasons Saudi businesses upgrade their accounting, ERP and point-of-sale systems. If your software issues tax invoices, it has to meet the Zakat, Tax and Customs Authority's (ZATCA) requirements — and the deadline for many smaller businesses is now close. This guide explains what is required in plain language and what to check in your software.

This article is general guidance, not tax advice. Always confirm your obligations and dates with ZATCA's official notices or your tax adviser.

What are the two phases of ZATCA e-invoicing?

PhaseNameWhat it requires
Phase 1GenerationIssue and store invoices electronically from a compliant solution (no handwritten or editable text invoices), with required fields and a QR code on simplified invoices.
Phase 2IntegrationConnect your invoicing system to ZATCA's Fatoora platform: standard (B2B) invoices are cleared by ZATCA before being shared, and simplified (B2C) invoices are reported to ZATCA after issue.

Who must integrate in Phase 2, and when?

ZATCA rolls out Phase 2 in waves based on taxpayers' VAT-subject revenue, and notifies each wave at least six months before its integration deadline. According to KPMG and EY, ZATCA announced in July 2026 that wave 25 covers taxpayers whose revenue exceeded SAR 187,500, with a deadline of 1 February 2027. Earlier waves in 2026 had deadlines between January and June 2026.

The SAR 187,500 threshold is low enough to include many small and medium businesses, so if you are VAT-registered and have not yet been notified, check your status on the ZATCA portal now.

What does Phase 2 mean for your software?

  • Structured invoice format — invoices must be generated in the required structured (XML/UBL-based) format, alongside a human-readable version.
  • Device onboarding — each invoicing solution or unit (for example each POS) is registered with ZATCA and receives a cryptographic identity.
  • Cryptographic stamp and hash chain — every invoice is signed and linked to the previous invoice to prevent tampering.
  • QR code — simplified invoices carry a QR code with required data.
  • Clearance and reporting APIs — B2B invoices must be cleared in real time before delivery; B2C invoices must be reported within the required timeframe.
  • Error handling — the system must handle rejections, retries and offline scenarios without losing invoices.
  • Credit and debit notes — corrections must follow the same rules and reference the original invoice.

Should you upgrade your ERP or build a custom integration?

Your situationTypical approach
Using a well-known ERP or accounting product with a ZATCA-certified updateUpgrade and configure; test with ZATCA's sandbox before go-live.
Custom or legacy system that issues invoicesAdd an e-invoicing module or middleware that generates, signs and submits invoices.
Several systems issuing invoices (POS, e-commerce, ERP)Centralize invoicing in one service that all channels call, so compliance logic exists in one place.
Old system that is hard to maintainConsider modernizing the invoicing and finance part instead of patching it — see our legacy modernization guide.

A readiness checklist

  1. List every system and channel that issues tax invoices or credit notes.
  2. Confirm your wave and deadline in the ZATCA portal.
  3. Check that customer master data (VAT numbers, addresses) is complete and correct for B2B clearance.
  4. Choose the approach: vendor upgrade, middleware or custom module.
  5. Test end to end in ZATCA's sandbox, including rejections and offline cases.
  6. Onboard production devices and run a pilot before switching all branches.
  7. Train finance and sales teams on the new flow and error handling.

What is the difference between standard and simplified invoices?

Standard tax invoiceSimplified tax invoice
Typical useBusiness-to-business (B2B) and business-to-government salesBusiness-to-consumer (B2C) sales, e.g. retail and restaurants
Buyer detailsBuyer's name, address and VAT number are requiredBuyer details usually not required
Phase 2 flowClearance: sent to ZATCA and validated before it is shared with the buyerReporting: shared with the customer immediately and reported to ZATCA afterwards
QR codeIncluded in the cleared invoiceGenerated by your system and printed on the receipt

Most businesses issue both types — for example a distributor invoicing companies and also selling to walk-in customers — so the software must handle both flows correctly.

How does the Phase 2 flow work step by step?

For standard (B2B) invoices — clearance

  1. Your system generates the invoice in the structured format and signs it.
  2. It sends the invoice to ZATCA's Fatoora platform through the clearance API.
  3. ZATCA validates the invoice and returns it cleared (with its stamp and QR code) or rejects it with error details.
  4. Only the cleared invoice is shared with the buyer and stored in your system.

For simplified (B2C) invoices — reporting

  1. Your system generates, signs and prints the invoice with its QR code at the point of sale.
  2. The customer receives the invoice immediately.
  3. Your system reports the invoice to Fatoora through the reporting API within the period ZATCA requires.
  4. Any rejection is logged and corrected through the appropriate process.

The difference matters for user experience: B2B clearance happens in real time, so your system needs a fast, reliable connection and a clear message to staff when an invoice is rejected; B2C reporting can happen in the background, but must never be forgotten.

What about POS terminals and offline sales?

Retailers, restaurants and pharmacies face the trickiest scenarios. Each POS device or invoicing unit is onboarded separately, keeps its own invoice sequence and must continue selling when the internet is down. A robust POS design:

  • Signs and prints simplified invoices locally so sales never stop.
  • Queues invoices for reporting and retries automatically when connectivity returns.
  • Alerts managers if reports remain pending for too long.
  • Keeps each device's invoice counter and hash chain consistent, even after restarts or updates.

How should credit and debit notes be handled?

Corrections are where many systems fail audits. Returns, discounts after sale and price corrections must be issued as electronic credit or debit notes that reference the original invoice and follow the same clearance or reporting rules. Avoid editing or deleting issued invoices directly in the database; build a proper correction flow in the application instead.

What are the most common integration problems?

  • Incomplete customer data — missing or wrong VAT numbers and addresses cause B2B clearance rejections.
  • Rounding differences — VAT calculated per line versus per invoice can produce totals that fail validation.
  • Several systems issuing invoices — the ERP, the e-commerce site and the POS each generate invoices with different logic.
  • Weak error handling — rejections that are silently ignored and discovered weeks later.
  • Certificates and onboarding — device certificates that expire or are not renewed in time.
  • Testing only the happy path — skipping tests for returns, discounts, foreign currency or exempt items.

How long should you keep e-invoices?

Invoices must be stored in a way that preserves their integrity and can be retrieved for audits. Design storage so that cleared or reported invoices are immutable, searchable by number, date and customer, backed up, and kept for the retention period required by Saudi tax rules — confirm the exact period with your tax adviser.

How do you choose a partner for e-invoicing integration?

  • Ask which ERPs, POS systems or custom stacks they have already integrated with Fatoora.
  • Ask how they handle offline mode, retries, certificate renewal and multi-branch onboarding.
  • Ask for their test plan, including returns, discounts and edge cases.
  • Agree on support after go-live, because ZATCA updates specifications and you will need someone to apply changes.

Questions to ask your current ERP or POS vendor

  • Is our current version certified or ready for Phase 2 integration, or do we need an upgrade?
  • Does the upgrade cover every module that issues invoices, including returns and credit notes?
  • How are devices onboarded, and who renews certificates?
  • What happens when Fatoora is unreachable — does the system queue and retry automatically?
  • What is the cost, and is support for future ZATCA specification changes included?

If the answers are vague or the product is no longer actively maintained, treat it as a signal to plan a replacement or a custom invoicing layer rather than waiting until the deadline.

A realistic plan for a February 2027 deadline

  1. Month 1: inventory invoicing systems, confirm your wave, choose the integration approach and partner.
  2. Month 2: build or upgrade the integration, clean customer master data, and test in the sandbox.
  3. Month 3: onboard production devices, pilot one branch or channel, and fix issues.
  4. Before the deadline: roll out to all branches and channels and train staff, leaving a buffer for surprises.

Key takeaways

  • Phase 2 requires integration with ZATCA's Fatoora platform, not just electronic invoices.
  • Wave 25 brings in taxpayers above SAR 187,500 in revenue, with a 1 February 2027 deadline.
  • Your system needs structured invoices, cryptographic stamps, QR codes and clearance/reporting APIs with robust error handling.
  • Centralizing invoicing in one service is often the cleanest solution when several systems issue invoices.

Leadx Tech builds ZATCA-ready invoicing modules for custom systems, POS solutions and ERPs from our office in Jeddah. Contact us for a readiness review, or read PDPL compliance for apps and software.

Frequently asked questions

What is the difference between Phase 1 and Phase 2?

Phase 1 requires generating and storing invoices electronically with required fields and QR codes. Phase 2 adds integration with ZATCA's Fatoora platform, with clearance of B2B invoices and reporting of B2C invoices.

What is the deadline for wave 25?

According to KPMG and EY reporting of ZATCA's July 2026 announcement, wave 25 covers taxpayers with revenue above SAR 187,500 and must integrate by 1 February 2027. Confirm your own status on the ZATCA portal.

Can my existing custom system be made compliant?

Usually yes, by adding an e-invoicing module or middleware that generates structured invoices, signs them and connects to Fatoora. Very old systems may be cheaper to partially modernize.

Do POS systems need to integrate too?

Yes. POS devices issuing simplified invoices must be onboarded and report invoices to ZATCA under Phase 2.

How long does an integration project take?

For a single system with clean data, a few weeks is common; multi-channel businesses with several invoicing systems should plan for two to four months including testing and rollout.

Sources

  1. KPMG – Saudi Arabia: e-invoicing mandatory for taxpayers with revenue above SAR 187,500
  2. EY – Saudi Arabia announces 25th wave of Phase 2 e-invoicing integration
  3. EY – Saudi Arabia announces 23rd wave of Phase 2 e-invoicing integration
Tags:ZATCAe-invoicingFatooraSaudi ArabiaERP
LE

About the author

Leadx Tech Editorial Team

Software engineers and consultants

Articles are written and reviewed by the Leadx Tech team — engineers and consultants in Jeddah and Cairo who build web, mobile and enterprise software for companies in Saudi Arabia, Egypt and the UAE.

Planning a software project?

Tell us what you need and get a free consultation and estimate from our team in Jeddah and Cairo.

Get a free quote

Related articles

Compliance & Regulation

Saudi PDPL Compliance for Apps and Software: A Practical Checklist

Saudi Arabia's Personal Data Protection Law (PDPL), supervised by SDAIA, has been in force since 14 September 2023, and its one-year grace period ended on 14 September 2024. Any app or system processing personal data of people in the Kingdom needs a lawful basis such as consent, a clear privacy notice, processes for data-subject requests, breach notification, security controls and safeguards for transfers outside the Kingdom.

7 min read
Costs & Pricing

How Much Does an ERP System Cost in Saudi Arabia?

ERP cost in Saudi Arabia should be budgeted as a first-year program, not only a license. Public benchmarks point to about SAR 152,600 as average annual contract value for Saudi ERP accounts and about SAR 1.69 million as the median global enterprise software project cost, before 15% VAT and Saudi-specific scope.

9 min read
Software Development Guides

How to Choose an App Development Company in Riyadh

To choose an app development company Riyadh businesses can trust, verify Saudi-specific capability: Arabic/RTL UX, iOS and Android QA, mada and wallet payments, ZATCA e-invoicing, PDPL privacy controls, NCA-aligned security and Saudi hosting options. The right partner proves these in discovery, architecture and tests—not only in a polished portfolio.

10 min read