To obtain a PCSID, you must correctly configure the solution for electronic invoice generation and submission, and the solution must be fully functioning. To achieve this result, you must complete all the required preliminary configuration steps. For more information, see Get started with Electronic invoicing for Saudi Arabia.
Make sure that all electronic invoices are successfully submitted to ZATCA.
Run the onboarding script that is provided later in this article. Specify the CCSID as an input parameter. Here is an example: Script has two possible endpoints simulation & prod
.\OnboardingScript.ps1 -action getProductionCSID -endpoint prod -password 123
Note
The password parameter is optional and can be omitted. If it's included, the certificate that is generated will have the specified password.
The PCSID is received as a certificate file in PFX format. Save this PCSID certificate and secret file in the Azure key vault.
Configure the related feature setup in the Saudi Arabian Zatca submission (SA) electronic invoicing feature. Include the PCSID certificate and secret in the key vault parameters in RCS.
After you complete all the configurations steps, the system is ready to be used in production mode.
To review obtained CSIDs on the ZATCA side, use the Review Existing Cryptographic Stamp Identifier (CSID) tile on the landing page of the Onboarding and Management Portal. This portal is accessible from the main Saudi Arabian Taxation Portal Start Onboarding your system point of sale POS and Link with Zakat, Tax and Customs Authority Saudi Arabian, Here you can Create and Build a Digital Signature ECDSA Certificate Online OpenSSL (CSR and Private Key) and Compliance XML Files Standard and Simplified) and Compliance CSR to Get Authorizationa and Depending on your place in the onboarding process, create a Compliance CSID (CCSID) or a Production CSID (PCSID). Obtain a PCSID