ZATCA e-invoicing · Saudi Arabia
ZATCA Phase 2 E-Invoicing, Built Into Your Clinic's Billing
When reception issues an invoice in PDental, it is signed, QR-coded and sent to ZATCA's Fatoora platform automatically. There's no export step, no second system and no separate e-invoicing subscription, and your team keeps invoicing the way it already does.
- Fatoora integration
- Phase 2
- Fatoora integration
- reporting and clearance
- B2C + B2B
- reporting and clearance
- automatic retry cycle
- 15 min
- automatic retry cycle
Al Olaya Dental
Tax invoice · INV-2024-0413
Patient: K. Rahman
ZATCA e-invoice
- Subtotal
- 3,480
- VAT 15%
- 522
- Total
- 4,002 SAR
The problem
What e-invoicing looks like when it's bolted on
- Invoices get typed twice: once in the clinic system and again in a separate e-invoicing tool.
- A rejected invoice goes unnoticed until someone checks a portal nobody opens.
- Refunds and cancelled invoices need credit notes that someone has to remember to raise.
- When ZATCA's service is slow or the clinic's internet drops, invoices are lost or submitted twice.
Going live
From VAT number to production in four steps
Onboarding is done from PDental's ZATCA settings screen, and we do it with you during setup. You only need your clinic's details and an OTP from the Fatoora portal.
- Step 1
Enter your clinic's details
Seller name in Arabic and English, 15-digit VAT number, commercial registration, national address, and whether you issue B2C, B2B or both.
- Step 2
Generate the CSR and enter your OTP
PDental generates the certificate signing request. You enter the one-time password from the Fatoora portal to get your compliance certificate.
- Step 3
Compliance checks run for you
PDental submits the test invoices ZATCA requires for the invoice types you chose, and shows you which ones passed.
- Step 4
Production certificate, then live
PDental requests the production certificate. From then on, every invoice your clinic issues goes to ZATCA automatically.
What it does
Everything Phase 2 asks for, handled inside billing
Simplified and standard invoices
Patient (B2C) invoices are reported to ZATCA, and company (B2B) invoices are cleared before they're issued. A standard invoice can't be sent without the buyer's VAT number, so it isn't rejected later.
Signed, stamped and chained
Every invoice is generated as UBL XML, cryptographically signed with your clinic's certificate, and linked to the previous invoice's hash in an unbroken sequence.
A QR code on every invoice
The ZATCA QR code is generated with the signature and stored with the invoice, so it's ready on the printout and in the invoice log.
Credit notes raised automatically
When an invoice is refunded or cancelled, PDental issues the matching credit note to ZATCA, referencing the original invoice. Nobody has to remember to do it.
Safe automatic retries
If ZATCA is unreachable, the invoice is queued and retried every 15 minutes. A retry resends the same signed invoice rather than creating a duplicate, so the invoice sequence stays intact.
A full invoice log
Every submission is recorded with its status, ZATCA's response, and any warnings or errors, so you can find and fix a problem invoice in minutes.
ZATCA compliance report
A built-in report shows reported, cleared, pending and failed invoices for any period, so the accountant isn't left guessing.
Sandbox before production
Test the whole flow against ZATCA's sandbox environment before you switch to production, and reset the certificate if your details change.
Common questions
Is PDental integrated with ZATCA Phase 2 (Fatoora)?
Yes. PDental connects directly to ZATCA's Fatoora platform. It handles certificate onboarding, signing, QR generation, B2C reporting and B2B clearance, and every invoice issued in billing is submitted automatically.
Do we need a separate e-invoicing provider?
No. E-invoicing is part of PDental's billing, so the invoice reception creates is the same one that goes to ZATCA. There is no second system to keep in sync.
What happens if the internet or ZATCA's service goes down?
The invoice is still issued in the clinic and queued for ZATCA. PDental retries pending and failed invoices automatically every 15 minutes, resending the same signed invoice so nothing is duplicated and the invoice sequence isn't broken.
Can we invoice companies and insurers (B2B)?
Yes. Choose B2C, B2B or both during onboarding. Standard (B2B) invoices go through ZATCA clearance and need the buyer's VAT number, which PDental asks for before submitting.
What about refunds and cancelled invoices?
PDental raises the credit note to ZATCA automatically, linked to the original invoice. You can see it in the invoice log next to the invoice it reverses.
Does this matter if our clinic isn't in Saudi Arabia?
ZATCA applies only to Saudi Arabia. Clinics in other markets use the same billing, with procedure pricing, VAT, discounts, part-payments and invoice logs, but without the ZATCA submission. Ask us on the demo call about the requirements in your country.
Read more on this
ZATCA E-Invoicing for Dental Clinics: What Phase 2 Actually Requires
Phase 2 turns invoicing from a printing task into a systems integration. Here's what changes for a dental clinic, the difference between patient and insurer invoices, and what to check before your wave arrives.
Production Is a Promise. Collections Are the Cash.
A full schedule can still leave the clinic short on cash if payments are slow, balances age and reconciliation depends on manual follow-up. Here's how to tighten the workflow.
See a ZATCA invoice issued live
On the demo call we'll issue an invoice, show the QR code and the ZATCA response, and walk you through onboarding.
Book Your Free Demo