Connect to Fatoora (ZATCA e-invoicing, Phase 2)

Settings

How do I connect Mahjoz to ZATCA Fatoora?

This guide covers the dashboard steps only; it is not tax advice. Your plan must include the Fatoora Integration (Zatca) feature and you need the Invoices permission.

Where to find it: in the sidebar, under System, open Invoices & Sync, then the Fatoora tab. The Connect to Fatoora page shows one of four states: Not connected, Connecting, Connection failed, Connected.

Have these ready before you start:

  • An OTP from the Fatoora portal: Devices → Add a new device. It is valid for one hour after it is created, so create it right before connecting. The simulation environment needs a code from the simulation portal.
  • Your VAT number and commercial registration number.
  • Your Taxpayer identification number (TIN) (optional): the business's 10-digit taxpayer identification number, which is not the 15-digit VAT number. You will usually find it in your account on the ZATCA portal or on the registration certificate ZATCA issued; if you cannot find it, contact ZATCA.
  • Your business's national address (building number, street, district, city, postal code) from the national address certificate in Subl.

Start connecting (state: Not connected):

  1. Click Start connecting.
  2. In Connection details fill in the Business name in English as in the commercial registration, the Commercial registration number, then the National address: Building number (4 digits), Street name, District, City, Postal code (5 digits), Country. These details are printed on every invoice you issue, so make sure they match your records and national address. Write the name and address in English letters (for example King Fahd, Madinah); the form does not accept Arabic letters in these fields. The form also has an optional Taxpayer identification number (TIN) field: enter it if you have it; it is not printed on invoices.
  3. Choose the Environment: Production (your real invoices are sent to Fatoora and count) or Simulation (for testing only; invoices do not count).
  4. Enter the OTP and click Start connecting.

While connecting (state: Connecting): the page shows four steps with their status: Preparing the certificate request, Compliance certificate from Fatoora, Test invoice check (with how many test invoices passed, e.g. "3 of 6"), then Production certificate. The page updates itself, and you can leave it while the connection continues. It usually takes a few minutes.

If the connection failed (state: Connection failed): the page shows the step that stopped, the reason and what to do. The common reasons:

  • The OTP has expired or was already used: generate a new code on the Fatoora portal.
  • Fatoora refused the certificate request details: check your connection details and make sure the VAT number and national address match your records.
  • The compliance certificate is no longer valid: try again with a new OTP and a new certificate is requested from the start.
  • Fatoora rejected one of the test invoices: usually caused by the business details or the national address; check your connection details.
  • Fatoora refused the request for a reason we could not identify: shown with a Reference (such as ZT-12345). Try again; if it happens again, contact support and quote the reference.

To retry, enter a New OTP and click Retry. Your details are saved, so you do not enter them again; only the code changes and the connection restarts from the certificate request. To change the details themselves, click Review connection details.

Once connected (state: Connected):

  • Signing certificate: days left, expiry date and environment. We remind you 30 days and 7 days before it expires (a dashboard notification and an email).
  • Seller details on your invoices: name, VAT number, commercial registration and address. A field that signing needs and is missing is flagged. Changing these details needs a new connection with an OTP.
  • Taxpayer identification number (TIN): if you did not enter it when connecting, add it any time on the Connect to Fatoora page under Seller details on your invoices, with no OTP and no new connection. It is not printed on invoices and is not sent to Fatoora with them.
  • Invoice health: the invoices of the selected Period (Today, Last 7 days, Last 30 days) by status: Sent (simplified invoices), Cleared (tax invoices), Waiting, Rejected, and when the last invoice was sent.
  • Invoices that need your attention: rejected invoices, and invoices not delivered to Fatoora 20 hours after issue, with the reason and an Open order button.

Renew the signing certificate: renewal is available once 30 days or fewer are left.

  1. On the Signing certificate card click Renew (or Renew now in the banner at the top).
  2. Generate an OTP on the Fatoora portal → Devices → Renew, and enter it.
  3. Click Renew certificate.

A new certificate is requested with the same details, and your invoices keep using the current certificate until the new one is issued. If the code is reported invalid or expired, generate a new one and try again.

The banner at the top of the dashboard: if your business is VAT-registered (a VAT number in the invoice settings, or a tax set up) and you have not connected to Fatoora, a banner at the top of the dashboard shows a Connect now button. If you are connected in Production and have not added your TIN, the banner shows an Add TIN button. It goes away once you connect or add the number.

This is done from the dashboard only.

Sell anything.Run everything.Grow every customer.

  1. WebsiteFor your customers

  2. DashboardFor you

  3. Staff appFor your team

  4. POSFor your team

  5. Customer appFor your customers

Run your whole business on one platform. Talk to our sales team and we'll show you Mahjoz working the way it would in your business.

  • Free demo
  • No commitment
  • No commission on your sales

+966 58 150 4066 · info@mahjoz.io