AM.
Back to Overview

UAE PINT-AE & Saudi ZATCA Phase 2 E-Invoicing ERP Integration: An Architectural Guide

Mandate & Focus

Published: February 2026

UAE and Saudi Arabia · Implementation briefing

UAE e-invoicing 2027: what an ERP team needs to prepare

The UAE has adopted structured e-invoicing, using Accredited Service Providers for invoice exchange and tax data reporting. The UAE Ministry of Finance identifies 1 January 2027 as the mandatory start for the first revenue-based phase. Subsequent applicability and provider-appointment rules depend on the latest ministerial amendments; verify your entity's position against official publications.

Saudi Arabia is different: ZATCA's FATOORA Phase 2 is implemented by notified waves. Its Wave 25 integration deadline is 1 February 2027, not a blanket deadline for every taxpayer. Treat UAE PINT-AE and Saudi FATOORA as separate regulatory integrations even if they share an ERP backend.

UAE: PINT-AE & provider exchange

Focus on mandatory field mapping, approved provider connectivity, exchange acknowledgements and tax-data reporting. A PDF emailed to a customer is not a structured eInvoice under the UAE programme.

Saudi Arabia: ZATCA Phase 2

Confirm your notified wave and onboarding requirements. Test mandated invoice format, security controls, clearance/reporting flows, failure handling and audit retention against ZATCA's specifications.

Start with the UAE Ministry of Finance eInvoicing portal and ZATCA's Wave 25 announcement. This engineering guide was reviewed on 7 November 2026; regulatory obligations can change.

Jump to the seven-step readiness checklist ↓
Focus: ZATCA UBL 2.1 & UAE PINT-AE Compliant | Middleware Architecture
Internal Architectural Framework & Engineering Guide

Executive Abstract

Practical UAE e-invoicing 2027 ERP readiness guide with a free checklist, PINT-AE field mapping, accredited provider integration, ZATCA comparison, validation and exception handling.

Executive Overview & Regulatory Mandate

Across the Gulf Cooperation Council (GCC), statutory revenue and tax authorities are executing a historic transition from traditional post-audit VAT compliance to real-time Continuous Transaction Controls (CTC). For enterprise organizations operating in Saudi Arabia and the United Arab Emirates, e-invoicing compliance is no longer a cosmetic PDF-generation task; it represents a mission-critical architectural integration directly touching core ERP ledgers, order-to-cash workflows, cryptographic key infrastructure, and data integrity guarantees.

This technical guide details the concrete engineering requirements, data schemas, cryptographic primitives, and middleware integration patterns necessary to achieve seamless compliance with Saudi ZATCA Phase 2 (FATOORA Integration) and the UAE PINT-AE (Peppol-based) E-Invoicing Standard.

1. Saudi Arabia: ZATCA Phase 2 (FATOORA) Integration

The Zakat, Tax and Customs Authority (ZATCA) Phase 2 mandates that Electronic Generation Solutions (EGS) integrate directly with the central FATOORA portal via REST APIs. Tax documents are partitioned into two distinct operational flows:

  • Standard Tax Invoices (B2B / B2G): Require Clearance. The ERP must submit the normalized UBL 2.1 XML to ZATCA in real time. ZATCA validates business rules, applies an official cryptographic clearance watermark, and returns the signed document before it can be legally presented to the corporate buyer.
  • Simplified Tax Invoices (B2C): Require Reporting. Invoices are generated, digitally signed locally by the EGS using private keys, and issued to the consumer immediately with a compliant cryptographic QR code. The EGS must batch and report these invoices to ZATCA within 24 hours.
