Hey there,
We recently ran into an issue where the XML of a document—successfully reported to ZATCA—was lost from our system. I’ve heard that if we re-report the same document within 24 hours, ZATCA will treat it as a duplicate and will return the same XML with a 208 (Already Reported) or 409 (Conflict) response.
I have a couple of questions:
-
Is there any way to retrieve the reported XML after the 24-hour window?
-
Which specific XML tags or fields does ZATCA use to detect duplicates when a document is re-submitted?
@Ankit.K.Tiwari Would really appreciate any insights or experiences you can share.
Thanks!
@athuldas if you were unable to save the response from ZATCA at the time of first submission, you can resubmit the same payload (without making any changes) after 24 hours. As long as the XML content remains exactly same (including hash of the invoice), ZATCA will disregard duplicates and consider only 1 record.
In case of B2C documents, we do not have the exact same payload to resubmit again which we missed out due to a technical error. Is it okay if we resubmit an XML with almost the same content (with different signing time since we do do not have the exact payload) for B2C documents or should we raise a failure notification and then stamp the documents again? @Ankit.K.Tiwari Kindly advise.
@athuldas change in signing time doesn’t have any impact on Hash as “signing time” is not covered in elements to be considered for generating hash. If no other data changes other than signing time, the hash should be same as the original invoice. Yes, you can generate the hash again and report the invoices. Make sure there is no other change on invoice content. Usually the technical identifiers such as UUID, ICV, PIH do change upon regeneration so you have to be careful not to change these IDs.
@Ankit.K.Tiwari We regret to inform you that we are unable to resend the hash with the same UUID, as the original payload has been lost. However, the documents were successfully reported. Could you please advise if there is any way to retrieve the exact hash for these B2C documents ? We would appreciate your guidance on the appropriate steps we can take from our end.
@athuldas please submit a Failure Notification on ZATCA’s website (Link)
Share the details of incident on sp_support@zatca.gov.sa and E-invoicing@zatca.gov.sa
If the taxpayer has a Relationship Manager assigned then copy RM as well.
@Ankit.K.Tiwari We have submitted the failure notification on ZATCA’s website. Please advise if there is anything further we need to do.
@athuldas as mentioned earlier you can share the details of incident on sp_support@zatca.gov.sa and E-invoicing@zatca.gov.sa
If the taxpayer has a Relationship Manager assigned then copy RM as well.