This guide walks through connecting one Saudi company or branch to ZATCA in Lead10, from switching e-invoicing on to sending your first cleared invoice. You need a Lead10 administrator and, for a live connection, someone who can sign in to your company's account on the Fatoora portal.

Before you start

  • Your company's VAT number (15 digits, starting and ending with 3) and commercial registration number.
  • The national address as registered with ZATCA: street, 4-digit building number, district, city and 5-digit postal code.
  • The legal name in Arabic, if you have it.
  • Access to the Fatoora portal (fatoora.zatca.gov.sa) for the OTP.

Step 1: switch on e-invoicing

In Lead10, open Settings → E-Invoicing (ZATCA) and click Switch on e-invoicing. Nothing changes for your existing invoices: e-invoicing applies to documents issued after a company is connected.

Step 2: check your company details

On the Companies tab, click Connect to ZATCA on the company you want to connect. Lead10 fills in what it already knows from your company profile. Check each field against your ZATCA registration and add what is missing, usually the building number, district and postal code.

Under VAT exemption reasons, choose the reason ZATCA should see on your zero-rated, exempt and out-of-scope lines. The most common one is already selected.

Step 3: choose what you issue and where to connect

Choose Both B2B and B2C unless you only ever sell to one kind of customer. Then choose where to connect:

  • Live (production): real e-invoices, with an OTP from the Fatoora portal.
  • Test first (simulation): ZATCA's practice environment, with an OTP from the Fatoora simulation portal.
  • Sandbox: ZATCA's public developer sandbox, for a practice run without a ZATCA account.

If you know the date ZATCA gave your company for Phase 2, add it: Lead10 reminds you before it if the company is still not connected.

Step 4: get your OTP and connect

  1. Sign in to the Fatoora portal with your company's ZATCA account.
  2. Choose Onboard new solution unit/device, generate one OTP and copy it.
  3. Paste it into Lead10 within the hour and click Connect.

Lead10 now creates the signing key, checks the OTP with ZATCA, sends sample invoices, credit notes and debit notes through ZATCA's compliance checks, and gets your production certificate. You see each step tick off; it takes about a minute. When it finishes, the company shows as Connected.

If a step fails, Lead10 tells you why. The usual causes are an expired OTP (generate a new one) or a VAT number that does not match the account that generated the OTP.

Step 5: send your first e-invoices

  1. A B2C invoice: invoice a customer without a VAT number. The ZATCA panel on the invoice shows Reported, and the PDF carries the QR code.
  2. A B2B invoice: open a business customer, fill in their VAT number, address, building number and district under Saudi e-invoice details, then invoice them. The panel shows Cleared, and only then does the invoice email go to the customer.
  3. A credit note: raise one against the cleared invoice with a reason. It is cleared too.

On each document you can download the signed XML and, for cleared invoices, ZATCA's cleared copy.

Connecting more branches

Repeat steps 2 to 4 for each company or branch, each with its own OTP. Each one keeps its own certificate and invoice sequence.

Day to day

  • The Overview tab shows what was accepted, what is on its way and what needs a fix.
  • If something is missing, Lead10 stops the invoice before it is issued and names the field.
  • If ZATCA rejects a document, you see the reason and the fix; press Resubmit once it is fixed.
  • Before your certificate expires, Lead10 reminds you 30, 7 and 1 day ahead. Renew it with a new OTP from the same screen.

More on ZATCA e-invoicing in Lead10, or read the practical guide to Phase 2.