Hi ZATCA Team,
After the deployment of the 208 and 409 changes for the reporting and clearance endpoints, we have been receiving around 1,2 of these responses on a daily basis. But the strange thing is that, we are unable to find 2 invoices with the same invoice hash anywhere in our system. I have throughly scanned our database and I cannot find any duplicates for the same hash in our system. We do not share the certificates across any other entities so that scenario is also ruled out.
Is there a possibility that we can have an API from ZATCA which gives us a list of invoices (even just the invoice id should suffice) for a given hash?
Something like: https://https://gw-fatoora.zatca.gov.sa/e-invoicing/core/invoices/invoiceHash?invoiceHash=<sample_hash>
This would be beneficially in a scenario like this, because at the moment it is difficult to understand where the problem is.