Hi ZATCA Team,
Today we received a few responses from ZATCA with the status code 400 from the clearance endpoint. But the error message was strange upon investigating. We received this in the error message.
"type" : "ERROR",
"code" : null,
"category" : null,
"message" : "Clearance is deactiviated. Please use the /invoices/reporting/single endpoint instead.",
"status" : "ERROR"
Shouldnt it be that if the clearance endpoint really is down we receive a 303 error code? Our application was built with that assumption so we could not do the redirecting from our end. We will retry the resending from our end to the clearance endpoint, but please check this issue as it will cause unnecessary investigation from our end.