while getting my EGS on board, after submitting CSR and obtaining binary token , decoded into base64 and use as a cert for signing the invoice.
after that generating json api response , validating from SDK , i am facing these warnings.
{
"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": "BR-KSA-98",
"category": "KSA",
"message": "[BR-KSA-98] - The simplified invoice should be submitted within 24 hours of issuing the invoice.",
"status": "WARNING"
},
{
"type": "WARNING",
"code": "certificate-issuer-name",
"category": "CERTIFICATE_ERRORS",
"message": "X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.",
"status": "WARNING"
},
{
"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
}
after reporting all standard and simplified invoices , when i tried to get PCSID , and submit the request id but getting error.
sending request on
“https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids”
{
"detail": "ZATCA API error: {\"errorCode\":\"400\",\"errorCategory\":\"Invalid-CSR\",\"errorMessage\":\"The provided Certificate Signing Request (CSR) is invalid.\"}"
}
any help, i am doing all steps with SDK java version 238-R3.4.1