cabinet-filingGenerate Production Certificate

A production certificate is required to send invoices to ZATCA. which is generated by using the stackcueComplianceIdentifier received from pervious API (compliance CSID).

circle-info

All compliance checks must be completed before initiating production certificate.

API Referance

POST {{baseurl}}/api/productioncsid

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

stackcueComplianceIdentifier

string

compliance identifier received from the compliance csid API request

Example

{
   "stackcueComplianceIdentifier": "156b70d2b-7ed9-46c3-bdd7-6a90dd6c0162"
}
{
    "zatcaResponse": {
        "requestID": 30368,
        "tokenType": "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3",
        "dispositionMessage": "ISSUED",
        "binarySecurityToken": "TUlJRDNqQ0NBNFNnQXdJQkFnSVRFUUFBT0FQRjk....",
        "secret": "CkYsEXfV8c1gFHAtFWoZv73pGMvh/Qyo4LzKM2h/8Hg="
    },
    "stackcueHelper": {
        "CerIssueDate": "11-01-2024 09:19:30",
        "CerExpDate": "09-01-2029 09:19:30",
        "stackcueProductionIdentifier": "11359f3e-e9be-4d73-aa0d-d9edab0bbe2b",
        "overallStatus": 1
    }
}

Last updated