Duplicate Invoice submittion

we successfully submit an invoice, and due to “No Response“ from zatca after 30 second, We consider that Invoice is not submitted successfully.

on the same day, we resubmit and we got error response “409“ “duplicate submission“ meaning that Invoice has been submitted on the 1st sending.

on the next day, and due to internal server error, the server resubmit the same invoice and we got status 200 “reported“ for the same invoice that we submit yesterday.

how Zatca will treat 2nd invoice which was reported yesterday? it will ignore resubmission or it will calculate both invoices?

@ucitco if the content of XML exactly same (including hash) ZATCA will disregard duplicates and consider such invoice(s) only once.