I generated the CSR and private key files using the following command:
fatoora -csr -csrConfig csr-config-example.properties
I then submitted the CSR to:
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance
The response was:
ISSUED
Using the returned data, I successfully signed the six test files via:
https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance/invoices
However, when we sent the compliance_request_id
along with the binarySecurityToken
and secret
as a Basic Auth header, the response was:
{
“code”: “Invalid-CurrentCCSID”,
“message”: “The provided CurrentCCSID is invalid”
}
Could you please help us identify the cause of this issue and how to resolve it?