Dear ZATCA Support Team,
I hope you are doing well.
We would like to report an issue we are encountering in the Simulation Portal during the customer onboarding process.
As part of our standard testing, we usually generate a few sample invoices before obtaining the Production CSID. These invoices are successfully posted, and we receive an “Accepted” status without any issues.
However, after this, when we attempt to generate the Production CSID, the system returns an empty response, even though we are using the correct OTPs.
This behavior is unexpected, as the invoices generated prior to Production CSID creation are accepted successfully, but the Production CSID generation itself fails with no response.
We have attached the request and response payloads for your reference.
Could you please help us understand the reason for this issue and advise on the appropriate next steps?
Request:
{
“api” : “onboard-3”,
“url” : “https://gw-fatoora.zatca.gov.sa/e-invoicing/simulation/production/csids”,
“httpEntity” : {
“headers” : {
“Accept-Version” : [ “V2” ],
“Accept-Encoding” : [ “identity” ],
“Accept-Language” : [ “en-GB,en-US;q=0.9,en;q=0.8” ],
“Connection” : [ “keep-alive” ],
“Content-Type” : [ “application/json” ],
“Sec-Fetch-Dest” : [ “empty” ],
“Sec-Fetch-Mode” : [ “cors” ],
“Sec-Fetch-Site” : [ “cross-site” ],
“Accept” : [ “application/json” ],
“Authorization” : [ “Basic VFVsSlExRlVRME5CWldWblFYZEpRa0ZuU1VkQlduTnROMFl5ZWsxQmIwZERRM0ZIVTAwME9VSkJUVU5OUWxWNFJYcEJVa0puVGxaQ1FVMU5RMjFXU21KdVduWmhWMDV3WW0xamQwaG9ZMDVOYWxWNFRXcEZNazFVUlhsUFZFMDBWMmhqVGsxNlFYaE5ha1V4VFdwRmQwMUVRWGRYYWtJeFRWRnpkME5SV1VSV1VWRkhSWGRLVkZGVVJWUk5Ra1ZIUVRGVlJVTjNkMHROVkVGNFRVUk5NVTE2WTNsT1ZFVTFUVVJqUjBFeFZVVkRaM2QzVkcxR01HRlhPWFZaVjNkblVWaFdhMkZYT0dkV2JXeDZaRmRHYzBsR1VteFpNbWgxWWpKNGRsb3phMmRWTTBKc1dUSnNhR0pIYkhwa1NFMW5WRVY0UkUxU1dYZEdRVmxFVmxGUlJFUkJNVTlSVmxwVlZYa3hTbUp1V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QUEST, clearInvoiceResponse=null, csrResponse=null, complianceInvoiceResponse=null, prodCSIDResponse=ProdCSIDResponse(pk=null, sk=null, requestID=null, dispositionMessage=null, binarySecurityToken=null, secret=null, errors=null, code=null, message=null, timestamp=null, status=null, error=null), status=null, documentMetric=null, encodedQRCode=null, downloadDocumentResponse=null, invoiceQRCode=null, egsName=null, documentUlid=null)