We received the response code 504 from ZATCA, and based on below table we resubmitted the invoice with same technical details (counter and hash), we got the response code 409, instead of that we should get the response code 200.
@m.mahdi yes for all 500 series response codes you must resubmit the same payload without making any changes. In this instance, although you received a 504 response, the invoice was successfully received by ZATCA. You have to treat 409 response as Successful Reporting and stop resending same invoice. Your obligation to report this invoice is successfully completed.
As I have mentioned more than once, the problem lies in standard tax invoices, even with the instant resend mechanism.
In standard tax invoices, we cannot keep the invoice until it has been finally cleared by Zatca.
I have one question that I have asked more than once in this forum:
Can we keep the standard tax invoice even if it has not been cleared? Taking into account that the accounting and inventory systems, and even tax accounts, will be affected by this invoice.
Also, it will not be shared with the buyer until it has been cleared.