WhatsApp

Request A Quote

Follow Us On:

🇸🇦 ERPNext implementation partner · Saudi Arabia

ERPNext ZATCA E-Invoicing in Saudi Arabia

ERPNext core does not include ZATCA e-invoicing, so Phase 2 compliance depends on the app you choose and how well it is configured and tested. We set up community ZATCA apps on ERPNext, onboard every invoicing unit with Fatoora, test each invoice type in the ZATCA sandbox and support the integration after go-live.

  • App selection
  • CSID onboarding
  • XML and stamping
  • Clearance and reporting
500+Projects
SARFixed quote
24/7Support
ERPNextERPNext & FrappeImplementation · migration · AMC

Get a free quote

Reply within 24 hours with scope and a fixed quote.

Your details stay private. See our privacy policy.

Looking for a job? Please email your CV to hr@shyphan.com; this form is for business enquiries.

At a glance

ERPNext ZATCA E-Invoicing in Saudi Arabia: the short answer

ERPNext core
Frappe's documentation states plainly that ERPNext does not include ZATCA (Fatoora) e-invoicing; a ZATCA app adds it.
Apps we use
KSA Compliance by LavaLoon (AGPL, open source) and zatca_erpgulf by ERPGulf (MIT licence), or an integration we build.
Phase 2 flows
Standard invoices cleared before the buyer receives them; simplified invoices stamped locally and reported within 24 hours.
Latest wave
Wave 25 covers VAT-subject revenue above SAR 187,500 in 2022 to 2025, with Phase 2 from 1 February 2027.
Delivered by
Shyphan AI Solutions, an ERPNext implementation partner and Zoho Premium Partner, with 24/7 support. Call +966 54 176 1946.
Last reviewed
27 November 2026
Overview

How ZATCA e-invoicing works, and where ERPNext fits

Fatoora arrived in two phases. Phase 1, the generation phase, started on 4 December 2021 and requires invoices and notes to be produced electronically by a compliant solution, with a QR code on simplified invoices. Phase 2, the integration phase, started on 1 January 2023 and is being applied wave by wave. It connects your invoicing system to ZATCA's Fatoora platform through APIs, using XML invoices in ZATCA's UBL-based format, cryptographic stamps and onboarded devices identified by a CSID.

Under Phase 2, a standard tax invoice to a business or government buyer is sent to Fatoora for clearance before it reaches the buyer. Fatoora validates it, adds its cryptographic stamp and QR code and returns the cleared XML. A simplified invoice to a consumer is stamped by your own system with its CSID, carries a QR code with nine tags and is reported to Fatoora within 24 hours. Credit and debit notes follow the same route as the invoices they correct.

ERPNext produces the invoice data, but the XML generation, signing, onboarding and API calls come from a ZATCA app. Choosing that app, configuring it correctly and proving every scenario in the sandbox is where projects succeed or stumble.

How it flows

From first record to the finished report

One open-source system, so each step feeds the next without re-keying.

InvoiceSubmitted in ERPNext
XMLUBL built, hashed
FatooraClear or report
StampCryptographic stamp, QR
ArchiveXML stored on invoice
What you get

What our ZATCA Phase 2 service covers

App selection

We compare KSA Compliance by LavaLoon and zatca_erpgulf by ERPGulf against your ERPNext version, hosting, POS needs and support preferences, and explain the trade-offs honestly before you choose.

CSID onboarding

Each invoicing unit generates its key and certificate request, receives a compliance CSID through an OTP from the Fatoora portal, passes compliance checks and is issued a production CSID.

XML and stamping

The app builds the UBL XML from each submitted invoice, calculates the invoice hash and counter, signs simplified invoices and stores the XML against the document.

Clearance and reporting

Standard invoices go for clearance on submit and are shared only once cleared; simplified invoices are reported, in live or batch mode depending on the app, within the 24-hour window.

Sandbox test pack

Standard, simplified, credit and debit notes, discounts, zero-rated and exempt lines, exports and advance payments tested against the ZATCA sandbox, with results recorded.

Rejection handling

A dashboard of pending, rejected and warning responses, with a process for fixing the data and issuing the correct note, so nobody edits a submitted invoice.

Product screens

See it in ERPNext

Real ERPNext and Frappe screens for the work described on this page. We configure them for Saudi rules and your data.

ERPNext ZATCA workspace
ERPNext ZATCA workspaceThe ZATCA Integrations workspace in ERPNext with monthly submission charts and counts of cleared, reported and pending invoices.Screenshot: Beveren Software, ZATCA Integration for ERPNext (AGPL-3.0). Credits
ERPNext invoices with ZATCA status
ERPNext invoices with ZATCA statusThe ERPNext Sales Invoice list with a ZATCA Status column marking each invoice as pending, cleared or reported, with amounts in Saudi riyal.Screenshot: Beveren Software, ZATCA Integration for ERPNext (AGPL-3.0). Credits
ERPNext sales invoice
ERPNext sales invoiceA draft ERPNext Sales Invoice with customer, posting date, payment due date and item rows, the key fields outlined in red.Screenshot: Frappe Technologies, ERPNext documentation at docs.frappe.io. Credits
The Frappe stack

ERPNext and the Frappe apps we implement

One open-source platform, one database, no per-user licence fees.

ERPNext logo
ERPNextAccounts, stock, buying, selling, manufacturing
Frappe HR logo
Frappe HRHR, payroll, leave, attendance, expenses
Frappe CRM logo
Frappe CRMLeads and deals linked to ERPNext
Helpdesk logo
HelpdeskTickets, SLAs and a knowledge base
Insights logo
InsightsDashboards on your ERPNext data
Frappe Framework logo
Frappe FrameworkCustom apps and doctypes
Frappe Cloud logo
Frappe CloudManaged hosting and upgrades
Drive logo
DriveFiles kept inside your system
Saudi compliance

