# Certificate-issuer-name Warning for Simplified invoice

**URL:** <https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258>\
**Category:** General\
**Created:** [June 1, 2025, 9:35am UTC](https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258 "2025-06-01T09:35:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![junaidp](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@junaidp](https://zatca1.discourse.group/u/junaidp)\
**Post date:** [June 1, 2025, 9:35am UTC](https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258/1 "2025-06-01T09:35:00Z")

</div>

I am sending a simplified invoice and getting this warining: X509Certificate (CCSID / PCSID) used for signing is not valid certificate (CCSID / PCSID) for this VAT Registration Number.

I called the Production Csid API  
I decoded the received binarySecurityToken  
Put that decoded value in the sdk .cert.pem file  
Sign the Invoice  
Send invoice in Reporting , where i get this warning. (screenshots attached)

Please let me know what i am doing wrong  
Kind regards  
Junaid

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/2X/9/94eecd8fa8b1594e8b6a0ec45b7a6266febbf434.jpeg)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/2X/2/2f08eab1095bc77f10539b4c55ab5935f9d95e80.jpeg)

---

<div class="post-metadata">

**Author:** ![halrashidy](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@halrashidy](https://zatca1.discourse.group/u/halrashidy)\
**Post date:** [June 3, 2025, 6:43am UTC](https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258/2 "2025-06-03T06:43:48Z")

</div>

Dear @junaidp ,  
please make sure that you are using the production CSID and not the compliance CSID for signing invoices.

In the onboarding process, 2 CSIDs (X509 certificates) will be returned.

First one: after requesting the compliance CSID API, (which is the first step to do in onboarding process), we use this certifecate to sign invoices for the compliance checks step (compliance Invoice API), so we only use this certificate to sign invoices for the testing purposes in the compliance checks phase, as invoices in compliane checks are not being sent to ZATCA.

Second one: after requesting the production CSID API, we use this certificate to sign real invoices that are being sent to ZATCA by reporting API for simplified invoices or clearance API for standard invoices, however signing standard invoices is optional & not mandatory.

so what suggested is to make sure that you are using the PCSID X5509 certificate to sign your invoices, and check again.

thank you,

---

<div class="post-metadata">

**Author:** ![junaidp](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@junaidp](https://zatca1.discourse.group/u/junaidp)\
**Post date:** [June 3, 2025, 1:43pm UTC](https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258/3 "2025-06-03T13:43:38Z")

</div>

thanks for your message , As showing in my attached screenshot , We are indeed using /production/csid api. (I believe this is the Production CSID you refering to) . then we decoded the binarysecurityToken , and put that decoded binarySecurityToken in pem file, and then sign the invoice.  
Please let me know what we are doing wrong in the above process. We are using Production CSID as per our understading (please refer to the screenshot)

Thanks  
Junaid

---

<div class="post-metadata">

**Author:** ![idaoud](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@idaoud](https://zatca1.discourse.group/u/idaoud)\
**Post date:** [June 11, 2025, 5:23am UTC](https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258/4 "2025-06-11T05:23:41Z")

</div>

Morning @junaidp

Thanks for reaching out, I hope you are doing well

If the issue still exists, Kindly share your full concern via below mail to schedule one to one meeting if needed

SP mail: [sp\_support@zatca.gov.sa](mailto:sp_support@zatca.gov.sa)

Thanks,  
Ibrahem Daoud.

---

<div class="post-metadata">

**Author:** ![junaidp](https://avatars.discourse-cdn.com/v4/letter/j/e0b2c6/32.png) [@junaidp](https://zatca1.discourse.group/u/junaidp)\
**Post date:** [June 18, 2025, 1:26pm UTC](https://zatca1.discourse.group/t/certificate-issuer-name-warning-for-simplified-invoice/7258/5 "2025-06-18T13:26:56Z")

</div>

Morning Ibrahem  
thanks for reaching out , I have already emailed here .  
and the solution i have received from zatca team , I alredy tried that

I am sending a simplified invoice and getting this warning: X509Certificate (CCSID / PCSID) used for signing is not a valid certificate (CCSID / PCSID) for this VAT Registration Number.

- I called the Production Csid API
- I decoded the received binarySecurityToken
- Put that decoded value in the sdk .cert.pem file
- Sign the Invoice
- Generated the invoice Request
- Send generated invoiceRequest in Reporting , where I get this warning. (screenshots attached)

Here is the screenshot , where i am showing  
-the binary securityToken which i received from production csid API .

- then i decoded that from [base64decoder.org](http://base64decoder.org).
- then pasted that decoded value in cert.pem file

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/2X/9/9e0d9824f284fa4ef14efdd1b0b3681ad409e250.jpeg)  
 ![zatcaHelp](https://europe1.discourse-cdn.com/flex013/uploads/zatca1/original/2X/6/63c227830167bab90b578ffd6cd604a2e8afbd34.jpeg)

Please let me know what i am doing wrong  
Thanks  
Junaid
