top of page

Get 100% ZATCA invoicing compliant with ApiZatca

Effortless integration with any ERP/POS system.

100% ZATCA compliant with API integration

Full assistance to comply with all ZATCA regulations

RECENTLY PUBLISHED

Resolving the "Production CSID Does Not Cover Simplified Documents" Error in ZATCA E-Invoicing


Production CSID Does Not Cover Simplified Documents

Encountering errors during development can be frustrating, especially when working with complex systems like the ZATCA e-invoicing portal.


A common issue developers face is the "Production CSID does not cover Simplified documents" error. This typically occurs when attempting to report a simplified invoice in a developer environment (Sandbox) using the endpoint below:


Understanding the Error:

The root cause of this error is straightforward. When this endpoint is called:


ZATCA sends a hard-coded Production CSID (PCSID). This specific PCSID does not support the handling of Simplified documents.

To confirm the details of the PCSID (after base64 decoding), you can use this decoder tool: https://certlogik.com/decoder


Solutions:

To effectively resolve this issue, there are two main approaches:


  • Testing in the Simulation Environment: Conduct your tests directly in the simulation environment, which is designed to handle a wider range of scenarios including simplified documents.

  • Using Specific Values for Development Environment Tests: If you prefer to continue testing in the developer environment (Sandbox), use the following values:

You can test this solution here .

Seller VAT number = 300075588700003

secret = Xlj15LyMCgSC66ObnEO/qVPfhSbs3kDTjWnGheYhfSs=

binarySecurityToken = TUlJRDFEQ0NBM21nQXdJQkFnSVRid0FBZTNVQVlWVTM0SS8rNVFBQkFBQjdkVEFLQmdncWhrak9QUVFEQWpCak1SVXdFd1lLQ1pJbWlaUHlMR1FCR1JZRmJHOWpZV3d4RXpBUkJnb0praWFKay9Jc1pBRVpGZ05uYjNZeEZ6QVZCZ29Ka2lhSmsvSXNaQUVaRmdkbGVIUm5ZWHAwTVJ3d0dnWURWUVFERXhOVVUxcEZTVTVXVDBsRFJTMVRkV0pEUVMweE1CNFhEVEl5TURZeE1qRTNOREExTWxvWERUSTBNRFl4TVRFM05EQTFNbG93U1RFTE1Ba0dBMVVFQmhNQ1UwRXhEakFNQmdOVkJBb1RCV0ZuYVd4bE1SWXdGQVlEVlFRTEV3MW9ZWGxoSUhsaFoyaHRiM1Z5TVJJd0VBWURWUVFERXd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pRUVdNQlFHQ0NzR0FRVUZCd01DQmdnckJnRUZCUWNEQXpBbkJna3JCZ0VFQVlJM0ZRb0VHakFZTUFvR0NDc0dBUVVGQndNQ01Bb0dDQ3NHQVFVRkJ3TURNQW9HQ0NxR1NNNDlCQU1DQTBrQU1FWUNJUUNWd0RNY3E2UE8rTWNtc0JYVXovdjFHZGhHcDdycVNhMkF4VEtTdjgzOElBSWhBT0JOREJ0OSszRFNsaWpvVmZ4enJkRGg1MjhXQzM3c21FZG9HV1ZyU3BHMQ==

These values are tailored to bypass the limitation of the hard-coded PCSID in the developer environment.


By applying these solutions, developers can efficiently overcome the "Production CSID does not cover Simplified documents" error and ensure successful testing and integration with the ZATCA e-invoicing system.


bottom of page