Dears,
I generated CSR file using SDK and complete operations till Try to generate PCSID ,when I call service https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids
the response is
{
“errorCode”: “400”,
“errorCategory”: “Invalid-CSR”,
“errorMessage”: “The provided Certificate Signing Request (CSR) is invalid.”
}
and I don’t know what is the problem . I call compliance and get CSI using this CSR .
My environment is simulation
I have the same problem and others have, knowing that the same steps that I used before 1/1/2025 were working 100%, we did not modify or update anything, but suddenly the problem appeared with the simulation environment only, we tried to modify the language and change some values and the same problem.
Yes , this is what happened with me .we make a lot of integration with ZATCA and we didn’t change anything .and this is first time this error is appeared .
I try to use latest SDK to avoid any updates problem in CSR generation if exist . but the issue is still exist
Kindly note that this is a known general issue, that the team is investigating it, we appreciate your patience and apologize for any inconveniences. We will keep you updated once it is solved ASAP.
Dear Sara Alotaibi thanks it works with me now .
but we face a new Issue when we send any invoice(simplified(b2c)-standard(b2b)) in simulation we get a warning message “X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.”
this issue occurs today only.
Kindly see the below response of reporting api
{“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”}
Dear
the issue still exists but now it is coming during generating CCSID
Before it was coming when i generate PCSID after the compliance of the invoices
Dear @saalotaibi, I am facing below issue in simulation on /e-invoicing/simulation/invoices/reporting/single
{
“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”: ,
“errorMessages”: [
{
“type”: “ERROR”,
“code”: “invalid-invoice-hash”,
“category”: “INVOICE_HASHING_ERRORS”,
“message”: “The invoice hash API body does not match the (calculated) Hash of the XML”,
“status”: “ERROR”
},
{
“type”: “ERROR”,
“code”: “sellerName_QRCODE_INVALID”,
“category”: “QRCODE_VALIDATION”,
“message”: “seller name does not match with qr code seller name”,
“status”: “ERROR”
}
],
“status”: “ERROR”
},
“reportingStatus”: “NOT_REPORTED”
}
Yes , this is what happened with me .I had done integration with Business central in feb and now working for navsion with ZATCA and we didn’t change anything .and this is first time this error is appeared . just changed parameters.
I try to use latest SDK to avoid any updates problem in CSR generation if exist . but the issue is still exist.
Please Help ASAP