Unexpected invalid-signing-certificate Warning for Online Invoice

We are observing an unexpected ZATCA warning for an online generated invoice generated. The warning typically appears only for offline invoices (SDK-signed), but in this case the invoice was created and signed fully online.

We would like to understand why ZATCA is returning ‘invalid-signing-certificate’ for an online invoice when:

  • The certificate corresponds to the correct VAT number.

  • The certificate matches the device.

  • The correct key pair is used.

  • The invoice is not an offline (SDK-signed) document.

“WarningList”: [
{
“ErrorCode”: “invalid-signing-certificate”,
“ErrorMessage”: “X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.”,
“ErrorSource”: “ZATCA”
}
]

Morning @Rahul_CT

Thanks for reaching out. Welcome to our community.

To provide comprehensive support as usual, can I kindly ask you to elaborate on the following:

  1. Kindly provide detailed clarification regarding “the invoice was created and signed fully online” ?
  2. What is the environment showing this behavior?
  3. Can you confirm that you are using the production certificate not the simulation certificate?

Thanks,
Ibrahem Daoud.

  1. The invoice was generated in a ZATCA-approved system and signed online, with no offline or manual steps involved.
  2. This warning has occurred in prod and client is using prod device ID to generate the invoices.

Dear @Rahul_CT

Thanks for your elaboration, Kindly share the following to the below mail, our technical team will review and response with the needed steps or schedule one to one meeting if needed:

  1. CSR.
  2. PCSID used for sign the XML.
  3. Full payload for the request that contains the warning (request, response, Authorization)

SP mail: sp_support@zatca.gov.sa

Additionally, Kindly share here the email address you will reach out from.

Thanks,
Ibrahem Daoud.

Thanks for the quick response team,

I’ll share the required details from this email id: rahul.meena@clear.in

Hey All,

I have sent the email, kindly revert on the same.

Thanks