Tax authority (ZATCA) e-invoicing Phase 2: what integration involves

Phase 2 connects your invoicing system to the tax authority's e-invoicing platform (Fatoora). Standard (B2B) invoices must be cleared by the tax authority (ZATCA) before you send them; simplified (B2C) invoices are reported within 24 hours. ZATCA tells each business its date at least six months in advance.

3 min read

General guidance, not legal or tax advice. Rules and fees change: confirm what applies to you before acting.

Tax and zakat
On this page
  1. Phase 1 and Phase 2 are different jobs
  2. Who has to integrate, and when
  3. Clearance and reporting
  4. How onboarding works
  5. Where projects go wrong
  6. A sensible timeline
  7. Questions people ask

Phase 1 and Phase 2 are different jobs

Phase 1, in force since December 2021, required VAT-registered businesses to issue invoices electronically from a compliant system, with a QR code on simplified invoices and no handwritten or Word-generated invoices.

Phase 2, the integration phase, started in January 2023. It adds a live connection: your system must exchange each invoice with ZATCA in the required XML format, with a cryptographic stamp and a chained invoice hash. A system that was fine for Phase 1 often needs an upgrade or replacement for Phase 2.

Who has to integrate, and when

ZATCA brings taxpayers in wave by wave, starting with the businesses with the largest sales subject to VAT and moving to smaller businesses with each wave. You do not choose your wave: ZATCA notifies you, and it commits to giving each wave at least six months' notice before its integration date.

If you are VAT-registered, assume your turn is coming. Check the notifications in your ZATCA account and the e-invoicing news page rather than relying on what a vendor or a forwarded message says.

Clearance and reporting

  • Standard tax invoices (business to business, and business to government): sent to ZATCA for clearance first. Only a cleared invoice is valid and can be shared with the buyer.
  • Simplified tax invoices (business to consumer): issued to the customer straight away and reported to ZATCA within 24 hours.
  • Credit and debit notes follow the same route as the invoice they relate to. They are where many systems fail testing.

How onboarding works

  1. List every system that issues invoices: accounting software, point of sale, e-commerce store, branch systems. Each one is a separate invoice-generating unit.
  2. In the Fatoora portal, generate a one-time password for each unit. It is valid for one hour, so have the technical person ready.
  3. The system creates a certificate signing request and receives a compliance certificate (CSID).
  4. The system passes ZATCA's compliance checks with sample invoices, credit notes and debit notes.
  5. It then receives its production CSID and starts live clearance and reporting.
  6. Certificates and private keys are stored securely and renewed before they expire.

Where projects go wrong

  • A forgotten invoice source, such as a branch POS or an online store, that keeps issuing non-compliant invoices after go-live.
  • Poor master data: missing buyer VAT numbers, incomplete addresses or wrong tax categories, which make invoices fail validation.
  • Testing only the happy path. Returns, discounts, zero-rated sales and credit notes need their own tests.
  • Using sandbox certificates in production. Test CSIDs from the developer sandbox do not work on the live platform.
  • Leaving it until the last month of the notice period, when solution providers are busiest.

A sensible timeline

For a single company on one accounting system that already supports Phase 2, onboarding and testing can take a few weeks. A group with several branches, a point-of-sale estate and older software should start as soon as the notice arrives: the six months go quickly once data clean-up and testing are counted.

Questions people ask

Not always. Many accounting and point-of-sale systems offer a Phase 2 update. Check that your version supports clearance, reporting and onboarding of each unit, and that the provider will keep it updated as ZATCA's specifications change.

It is not a valid invoice and must not be sent to the buyer. Read the error returned, correct the data or configuration, and submit it again.

ZATCA's onboarding is tied to the notification for your wave. Use the time before it to clean data and test in the sandbox, so the live onboarding is quick.

Sources (5)

General guidance, not legal advice. Rules change and vary by case; we confirm what applies to you before anything is filed.

Bring us the question your file is stuck on.

Thirty minutes, free, with a reply within one working day.

Book a consultation