ZATCA Phase 2 requirements and our ERPNext set-up

TopicThe Saudi ruleWhat we set up
Standard tax invoicesPhase 2 tax invoices are generated as XML or PDF/A-3 with embedded XML, submitted as XML for clearance, and shared with the buyer only after Fatoora returns them stamped.The ZATCA app sends each standard invoice on submit, blocks printing until clearance succeeds and attaches the cleared XML and QR code.
Simplified invoicesSimplified invoices are stamped by the taxpayer's solution using a ZATCA-issued CSID, carry a nine-tag QR code and are reported to Fatoora within 24 hours.Simplified invoices from desk sales and POS are signed locally, printed with the QR code and queued for reporting, with alerts for anything near the deadline.
OnboardingEach e-invoice generation solution unit must be onboarded and hold a CSID; the stamping private key must not be exportable.We onboard head office, branches and POS units as separate devices where needed and keep keys on the server under the app's control.
Tamper resistanceSolutions must prevent undetected alteration or deletion of invoices and allow XML export and archiving.Submitted invoices are locked, cancellations go through credit notes, and stored XML is included in backups.
WavesWave 23 had a SAR 750,000 threshold due 31 March 2026, Wave 24 SAR 375,000 due 30 June 2026, and Wave 25 SAR 187,500 with Phase 2 from 1 February 2027. ZATCA notifies affected taxpayers.We plan your onboarding back from the date in your ZATCA notice, leaving time for sandbox tests and user training.
ArabicThe human-readable invoice must be in Arabic, with other languages allowed alongside.Bilingual print formats show ZATCA fields in Arabic and English and place the QR code where scanners read it reliably.

We configure the system and check it against your accountant’s figures; we are not tax advisers, and your accountant files the returns. Last reviewed 27 November 2026.

How it runs

From Phase 1 to a live Phase 2 integration

1

Confirm your wave and scope

We check your ZATCA notice, list every invoice type and channel you use, and count the units that issue invoices, from head office to each POS terminal.

2

Install and configure the app

On staging we install the chosen ZATCA app, link it to your company VAT details, tax categories, exemption reasons and print formats.

3

Sandbox compliance cycle

Every scenario in the test pack is sent to the ZATCA sandbox. Failures are traced to data, configuration or app behaviour and fixed until the full pack passes.

4

Production onboarding

Using OTPs from your Fatoora portal account, each unit is onboarded, compliance checks run and production CSIDs issued, then a controlled first batch of live invoices is watched closely.

5

Monitor and maintain

After go-live we watch rejections and warnings, keep the app updated as ZATCA publishes changes and renew or re-onboard units when required.

Vikas Saroj, Co-Founder and COO at Shyphan AI Solutions

Written and reviewed by Vikas Saroj, Co-Founder, COO & Growth at Shyphan AI Solutions, who owns ERPNext, Odoo and Zoho delivery across Saudi Arabia and the wider region. Reviewed against current Saudi rules on 27 November 2026. Meet the team · LinkedIn

FAQ

ERPNext ZATCA E-Invoicing in Saudi Arabia: questions answered

Is ERPNext ZATCA Phase 2 compliant?
ERPNext core is not, by Frappe's own statement. Compliance comes from a ZATCA app installed on top, such as KSA Compliance by LavaLoon or zatca_erpgulf by ERPGulf, configured and tested for your business. We do not claim ZATCA certification for any app, and we test every scenario in the sandbox before going live.
Which ZATCA app should we use?
KSA Compliance is AGPL open source and lists Phase 1 and Phase 2, standard and simplified invoices, an onboarding wizard, live and batch modes, multi-device support and sandbox support. zatca_erpgulf is MIT licensed and covers CSR generation, compliance and production tokens, clearance, reporting and reconciliation reports. The right choice depends on your version, hosting and POS set-up, and we explain why we recommend one.
Can ERPNext POS issue ZATCA simplified invoices?
Yes, provided the ZATCA app is configured for the POS profiles and each terminal is onboarded where required. Simplified invoices are signed locally, printed with the QR code and reported within 24 hours. We test POS returns and offline periods carefully because they cause most retail rejections.
What happens when Fatoora rejects an invoice?
The app records the rejection reason. A rejected standard invoice is not cleared, so it must not be shared with the buyer; we correct the cause and resubmit. For reported invoices with problems, corrections go through credit or debit notes. We never edit a submitted invoice.
Is Shyphan an official Frappe partner?
We are an ERPNext implementation partner and do not claim an official Frappe tier. For ZATCA we configure, test and support community apps, and contribute fixes to their maintainers when we find problems.
Do ZATCA apps carry licence fees?
Both apps we use are open source, and ERPNext has no per-user licence. Publishers may charge for premium support or features, and Frappe Cloud may list an app as paid. We confirm the terms with you before installation.
Get Started

Request your free quote

Tell us about your project and a senior ERPNext consultant - not a bot - replies within 24 hours with scope, timeline and a fixed quote. The first 30-minute discovery call is free, with no obligation.

  • Free 30-minute discovery call
  • Fixed-quote SOW - no surprises
  • Arabic · English delivery
  • VAT 15%, ZATCA, GOSI & mada ready

Your details stay private. See our privacy policy.

Looking for a job? Please email your CV to hr@shyphan.com; this form is for business enquiries.