+-----------------------------------------------------------------------------------+
|                        ZATCA PHASE 2 CRYPTOGRAPHIC PIPELINE                       |
|                                                                                   |
|   +---------------------+        Canonicalize UBL 2.1        +----------------+   |
|   | Raw ERP Invoice Data| ---------------------------------> | C14N XML Engine|   |
|   +---------------------+                                    +----------------+   |
|                                                                      |            |
|                                                          SHA-256 Digest           |
|                                                                      v            |
|                                                      +------------------------+   |
|                                                      | Invoice Hash (32-byte) |   |
|                                                      +------------------------+   |
|                                                                      |            |
|                                                 +--------------------+            |
|                                                 | Embed Previous Invoice Hash     |
|                                                 v                                 |
|                                  +-------------------------------+                |
|                                  | Cryptographic Hash Chain Link |                |
|                                  +-------------------------------+                |
|                                                 |                                 |
|                                    Sign with secp256k1 Private Key (HSM)          |
|                                                 v                                 |
|   +---------------------------------------------------------------------------+   |
|   | UBLExtensions: Embedded ECDSA Digital Signature & X.509 Compliance Cert   |   |
|   +---------------------------------------------------------------------------+   |
|                                                 |                                 |
|                                                 v                                 |
|   +---------------------------------------------------------------------------+   |
|   | TLV Encrypted QR Code Generation (Base64 Encoded Tag-Length-Value)        |   |
|   +---------------------------------------------------------------------------+   |
+-----------------------------------------------------------------------------------+
      

Cryptographic Onboarding & Device Identification (CSID)

Every ERP server or physical POS device generating tax invoices must be onboarded as an authorized EGS unit:

  1. Key Pair Generation: Generate an ECDSA key pair on the secp256k1 elliptic curve.
  2. CSR Creation: Generate a Certificate Signing Request (CSR) embedding the EGS serial number, organization unit, tax identification number (TIN), and registered business category.
  3. Compliance CSID: Exchange the CSR via the ZATCA Compliance API using a One-Time Password (OTP) generated on the FATOORA portal. Execute simulated invoice clearance and reporting tests.
  4. Production CSID (PCSID): Upon passing all validation checks, obtain the production X.509 certificate used to sign live tax invoices.

Invoice Hashing & Cryptographic Chaining

ZATCA enforces strict invoice immutability through cryptographic chaining:

  • UBL 2.1 XML Normalization: The raw invoice is structured according to the ZATCA UBL 2.1 XML profile. Specific signature and QR elements are excluded during hash calculation.
  • SHA-256 Invoice Hash: The canonicalized XML is hashed using SHA-256, producing a deterministic 32-byte digest represented in Base64.
  • Previous Invoice Hash (PIH): Each invoice must embed the SHA-256 hash of the immediately preceding invoice generated by the same EGS unit. The initial invoice embeds a Base64-encoded SHA-256 digest of 0. This forms an unbroken, tamper-evident cryptographic chain at the ERP layer.
  • ECDSA Digital Signature: The invoice hash is signed using the private key associated with the EGS PCSID and embedded into the ext:UBLExtensions block.
  • QR Code TLV Encoding: For B2C invoices, a Base64-encoded Tag-Length-Value (TLV) payload is generated containing: (1) Seller Name, (2) VAT Registration Number, (3) Time Stamp, (4) Invoice Total, (5) VAT Total, (6) SHA-256 Hash, (7) ECDSA Signature, and (8) Public Key / Certificate.

2. United Arab Emirates: PINT-AE Peppol Framework

