# The provided CurrentCCSID is invalid Please Help

**URL:** <https://zatca1.discourse.group/t/the-provided-currentccsid-is-invalid-please-help/6000>\
**Category:** Onboarding, renewal and revocation\
**Created:** [February 25, 2025, 12:08pm UTC](https://zatca1.discourse.group/t/the-provided-currentccsid-is-invalid-please-help/6000 "2025-02-25T12:08:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![waseeml1985](https://avatars.discourse-cdn.com/v4/letter/w/f04885/32.png) [@waseeml1985](https://zatca1.discourse.group/u/waseeml1985)\
**Post date:** [February 25, 2025, 12:08pm UTC](https://zatca1.discourse.group/t/the-provided-currentccsid-is-invalid-please-help/6000/1 "2025-02-25T12:08:39Z")

</div>

Dear ZATCA Team  
We as software house Onboarded around 50 of our clients  
but with 3 or 4 of them we faced the following error while generating the PCSID in the production enviroment  
I tried everything and read every topic in this discussion group with no luck  
our onboarding flow is the following

1. We’ve generated the compliance CSID successfully
2. We’ve go through Compliance test successfully by sending the following

- Simplified Tax Invoice
- Simplified Tax credit note
- Simplified Tax debit note
- Tax Invoice
- Tax credit note
- Tax debit note

1. But when we tried to generate the production CSID the following error returned from API  
{“code”:“Invalid-CurrentCCSID”,“message”:“The provided CurrentCCSID is invalid”}

We make sure the VAT No. is correct and CCSID and secret are used as basic Authorization and the request ID in the body  
We checked everything and it seems to be fine  
even we changed the organization and organization unit in English  
any help or hint will be appreciated

---

<div class="post-metadata">

**Author:** ![waseeml1985](https://avatars.discourse-cdn.com/v4/letter/w/f04885/32.png) [@waseeml1985](https://zatca1.discourse.group/u/waseeml1985)\
**Post date:** [February 25, 2025, 1:04pm UTC](https://zatca1.discourse.group/t/the-provided-currentccsid-is-invalid-please-help/6000/2 "2025-02-25T13:04:14Z")

</div>

I found out the issue  
there was a special character in the Manufacturer name  
anyone facing the same issue please make sure the Manufacturer name isn’t including special characters  
thanks

---

<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:** [February 25, 2025, 1:52pm UTC](https://zatca1.discourse.group/t/the-provided-currentccsid-is-invalid-please-help/6000/3 "2025-02-25T13:52:27Z")

</div>

Dear,  
Thank you for reaching out.  
kindly note that i was a known issue and has been solved could you try again.

To resolve the CSR generation error, follow these steps:

1-Access Fatoora Portal

Click Onboard New Solution Unit/Device to generate the OTP. Use the Simulation environment unless onboarded in Production, where OTP must be obtained from Production.

2-Prepare Config File

Ensure the VAT number in the CSR config file matches the VAT number linked to Fatoora.

1-Genrate the CSR by using this commands: -  
Java:  
Simulation: fatoora -sim -csr -csrConfig \<configfile.properties\>

.NET:  
Simulation: fatooranet csr -sim -csrConfig \<configfile.properties\>

3-Generate CCSID by Using API Endpoints

Simulation: [https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance](https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/compliance)  
Production: [https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance](https://gw-fatoora.zatca.gov.sa/e-invoicing/core/compliance)

If you need further assistance, feel free to reach out.

Thanks,
