However, we are encountering an issue right now :
1- We have created compliance successfully
2- we have sent invoices using (compliance/invoices API) and returned it’s valid.
3- when we use (production/csids API) with send (compliance_request_id) it returns
(
{“code”: “Invalid-CurrentCCSID”, “message”: “The provided CurrentCCSID is invalid”}
)
Note: This cycle is working correctly at simulation.
we also sure that the VAT Number, OTP and formatting everything is right.
Problem Solved!
previously, we were write organization name in Arabic to generate CCSID and everything was fine.
Now, organization name must be in English letters.
On our end this error was returned {“code”: “Invalid-CurrentCCSID”, “message”: “The provided CurrentCCSID is invalid”} because we did not provide OU inside the CSR, it was empty.
Documentation does not have proper information, it is saying Free Text which is not not true as empty string is also a free text. CSR was generated successfully and accepted, but when we try to use Compliance CSID to generate Production CSID, this error was returned.
I think that ZATCA developers should work more on properly validate data and return correct errors, instead of cryptic errors.