Finance and accounting

Phase 2 e-invoicing: a direct link with ZATCA

E-invoicing in ArkanERP links the system to Fatoora, the platform of the Zakat, Tax and Customs Authority (ZATCA), to Phase 2 (integration) requirements: every sales invoice is generated as XML, signed and given a QR code, then sent for clearance when it is a tax invoice or reported when it is simplified. The accountant follows each invoice's status, and the reason and fix for any rejection, on one screen.

  • Signed XML and a QR code on every invoice
  • Clearance for tax invoices, reporting for simplified
  • Live, batch or manual sending
  • Each rejection shown with a suggested fix

What ZATCA e-invoicing does

  • A step-by-step activation wizard

    The wizard checks the company's data, national address, EGS device, tax setup and payment means; you enter the OTP from the Fatoora portal for the compliance certificate, the check invoices run without leaving anything in the books, and the production certificate follows. Sandbox, simulation and production environments are all there.

  • The invoice type set by itself

    A buyer with a VAT number gets a tax invoice sent for clearance; one without gets a simplified tax invoice that is reported. A cash invoice can carry the buyer's number even when their card has none, and only the VAT officer can pick Export or Out of Scope.

  • Live, batch or manual sending

    Invoices go the moment they are approved, or are gathered and sent with one command, or the user sends each by hand. Sending runs in order per device so the invoice counter and the hash chain stay correct, and no invoice is sent twice.

  • Several branches and registrations

    Each branch has its own seller address, identifiers (commercial registration or licence) and, if you wish, its own device, and ZATCA reports filter by branch. A cost center can be marked «Not sent to ZATCA»: its invoices are approved without sending, and their prints still carry the QR.

  • Data checked before sending

    The system checks the VAT number is 15 digits starting and ending with 3, and the buyer's national address: building number, street, district, city, postal code and additional number. Warnings appear when the customer is picked on the invoice, not after ZATCA rejects it.

  • Credit and debit notes, and prepayments

    A return or a discount note goes as a credit note pointing to its invoice, and a return without an invoice points to its number in the old system. A prepayment is sent from its receipt and taken off the final invoice. Charges such as shipping or a discount go as their own allowance or charge.

  • A monitoring center and an error log

    Reports show each invoice's status (accepted, accepted with warnings, rejected, failed) with ZATCA's message and a suggested fix, late simplified invoices, sales by branch and type, and a pre-production audit. A rejected invoice is resent after its data is refreshed, and the signed XML downloads.

  • A4 and thermal prints with the code

    The official A4 invoice and the 80 mm till receipt carry the QR code and ZATCA's data. An accepted invoice is locked; anything after it is corrected with a credit or debit note.

How the work flows

  1. 1

    Activate the company

    Readiness is checked, the Fatoora OTP entered, and the compliance and production certificates issued.

  2. 2

    Issue the invoice

    From the sales screen or the till, its type is set, the XML generated and signed, and the QR made.

  3. 3

    Send

    It goes for clearance or reporting, live or in a batch, and ZATCA's answer is written back on the invoice.

  4. 4

    Follow up and correct

    A rejected invoice is fixed and resent; after acceptance, corrections go by credit or debit note.

Questions about ZATCA e-invoicing

Does ArkanERP support Phase 2 of e-invoicing?

Yes. The integration is built to Phase 2 requirements: signing, the QR code, clearance and reporting through Fatoora. Each business links to its own ZATCA account with a certificate ZATCA issues against an OTP.

What is the difference between a tax and a simplified invoice here?

A tax invoice is for a buyer with a VAT number and is cleared by ZATCA before it is handed over; a simplified one is for a consumer without one and is reported after it is issued. The system picks the type from the buyer's VAT number.

What happens if ZATCA rejects an invoice?

It shows as Rejected with ZATCA's message and a suggested fix in the error log; you correct the data (an address, a VAT number) and resend it with «Refresh and resend».

Are till sales sent to ZATCA?

Yes. Every till sale is a sales invoice sent like any other, and its thermal receipt is a simplified tax invoice with a QR. Where sales after midnight are dated to the shift's opening day, the invoice sent keeps the real time of sale.

Can an invoice be changed after ZATCA accepts it?

No, an accepted invoice is locked. Corrections go by a credit note (a return or a discount note) or a debit note, sent to ZATCA pointing to the original invoice.