Saudi Arabia's e-invoicing rules come in two phases. Phase 1 asked businesses to issue invoices electronically. Phase 2, the integration phase, goes further: your invoicing software must be connected to ZATCA, and each e-invoice is sent to ZATCA's FATOORA platform. This guide explains what that means day to day, in plain words.
The short version
- Business buyers (B2B and B2G): you issue a standard tax invoice. ZATCA must clear it before your customer may receive it.
- Consumers (B2C): you issue a simplified tax invoice. The customer gets it straight away, and it must be reported to ZATCA within 24 hours.
- Corrections: an issued invoice is never edited. You issue a credit note or debit note against it, with a reason, and it goes to ZATCA too.
- Every e-invoice is signed by your registered software, carries a QR code and is linked to the invoice before it.
Phase 1 and Phase 2: what changed
Phase 1, the generation phase, started on 4 December 2021. Invoices had to be generated and kept electronically, with the required fields, and simplified invoices needed a QR code. Hand-written invoices and editable documents were no longer allowed.
Phase 2 started on 1 January 2023 and is rolled out in waves, by revenue. ZATCA notifies each business at least six months before its integration date. From that date, your invoicing software must be registered with ZATCA and send it your e-invoices.
Step 1: onboarding your invoicing software
Before it can send anything, each invoicing unit (ZATCA calls it an e-invoice generation solution) is registered with ZATCA:
- An authorised person signs in to the Fatoora portal and generates a one-time password (OTP).
- The software uses that OTP to request a certificate from ZATCA.
- It passes ZATCA's compliance checks by submitting sample invoices, credit notes and debit notes for each invoice type the business issues.
- ZATCA issues the production certificate, and the unit can start sending real e-invoices.
If you have several branches or devices issuing invoices, each is onboarded separately and keeps its own sequence of invoices.
Step 2: what each e-invoice must carry
A Phase 2 e-invoice is an XML file in ZATCA's format (based on UBL 2.1). Your software builds it for you, but it helps to know what is inside, because missing data is the most common reason for a rejection:
- Seller details: legal name, VAT number, commercial registration or other ID, and the full national address (street, building number, district, city, postal code).
- Buyer details: for a standard tax invoice, the buyer's name, VAT number (or another ID if they are not VAT-registered) and full address. For a simplified invoice, buyer details are optional.
- Lines and VAT: each line with its VAT category, and an exemption reason for zero-rated, exempt or out-of-scope lines.
- Security fields: a unique ID (UUID), an invoice counter, the hash of the previous invoice and the cryptographic stamp. Together they make it impossible to remove or change an invoice unnoticed.
- QR code: the seller's name and VAT number, date and time, totals, and the invoice's signature details.
Step 3: clearance and reporting in practice
Clearance happens in real time. When you issue a standard tax invoice, your software sends it to ZATCA, which checks it and returns a cleared copy with its own stamp. Only that cleared invoice may be shared with the buyer. If ZATCA rejects it, the invoice is not valid and must be corrected and issued again.
Reporting is lighter. A simplified invoice can be printed or sent to the customer at once, with its QR code, and must reach ZATCA within 24 hours. Most systems report it within seconds.
Credit notes and debit notes follow the invoice they correct: cleared for business buyers, reported for consumers.
Why invoices get rejected
- The buyer's VAT number has the wrong length or format (Saudi VAT numbers are 15 digits, starting and ending with 3).
- The building number is not 4 digits, or the postal code is not 5.
- A business buyer has neither a VAT number nor another ID.
- A 0% line has no VAT category or exemption reason.
- The totals or VAT on the invoice do not add up.
- The invoice is dated in the future.
Most of these are fixed once, in the customer record or the company profile, and never come back.
A readiness checklist
- Find your wave date in ZATCA's notification to your company.
- Make sure your company profile has the full national address and your commercial registration number.
- Add VAT numbers and full addresses to your business customers.
- Give every tax rate a clear VAT category, and choose exemption reasons for your 0% sales.
- Agree who in your team can generate OTPs in the Fatoora portal.
- Practise in ZATCA's simulation environment before you connect live.
- Stop editing issued invoices: correct them with credit and debit notes.
How Lead10 handles Phase 2
Lead10 connects each Saudi company or branch to ZATCA with one OTP from the Fatoora portal. It creates the signing key, passes ZATCA's compliance checks with sample invoices, credit notes and debit notes, and gets the production certificate on its own, in about a minute. After that, your team invoices exactly as before:
- Lead10 decides the invoice type from the customer: a Saudi VAT number means a standard tax invoice, anyone else gets a simplified one, and you can fix the choice per customer.
- Before you issue an invoice, it checks for what ZATCA would reject and names the field to fix.
- B2B invoices are cleared first: the email to your customer waits and goes out the moment ZATCA clears it.
- B2C invoices carry the QR code on the PDF straight away and are reported in the background.
- If ZATCA is unreachable, invoices wait and are sent again automatically, and you are alerted before a deadline is at risk.
- Rejections are explained in plain words with the fix, and a compliance dashboard shows what was accepted and what needs attention.
See ZATCA e-invoicing in Lead10, or follow the step-by-step connection guide.