JSON
Last updated
Last updated
If you cannot provide an XML document as input you can provide the required document information via a JSON input. We have constructed a schema which supports the requirements to generate all the document types acceptable by ZATCA. We provide the following to test out JSON schema using the inputs you will be providing.
to view each parameter of the JSON input in detail
to test out the payload with the test API
if you want to run via the postman app
Here are some samples for each document.
POST
Productid
einvoicing_global
Keep as is
Authorization/MiplApiKey
api_key/auth token
Value and header type is mentioned in the Authentication Page
Refer to the sample documents for inputs
The response for the API can be found .