Zatca API service error

Dear Support, Please provide solution immediately.

We are not able to process single invoice

Dear Ankit, please advise if there is any further update. Phiroz

We just reattempted an Invoice, It was successfully uploaded but received warning of 24 Hours window.

@Ankit.K.Tiwari please advise on the response to our clients. As we have received http 200 response we cant even accept the invoice again. Have Zatca consumed the invoice?

@Ankit.K.Tiwari is there any update on this? This is currently blocking our customer with their go-live as they are unable to complete the onboarding process in production. Thanks

Hi guys, I am not affilated with ZATCA in any way, I am the same consumer of their API as you. But to solve the issue in short term: you can resubmit EXACTLY THE SAME payload again to zatca after 24 hours and you should receive the proper 200 response with all the data inside.

I understand that it is manual action but this is the best approach nowadays without adding workarounds like “resubmit” on empty response as you will get 208 or even 409 for B2C without proper data inside.

@Ankit.K.Tiwari I hope you guys will be able to identify the issues. I am going to submit my document IDs + hashes for your verification.

Best regards, Sergei

@sergei.shishov This solution does not seem to work.

Same issue all clinets are offline now the ZATCA API refuses the certificates even it is valid we did not change anything and all URLs are live and correct. it return empty JSON response. anyway found a solution?

Dear all it looks ZATCA changed the way to post the invoice i removed the checkcomplieance now just make XML and post the invoice it will go

1 Like

Did you test the onboarding process? It looks like the compliance check service might be down, because I’m receiving errors now?
when trying to make compliance check for simplified to get certificate CSID ( simulation ) ?

X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.

Dear @m.khatib.minerets @Sachin.Pathare

Do you guys got the solution for the empty responses ?

Hello Any update? @Ankit.K.Tiwari

o0mohammed0k did you get any answer or get solved ??

Hi Support,

We are still getting the below response, please advise what to do?

{“statusCode”:200,“qr”:null,“validationRes”:{},“clearanceRes”:null}

Hi @anusv

The solution for empty response, is to resubmit exactly the same XML after 24 hours. In such case the ZATCA duplicate check will not be in place (as it is stored only 24 hours) and you will receive the full proper response afterwards.

This is how we have fixed ALL our documents which were reported with empty response.

– Sergei

Hi @diana.tudose

Could you please elaborate what exactly is not working? I can try to help you if you provide more details. This is exactly how we have “synced” all our documents after this incident.

Resubmitting the same XML after 24 hours didn’t work for us, still received an empty response.

Instead, we skipped the compliance step for all invoices. Compliance is now applied only during the onboarding phase, for obtaining the PCSID.

Hi @diana.tudose ,

yes the compliance checks should be done ONLY during onboarding the new solution. You do not need to send the invoice for compliance and then send for reporting. You can send it directly for reporting. But always remember that even if the document has failed, the hash should be considered as submitted and PIH for the next invoice should be the current has of this failed invoice.

– Sergei