City skyline at night reflected in the water

ZATCA E-Invoicing (Fatoora)

ZATCA Phase 2 e-invoicing, built into the ERP.

UPAX issues Saudi tax invoices the way ZATCA's integration phase requires — structured XML, cryptographic stamp, QR code, hash chain and real-time clearance or reporting — from the same screens your team already uses.

What ZATCA Phase 2 requires

Saudi Arabia's e-invoicing programme (Fatoora) has two phases. Phase 1, the generation phase, has applied since 4 December 2021. Phase 2, the integration phase, has been rolled out in waves since 1 January 2023 and requires taxpayers' systems to connect to ZATCA's platform.

In Phase 2, standard tax invoices (B2B) must be cleared by ZATCA before they are shared with the buyer, and simplified tax invoices (B2C) must be reported within 24 hours. Every invoice is a UBL 2.1 XML document with a cryptographic stamp, an invoice hash linked to the previous invoice, and a QR code.

How UPAX handles it

Invoices, credit notes and debit notes are created in UPAX receivables, sales, projects or online channels, then pass an issue workflow: review, validate, sign, clear or report, and post. Nothing is posted to the ledger until the invoice has been accepted.

Each e-invoice generation solution (EGS) unit keeps its own invoice counter and previous-invoice hash chain. The signing key is held in a key store: the application asks for signatures and never reads private keys.

Issued e-invoices are never edited. Corrections are made with credit or debit notes, exactly as the rules require.

Guided EGS onboarding

UPAX walks your team through onboarding each EGS unit: key generation, the certificate signing request with your VAT number and location, the compliance CSID using the OTP from the Fatoora portal, the six compliance sample documents, and the production CSID. Renewal keeps the hash chain intact.

This guide summarises the requirements as published at the time of writing. Always confirm current rules and dates with the relevant authority.

FAQ

ZATCA Phase 2, answered.

Can't find your answer? Talk to a UPAX specialist.

What is ZATCA Phase 2?

Phase 2 (the integration phase) of Saudi Arabia's e-invoicing regulation requires businesses' invoicing systems to integrate with ZATCA's Fatoora platform. Standard B2B invoices are cleared in real time; simplified B2C invoices are reported within 24 hours.

Does UPAX connect directly to ZATCA?

Yes. UPAX includes a ZATCA API client for onboarding, clearance and reporting, with sandbox, simulation and production environments. Each customer completes onboarding for their own EGS units.

How are private keys protected?

Signing keys are held in a key store and the application only requests signatures; it never reads the private key. A hardware or cloud KMS key store can be used per deployment.

Can an issued e-invoice be changed?

No. Issued e-invoices are immutable. Errors are corrected with credit or debit notes, which are also cleared or reported.

Compliance that runs itself.

See e-invoicing, VAT and the audit trail working together on your own invoices and entities.