Invalid-signing-certificate : X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.
I am getting this error for some invoices. Can anyone explain why is this happening for some invoices?
Make sure you’re using the production CSID, not the compliance CSID, to sign invoices.
During onboarding, you’ll receive two CSIDs (X509 certificates).
The first step is to request the compliance CSID API (the initial step), after which this certificate signs compliance check invoices via the Compliance Invoice API. It is only used for test invoices during compliance checks, as these are not sent to ZATCA.
The second: after requesting the production CSID API, this certificate signs actual invoices sent to ZATCA through the reporting API for simplified invoices or the clearance API for standard invoices. Signing standard invoices is not mandatory.
Please confirm that you’re using the PCSID X5509 certificate for signing your invoices and verify it again.
Make sure you’re using the production CSID, not the compliance CSID, to sign invoices.
During onboarding, you’ll receive two CSIDs (X509 certificates).
The first step is to request the compliance CSID API (the initial step), after which this certificate signs compliance check invoices via the Compliance Invoice API. It is only used for test invoices during compliance checks, as these are not sent to ZATCA.
The second: after requesting the production CSID API, this certificate signs actual invoices sent to ZATCA through the reporting API for simplified invoices or the clearance API for standard invoices. Signing standard invoices is not mandatory.
Please confirm that you’re using the PCSID X5509 certificate for signing your invoices and verify it again.