Academy index
Page referenceAdvanced/integrations/zatca/settings
ZATCA Settings
ZATCA settings keep the company's VAT number and the QR switch for new invoices, and really onboard e-invoicing units with ZATCA. The main fields, buttons and refusals.
Reviewed independently, claim by claim against the sources and the screens, on 4 December 2026.
Last checked against the screen and the code: 4 December 2026, version 080e20835.
This page of the program is under construction: the reference states only what works in it today.
What this page is
The page shows the company's stage with ZATCA as its units say it, and keeps two things: the company's VAT number and the QR switch. With the switch on, a company whose country is Saudi Arabia and which has a Saudi VAT number gets on every new invoice a QR code with the seller, the VAT number, the time, the total and the VAT. It shows the organization details from the company profile as they are, «Missing» where something lacks, and below them the e-invoicing units and their real onboarding with ZATCA, like the «Certificates» tab of the ZATCA page.
The environment is not chosen here but for each unit when it is registered, and clearance or reporting follows each invoice (simplified, for reporting, when it is marked so or its customer has no VAT or CR number). Invoices are sent from the «Invoices» tab of the ZATCA page, and an undelivered one is resent every 15 minutes. Sending when an invoice is posted is under construction, as the page says.
What does not work on this page today: when the compliance checks fail, a general message shows without the documents and ZATCA's reasons; the «Live» badge also shows for a unit on the developer portal or in the simulation, so read the environment written under the unit's name; and the page's note says invoices are submitted «from the ZATCA invoices screen», but the «ZATCA Invoices» page cannot send an invoice never sent and has no «Resend»: sending is on the «Invoices» tab of the ZATCA page.
Before you start
- In Settings ▸ Company: the country Saudi Arabia, the legal name, the VAT number, the CR number and the national address; «Edit company profile» takes you there.
- The company's own login to the Fatoora portal, to generate the code for the unit's environment.
Fields
| Field as on the screen | Meaning | Required |
|---|---|---|
| VAT Number | The company's VAT number; kept in the company's data, and the unit's certificate request is built from it.15 digits starting and ending with 3, otherwise saving is refused. | No |
| Put ZATCA's generation-phase QR (seller, VAT number, time, total, VAT) on new invoices | The switch for the QR code on new invoices. Saved with «Save Settings»; it works for a company whose country is Saudi Arabia and which has a Saudi VAT number. | No |
| Environment | Display only: the registered units' environments, or «No EGS unit yet». | No |
| Submission | Display only: standard invoices are sent for clearance and simplified ones for reporting; an invoice is sent as simplified when it is marked so or its customer has no VAT or CR number. | No |
| Organization Details | Display only: the seller on the e-invoice, from the company profile: name, street, building number, district, city, postal code and country. | No |
| Branch | The branch name written in the unit's certificate request. Left empty, the program takes the company's city, or «Head Office». | No |
| Invoices issued by this unit | The invoices the unit issues: standard and simplified, standard only, or simplified only. The program picks by it the unit that signs each invoice, and the number of compliance-check documents: six for both, three for one type. | No |
| ZATCA environment | The ZATCA environment the unit is registered in: simulation (the first choice), production, or the developer sandbox. The program calls it for every request of the unit, and no button changes it after registration. | No |
| OTP (6 digits) | The one-time code the company generates on the Fatoora portal for this environment. The program sends it to ZATCA with the certificate request.6 digits; the box takes digits only and the button stays disabled until they are complete. | Yes |
Buttons and actions
| Button | When it shows | What it does | Posts |
|---|---|---|---|
| Save Settings | At the top of the page, once the settings are read. | Saves the VAT number, and the QR switch if you changed it. | No |
| At the top of the page. | Prints the page as shown. | No | |
| Edit company profile | On the «Organization Details» card. | Takes you to the company settings to edit its data. | No |
| Register unit | On the «EGS units and certificates» card. | Opens the register window: the branch, the invoices it issues, and the ZATCA environment. | No |
| Register | In the «Register unit» window. | Generates the unit's key and certificate request on the server from the company's data, and keeps the key sealed. It does not call ZATCA yet. Refused when the company's country is not Saudi Arabia or its VAT number is not 15 digits starting and ending with 3. | No |
| Enter OTP | For a unit with no compliance certificate. | Opens the one-time code window. | No |
| Request compliance CSID | In the one-time code window, after the six digits. | Sends the certificate request and the code to ZATCA in the unit's environment. If ZATCA accepts, the compliance certificate is kept and its secret sealed; if it refuses, ZATCA's reasons show and «Enter OTP» stays, to try again with a new code. | No |
| Run compliance checks | For a unit with a compliance certificate, not yet live. | Signs test documents from the company's data (an invoice, a credit note and a debit note for each type the unit issues) and sends them to ZATCA's checker. If all pass, the list of documents and each result shows; if not, only a general message shows. | No |
| Obtain production CSID | After the compliance checks passed, for a unit not yet live. | Asks ZATCA for the production certificate and keeps it: the unit becomes «Live» and signs and sends invoices in its environment. | No |
The document's statuses
- Not onboarded with ZATCA: The company has no e-invoicing unit.
- EGS unit registered — compliance CSID pending: The unit's key and certificate request exist, and no compliance certificate yet: the code was not entered, or ZATCA refused it.
- Compliance CSID obtained — production CSID pending: The production certificate remains (after the compliance checks, if they have not passed yet).
- Onboarded on ZATCA's developer portal only (a test: not live): A unit holds a production certificate on the developer portal only.
- Onboarded in ZATCA's simulation: production CSID active there (not live): A unit holds a production certificate in the simulation, not in production.
- Onboarded: production CSID active: A live unit holds a production certificate in ZATCA's production environment.
Permissions
| To | Permission needed |
|---|---|
| Open the page | Accounting — View |
| «Save Settings» | Settings — Edit |
| Register a unit, request its certificates and run the compliance checks | Settings — Edit |
Refusals and fixes
VALIDATION_ERRORThe VAT number is not 15 digits starting and ending with 3.
Fix: Correct the number, then «Save Settings».
COMPANY_INCOMPLETEYou registered a unit while the company's country in its settings is not Saudi Arabia, or its VAT number is not 15 digits starting and ending with 3. «Run compliance checks» also sends it when a test document fails the program's own checks before it is sent.
Fix: Set the company's country and VAT number in Settings ▸ Company (for the compliance checks, complete the company data the message names), then try again.
ZATCA_REJECTEDZATCA refused the certificate request, for example because the code was wrong or made for another environment. ZATCA's reasons are shown.
Fix: Generate a new code on the Fatoora portal for the unit's own environment, then ask again; the screen's help says a code is valid for one hour.
VAULT_NOT_CONFIGUREDThe server has no sealing key to keep the unit's key with, so nothing was stored.
Fix: This is the server's setup, not the screen's: tell support.
Related pages
Educational content for general understanding, not accounting, tax or legal advice. Sources · About the Academy