We’re facing this error during the onboarding of new devices, this issue started happening after the release of the latest SDK:
We’ve updated the SDK to version SDK Version 3.4.4
We get the certificate using this endpoint: POST/compliance and it works fine
We start sending the latest samples to POST/compliance/invoices and the issue happens as follows:
{
"status_code": 500,
"error_message": "Error, PostComplianceInvoicesAPI : General Error : {\"validationResults\":{\"infoMessages\":[{\"type\":\"INFO\",\"code\":\"XSD_ZATCA_VALID\",\"category\":\"XSD validation\",\"message\":\"Complied with UBL 2.1 standards in line with ZATCA specifications\",\"status\":\"PASS\"}],\"warningMessages\":[{\"type\":\"WARNING\",\"code\":\"invalid-signing-certificate\",\"category\":\"CERTIFICATE_ERRORS\",\"message\":\"X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.\",\"status\":\"WARNING\"}],\"errorMessages\":[],\"status\":\"WARNING\"},\"reportingStatus\":\"REPORTED\",\"clearanceStatus\":null,\"qrSellertStatus\":null,\"qrBuyertStatus\":null}"
}
Any idea what is the issue? and how can we fix it?
Thanks for your collaboration, can I kindly ask you to check and confirm if you are signing the B2C invoices with the CCSID Decoded based64 “Binary Security Token” that you received from the compliance?
Thanks for your collaboration in raising this, please note that it’s a known issue, currently our team working on it, However, you can complete the onboarding process and receive your PCSID successfully.
Appreciate your understanding.
Thanks,
Ibrahem Daoud.
‘warningMessages’: [{‘type’: ‘WARNING’, ‘code’: ‘invalid-signing-certificate’, ‘category’: ‘CERTIFICATE_ERRORS’, ‘message’: ‘X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.’, ‘status’: ‘WARNING’}]
Any update on the mentioned Issue we are also currently facing this same problem now .
and is it ok to onboard the device and Report Simplified Invoices with this existing warning messages ?