Resend and repair failed invoices
A Saudi invoice gets stuck in three cases: the authority rejected it, the connection timed out and no answer came back, or its date is not today so it does not pass the prepare check. Each case has its own command, in the Tax Invoices List or in the invoice itself.
Before you begin
- Phase two of e-invoicing is ready and this computer is set for real sending. Without that, the commands Resend invoices and Update date of invoices do not appear in Operations.
- Your permissions: Invoice Clearance to resend a Clearance - Error invoice, and Reporting Invoice to resend a Reporting - Error invoice and to repair a Reporting - Doubt invoice. Update date of invoices has no special permission.
- The internet connection works.
- For a rejected invoice, open it and read the reason: the command Show error / warning details in the Taxes menu of the invoice shows what the authority answered. The list does not show this reason.
Steps
Resend an invoice the authority rejected
This applies to Reporting - Error and Clearance - Error.
- Open the invoice and read the reason of the rejection with Show error / warning details in its Taxes menu.
- Correct the cause. If it is in the invoice data, editing needs the option Allow modifying reported / approved invoices and the command Modify Reported /Approved Invoice... with its permission (Saudi E-invoice Details). If it is in the customer data, correct it in the customer card. If the invoice cannot be resent because it became simplified after being normal, change the tax type of the customer (Administration Tools).
- Resend it in one of two ways:
- From the invoice: Taxes > Resend Invoice. This command shows to users with the permission Resend Rejected Invoices, and it shows the reason of any error in its messages.
- From the list: open Systems > KSA Taxes > E-invoice > Tax Invoices List, tick Reporting - Error and Clearance - Error in Status and click Refresh. Clear the rows you do not want to resend, then Operations > Resend invoices. In the list the permission Resend Rejected Invoices is not needed; the permission of the type is: Invoice Clearance or Reporting Invoice.
- Answer the confirmation question "Are you sure you want to re-send invoices?" with Ok. The program checks the internet connection first.
- Read the summary and the column Operation Status. If the invoice is still rejected, the row shows Succeeded - No change; here it means the operation ran and the status did not change. Open the invoice and read the reason again.
Repair an invoice whose answer never came back
This applies to the status Reporting - Doubt: the connection timed out during reporting, so the program does not know if the authority received the invoice.
- Open the invoice. Its status is Reporting - Doubt.
- In the Taxes menu choose Fix invoice. The command shows to users with the permission Reporting Invoice, on a computer set for real sending.
- A confirmation box titled "Reporting Invoice" asks "Are you sure you want to report the invoice". Click Ok. If the invoice has unsaved changes, the program first asks about them. The program checks the internet connection and sends the invoice signed earlier again.
- The status follows the answer of the authority: Reported, Reporting - Warning or Reporting - Error. If no answer comes back again, it stays Reporting - Doubt; repeat later. The program writes an event in the operations log with the note "Fix invoice".
Do not use Fix Invoices in the list for this: it ends every row with "Error in fixing invoice" and changes nothing. Repair each invoice from its window.
Move the date of a not prepared invoice to today
- Open the list, tick Not prepared alone in Status, set the period and click Refresh.
- Clear the invoices whose date you do not want to change. The command works only on not prepared invoices dated before today.
- Click Operations > Update date of invoices. If it is not there, no ticked row is a not prepared invoice dated before today.
- Answer the question "Are you sure you want to edit the unprepared invoices dates to the current date" with Ok.
- Read the summary: Succeeded for the invoices whose date changed. Then send them with one of the sending commands (Send invoices to the authority).
Result
| Command | Effect |
|---|---|
| Resend a Clearance - Error invoice | Renews the issue time of the invoice to now, recalculates its type from the current tax type of the customer, gives it a new counter, and sends it for clearance. A simplified invoice is also signed again. If the authority accepts it, it becomes Cleared by the authority or Cleared - Warning, and the program posts the invoice and generates its entry again according to its form. If it rejects it, the invoice stays Clearance - Error, unposted and with its entry deleted. |
| Resend a Reporting - Error invoice | The same, without renewing the issue time or recalculating the type. It becomes Reported or Reporting - Warning when accepted. |
| Repair a Reporting - Doubt invoice | Sends the same signed invoice. Only the status and the answer of the authority change. If it becomes Reporting - Error, the program unposts the invoice and deletes its entry. |
| Update date of invoices | The invoice date becomes today, and so do the date of its entry and of the entry lines, if it has an entry. Nothing else changes and the invoice stays Not prepared. |
Two things to know about Update date of invoices:
- It does not check a closed tax period, or any closed period other than the ending date set in the program options. If today is after the ending date, the message "Date is after ending date" appears and nothing changes.
- It changes the date of the movement of the invoice in the accounts and the reports, because the date of its entry changes with it. Make sure this is acceptable before you run it.
If something goes wrong
| Message or wording | Why it appears | What to do |
|---|---|---|
| Failed to prompt service | The internet connection check failed. | Check the connection and repeat. Nothing changed. |
| Error re-sending the invoice to the ZATCA | Resending failed: the option Prevent re-sending invoices from other solution units is on and the invoice was last sent from another unit, or the invoice became simplified after being normal, or the sending failed. | Repeat from the invoice itself to see the message. For the second case, "Unable to resend the invoice unless it is modified to become a standard invoice instead of a simplified one": change the tax type of the customer or edit the invoice. |
| The user has no permission to perform the process | You lack the permission of the invoice type. | Ask the users manager for it. |
| Invalid invoice | The invoice check failed, the file code differs, or the status is not Reporting - Doubt in Fix Invoices. | Open the invoice and read the reason. |
| Error in fixing invoice | The list command always ends so. | Repair it from the invoice window. |
| Succeeded - No change after a resend | The authority rejected it again, or the connection timed out for a simplified invoice. | Read the reason in the invoice and correct it. |
| Date is after ending date | Today is after the ending date in the program options. | Change the ending date in File > Program Options > Default Values. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.