The UAE Federal Tax Authority (FTA) is deploying continuous transaction controls anchored on the decentralized Peppol 4-Corner Network and the PINT-AE (Peppol International Invoice - UAE Profile) specification:

  • Corner 1 (Sender / Enterprise ERP): Generates the compliant invoice payload.
  • Corner 2 (Sender's Certified Peppol Service Provider): Validates, transforms, and transmits the document across the secure Peppol network.
  • Corner 3 (Receiver's Certified Peppol Service Provider): Receives the validated payload.
  • Corner 4 (Buyer / Accounting System): Ingests the invoice directly into their ERP.
  • Tax Authority Integration: In parallel, Corner 2 or Corner 3 transmits continuous transaction data directly to the FTA central reporting repository.

3. ERP Integration Middleware Architecture

Directly coupling e-invoicing API calls into legacy ERP transaction loops creates severe operational fragility. If a government tax endpoint experiences network latency, billing desks freeze. We advocate for an asynchronous, decoupled integration middleware layer:

+-----------------------------------------------------------------------------------+
|                        DECOUPLED INTEGRATION MIDDLEWARE                           |
|                                                                                   |
|  +--------------------+       gRPC / REST       +-----------------------------+   |
|  | Enterprise ERP     | ----------------------> | Ingestion Transformation API|   |
|  | (SAP / NetSuite)   |                         | - Schema Validation         |   |
|  +--------------------+                         +-----------------------------+   |
|                                                                |                  |
|                                                                v                  |
|                                                 +-----------------------------+   |
|                                                 | Idempotent Queue (Redis/AMQP)|  |
|                                                 +-----------------------------+   |
|                                                                |                  |
|                                                                v                  |
|                                                 +-----------------------------+   |
|                                                 | Cryptographic Signing Worker|   |
|                                                 | - Cloud KMS / HSM Vault     |   |
|                                                 | - SHA-256 Hash Chaining     |   |
|                                                 +-----------------------------+   |
|                                                                |                  |
|                                                                v                  |
|  +-----------------------------------------------------------------------------+  |
|  | Tax Authority Gateway Dispatcher (Circuit-Breaker & Exponential Backoff)    |  |
|  +-----------------------------------------------------------------------------+  |
|            |                                                 |                    |
|            v (Real-Time Clearance)                           v (AS4 Transport)    |
|  +-----------------------------+               +-----------------------------+    |
|  | Saudi Arabia ZATCA Portal   |               | UAE Peppol Service Provider |    |
|  +-----------------------------+               +-----------------------------+    |
+-----------------------------------------------------------------------------------+
      

4. Contextual Architecture Links & Related Publications

5. Official Regulatory Authorities & Specifications

Disclosure: Architectural advisory and custom middleware engineering bridge internal enterprise ledgers to accredited Peppol Service Providers in the UAE or ZATCA-qualified solution providers in Saudi Arabia. Advisory does not substitute for formal solution accreditation where mandated.

Free ERP readiness self-check · 2027

UAE e-invoicing integration checklist

Use these engineering checkpoints to identify conversations your finance, ERP and integration teams still need to have. Mark each item when you have documented evidence.

0 / 7

Items documented

This checklist is a planning aid, not an audit, certification, legal opinion or guarantee of compliance. Choices remain local to this page; nothing is transmitted or saved.

Need to turn the checklist into an integration plan?

Explore the design review with Anant Mishra, IAG Global technology executive and Invadecore CEO. No accredited-provider status is claimed on this site.

Discuss ERP readiness ↗

Standards & Regulatory References

  • Zakat, Tax and Customs Authority (ZATCA): "Electronic Invoicing Implementation Resolution & Security Requirements" (Phase 2 Standard, 2024-2026).
  • OpenPeppol & UAE FTA: "Peppol International (PINT) Billing - UAE Profile Specifications" (2025-2026).
  • OASIS Universal Business Language (UBL) 2.1 Specification and Schematron Rule Sets.
  • AWS & Cloud Architecture Center: "Microservices Asymptotic Scaling Economics & FinOps Unit Costing" (2025).

Technical & Architectural FAQs

What is the difference between ZATCA Phase 1 and Phase 2?
Phase 1 (Generation Phase) required generating electronic invoices with basic QR codes without manual tampering. Phase 2 (Integration Phase) mandates direct REST API integration with ZATCA's FATOORA portal, cryptographic device certificates (CSIDs), XML UBL 2.1 validation, cryptographic hash chains, and real-time clearance for B2B invoices.
Can we use a single cryptographic certificate for all our retail branch POS terminals in Saudi Arabia?
No. ZATCA regulations mandate that every distinct physical or virtual Electronic Generation Solution (EGS) unit generating tax invoices must obtain a dedicated Cryptographic Stamp Identifier (CSID) tied to its unique serial number.
How does UAE PINT-AE interact with existing SAP or Oracle ERP systems?
Mid-market and enterprise systems interface with an integration middleware that extracts standard billing documents, maps them to the PINT-AE UBL schema, validates them against official Schematron rules, and dispatches them via an accredited Peppol Service Provider.
What happens if our internet connection goes down while issuing a B2B invoice in Saudi Arabia?
For B2B transactions requiring clearance, ZATCA specifies emergency offline fallback protocols with contingency invoice sequences that must be formally reported as soon as network connectivity is restored.

Implementation Advisory

If your enterprise is preparing for Saudi ZATCA Phase 2 or UAE PINT-AE compliance, or refactoring a legacy ERP system, schedule a technical discovery call to review data schemas, cryptographic requirements, and migration roadmaps.

Book Discovery Call ↗

Ready to architect operational leverage?

Available for fractional executive leadership, enterprise architecture consulting, and board-level technical advisory.

Initiate Dialogue ↗