400 Status Code with Message "Clearance Service Down"

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.

Hello Ankit & ZATCA team,

Can someone please assist with this one and give us an update to know what needs to be done?

Regards,
Omar

in case on this msg
“message” : “Clearance is deactiviated. Please use the /invoices/reporting/single endpoint instead.”,

once you receive this error … automatilcly send same invoice for approval to the reporting url “The url which u are using for simplified inv.”