How to send unsent invoices to ZATCA

What to do when ZATCA has not accepted an invoice: read its status and reason in the Unsent invoices tab, resend the same document, or fix the data and update and send. With the invoice's own ZATCA card and its attempts.

Why an invoice is unsent

On phase 2 every invoice is signed and sent to ZATCA at the moment of the sale. Usually ZATCA answers at once and nobody thinks about it. Sometimes the connection drops or ZATCA does not answer, and rarely ZATCA refuses a document. The sale is never lost: the invoice is kept and waits in the Unsent invoices tab until ZATCA accepts it.

ZATCA expects a simplified invoice to be reported within 24 hours of the sale, so the tab marks the ones that are late.

The Unsent invoices tab

Open ZATCA and press Unsent invoices. The newest invoice comes first.

The Unsent invoices tab with three invoices and their statuses numbered
  1. 1
    The invoiceIts number. Press it to open the invoice.
  2. 2
    StatusNo answer from ZATCA, in yellow.
  3. 3
    The reasonWhat went wrong, in red. Here ZATCA could not be reached.
  4. 4
    ResendSends the same signed document again.
  5. 5
    Sent from terminal 1An invoice signed on a device is sent from that device. It is listed here so you can follow it.
  6. 6
    Later than 24 hoursThe sale is more than a day old. Send it first.

The three statuses

The status says what the last try ended with, and with it which button you get.

No answer from ZATCA
The document was signed, but ZATCA never answered, usually because of the connection. The button is Resend.
Rejected by ZATCA
ZATCA answered and refused the document. Its reasons are listed under the status as ZATCA wrote them. The button is Update and send.
Not signed yet
The invoice has no signed document yet. The button is Update and send, which signs and sends it.

Resend, or Update and send

The page offers the one that fits the invoice, so you never have to choose between them.

Resend
Posts the same signed document again. Nothing in it changes: the same number, the same counter, the same time.
Update and send
Takes the company and customer data again as they are now, signs a new document with a new counter, and sends it. The rejected document stays in the invoice's history as it was.
Fix the reason first
When the reason is in the data, correct it before you press: the company's details in Settings, or the customer's details on the customer's page.
A tax invoice
A standard e-invoice that is updated and sent is signed with the current time, and its paper carries the date of the document ZATCA cleared.

On a phone

Each invoice becomes a card with the same parts.

The Unsent invoices tab on a phone
  1. 1
    StatusBeside the time of the sale.
  2. 2
    The reasonUnder the status, in red.
  3. 3
    ResendThe button of this invoice.
  4. 4
    Sent from terminal 1No button here: the device sends it.
  5. 5
    Later than 24 hoursThe late mark, beside the time.

The same on the invoice's page

Open the invoice and scroll to ZATCA e-invoicing. The card tells the whole story of that invoice at ZATCA.

The ZATCA e-invoicing card on an invoice's page
  1. 1
    StatusThe latest answer: Sent to ZATCA in green, Accepted by ZATCA with warnings or No answer from ZATCA in yellow, Rejected by ZATCA in red.
  2. 2
    TypeSimplified for the usual sale to a person, Standard for a tax invoice to a company, each with ZATCA's code.
  3. 3
    E-invoice dateThe moment written inside the signed document.
  4. 4
    QR codeThe code of this e-invoice.
  5. 5
    The noteSays what the button under it will do.
  6. 6
    ResendThe same button as in the tab.

Every attempt is kept

Under the button, the card lists every document that was signed for this invoice, newest first.

The attempts of an e-invoice with the counter, the hash, and the errors
  1. 1
    The attemptEach signed document is one attempt, named by its counter, with the time it was made.
  2. 2
    Its statusHow this attempt ended.
  3. 3
    Invoice counterThe place of this document in the chain of everything this integration signed.
  4. 4
    Invoice hashThe fingerprint of the document. With the UUID above it, it identifies the document at ZATCA.
  5. 5
    ErrorsThe reasons of this attempt.
  6. 6
    ZATCA responsePress it to read ZATCA's full answer. Under it, a signed attempt also opens its XML.

Good to know

A few rules keep the record honest.

A rejected attempt is never changed
A correction is always a new document with a new counter. The old one stays in the list.
Warnings
ZATCA can accept a document and add warnings. It counts as sent, and the warnings stay on the invoice's page.
Before an integration ends
Resend the unanswered invoices before you delete an integration or before it expires. The ZATCA page reminds you.
Invoices of the devices
An invoice signed on a Windows or Android device is sent again from that device, from its Invoices page or its ZATCA page.

Questions about unsent invoices

Is the sale lost when ZATCA does not answer?

No. The invoice is saved and the stock moves as usual. Only the report to ZATCA waits in Unsent invoices.

What does Later than 24 hours mean?

The sale is more than a day old. ZATCA expects simplified invoices within 24 hours, so send those first.

Why is there no button beside an unsent invoice?

It was signed on a device, so that device sends it, or you do not hold the Send unsent invoices permission.

Does Resend create a second invoice at ZATCA?

No. It posts the same document again, and a document ZATCA already holds is counted as the same one.

Can I change the items of an invoice ZATCA rejected?

No. The sale itself does not change. Update and send takes the company's and the customer's details again and builds a new document from them.

More guides

Start using Alkaml

Start for free