Dear @Madleen
Thanks for reaching out,
Can I kindly ask you to confirm the following:
1- Did you generated the PCSID for SIM or Production?
2- The PCSID you want to renew is it on SIM, or Production?
Please note that the devPortal is only to clarify the integration steps,
For renewal PCSID in production env use (https://gw-fatoora.zatca.gov.sa/e-invoicing/core/production/csids)
In simulation use (https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids)
in the body you will send the CSR, in the headers (Accept-Version, value:V2, and the Current CCSID), in the Autherization you need to add the Binary security token as user name and the secret as password,
Please try these steps and let me know if there are anything not clear.
Thanks,
Ibrahem Daoud.