Retrieve
Retrieve Submission Status
You can retrieve the status of a submitted document using this API.
API Referance
GET /api/retrieve
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Body
Name
Type
Validation
Description
DocumentIdstring
Mandatory
Invoice ID, eg:"SMM10"
documentTypestring
Mandatory
eg:SimplifiedInvoice
issueDatedate
Mandatory
eg:
2022-09-07Samples
{
"DocumentId" : "SM233",
"documentType" : "SimplifiedInvoice",
"issueDate" : "2022-09-08"
}
{
"status": "success",
"data": [
{
"DocumentId": "1",
"issueDate": "2022-09-08",
"isSubmittedToZatca": 2
},
{
"DocumentId": "1",
"issueDate": "2022-09-08",
"isSubmittedToZatca": 2
}
]
}{
"status": "false",
"data": [
"No record found"
]
}isSubmittedToZatca 1 Means Submitted
isSubmittedToZatca 0 Means Not submitted
isSubmittedToZatca 2 means Submitted with warningLast updated