Home/Blog/

Complete Guide to ZATCA Phase 2 E-Invoicing Compliance in Saudi Arabia (2026)

Complete Guide to ZATCA Phase 2 E-Invoicing Compliance in Saudi Arabia (2026)

Introduction: The New Era of Saudi Tax Compliance

Saudi Arabia's Zakat, Tax and Customs Authority (ZATCA) has transformed the Kingdom's commercial ecosystem with the mandate of Fatoora (E-Invoicing). While Phase 1 (Generation Phase) introduced basic digital invoicing and QR codes, Phase 2 (Integration Phase) mandates real-time system-to-system integration with ZATCA servers.

Whether you run a multi-branch retail network, a manufacturing facility, or a fast-paced restaurant chain, compliance with ZATCA Phase 2 is not just a regulatory obligation—it is a core business requirement.

In this guide, we break down everything you need to know about ZATCA Phase 2, key technical requirements, common pitfalls, and how WaslaSoft ERP provides instant, hassle-free compliance.


Key Pillars of ZATCA Phase 2 (Integration Phase)

Phase 2 imposes strict technical standards on Electronic Invoice Generation Solutions (EIGS):

1. Two-Tiered Invoice Architecture

  • B2B Standard Invoices (Tax Invoices): Must be transmitted to ZATCA in real time for Clearance before being issued to the customer.
  • B2C Simplified Invoices: Must be issued instantly to consumers with a mandatory Phase 2 compliant QR code, and reported to ZATCA within 24 hours.

2. Cryptographic Stamps & Digital Signatures (CSID)

Each POS unit or ERP server must onboard with ZATCA's portal to obtain a unique Cryptographic Stamp Identifier (CSID) certificate. Invoices are cryptographically signed using SHA-256 hashing to prevent tampering.

3. XML / UBL 2.1 Standard Syntax

Invoices can no longer be plain PDFs or text receipts. They must follow ZATCA’s strict XML schema (UBL 2.1 standard) with embedded Universal Unique Identifiers (UUID) and previous invoice hashes (PIH) for sequential integrity.


ZATCA Phase 2 Requirements Checklist

Requirement B2B Standard Invoice B2C Simplified Invoice
XML UBL 2.1 Format Mandatory Mandatory
Cryptographic Stamp (CSID) Mandatory Mandatory
Phase 2 QR Code Optional (Recommended) Mandatory
Clearance Deadline Real-time (Instant API call) N/A
Reporting Deadline N/A Within 24 hours
Buyer VAT Identification Mandatory Optional

4 Costly Mistakes Businesses Make During ZATCA Onboarding

  1. Relying on Legacy Software Patches: Trying to retrofit non-Arabic or legacy desktop POS software often leads to API timeouts and failed invoice clearances during peak store hours.
  2. Ignoring Sequential Hash Chaining (PIH): ZATCA requires every invoice to reference the SHA-256 hash of the preceding invoice. A single missing invoice breaks the chain and invalidates subsequent transactions.
  3. Manual Certificate Renewal: CSID certificates expire. Solutions that require manual renewal risk sudden invoice clearance rejections.
  4. Poor Offline Support: Internet disruptions occur. If your solution cannot queue simplified B2C invoices offline and auto-sync within ZATCA’s 24-hour window, you face compliance penalties.

How WaslaSoft ERP Solves ZATCA Phase 2 Compliance

WaslaSoft ERP was built natively for Saudi Arabian tax regulations and financial compliance.

Native Integration & Auto-Onboarding

WaslaSoft connects directly to ZATCA’s Fatoora portal with automated OTP onboarding. Generate your CSID certificates with a single click.

Sub-Second Invoice Clearance

Our lightweight API engine generates the required UBL 2.1 XML, signs the document, and clears B2B invoices with ZATCA in under 400 milliseconds.

Resilient Offline Engine for Retail & POS

Keep selling even when your internet drops. WaslaSoft stores offline B2C transactions securely with local cryptographic hashing and auto-submits them the moment connectivity returns.

Built-in Audit Trail & Rejection Monitoring

View live ZATCA transmission status on your dashboard. Receive immediate notifications if ZATCA flags warning codes or validation errors.


Conclusion: Get Fully Compliant with WaslaSoft

Don't wait for your revenue wave deadline. Transitioning to a certified, native ZATCA Phase 2 solution eliminates tax risks, modernizes your operations, and protects your business from penalties.

Book a Free ZATCA Compliance Demo with WaslaSoft Today

Related FAQ

Frequently Asked Questions

Phase 1 (Generation Phase) required generating standard electronic invoices and printing compliant QR codes without direct connection to ZATCA. Phase 2 (Integration Phase) requires live API integration, generating invoices in XML or UBL format, embedding cryptographic stamps (CSID), and submitting B2B invoices for clearance or B2C invoices for reporting within 24 hours.
ZATCA rolls out Phase 2 in waves based on annual taxable revenues (ranging from Wave 1 for businesses over SAR 3 Billion to subsequent waves covering SMEs under SAR 3 Million). Every registered taxpayer in Saudi Arabia will eventually be integrated into Phase 2.
WaslaSoft ERP features native, direct ZATCA API integration. It automatically generates compliant XML files, applies SHA-256 hashes, embeds CSID certificates, signs B2B invoices for real-time clearance, and submits B2C simplified invoices seamlessly without slowing down checkout speed.
Non-compliance with ZATCA regulations incurs severe penalties under Saudi Tax Law, including fines ranging from SAR 5,000 to SAR 50,000 per violation, rejection of tax deductions, potential audits, and temporary business license suspensions.

Ready to upgrade your store counter?

Join 750+ businesses across Oman, UAE, and Saudi Arabia running offline-first ERP and POS with zero downtime and automatic tax compliance.

Start 14-Day Free Trial →Book Live Demo
KEEP READING

Related Guides & Insights

Cloud vs On-Premises POS for Multi-Branch Retail in the Gulf: Which Is Right for You?

Cloud vs On-Premises POS for Multi-Branch Retail in the Gulf: Which Is Right for You?

21 September 2026Read Guide →
How Cloud Kitchens & Dark Kitchens Can Cut Food Waste by 40% with Real-Time ERP

How Cloud Kitchens & Dark Kitchens Can Cut Food Waste by 40% with Real-Time ERP

21 September 2026Read Guide →
Top 7 Features SMEs in the GCC Must Look For in an All-in-One ERP Software

Top 7 Features SMEs in the GCC Must Look For in an All-in-One ERP Software

21 September 2026Read Guide →