Light Mode
Invoice Details
GET
/orders/invoices/{invoice_id}Last modified: 25 days ago
This endpoint allows you to fetch a specific order invoice details by passing the invoice_id
as a path parameter.
Request
Path Params
Request samples
Responses
Success(200)
Not Found(404)
Error Validation(422)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
{
"status": 200,
"success": true,
"data": {
"id": 1128904162,
"invoice_number": "1",
"uuid": null,
"order_id": 1152394206,
"invoice_reference_id": null,
"type": "Tax Invoice",
"date": "2022-06-30",
"qr_code": null,
"payment_method": "bank",
"sub_total": {
"amount": 130,
"currency": "SAR"
},
"shipping_cost": {
"amount": 23,
"taxable": true,
"currency": "SAR"
},
"cod_cost": {
"amount": 0,
"taxable": true,
"currency": "SAR"
},
"discount": {
"amount": 0,
"currency": "SAR"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "SAR"
}
},
"total": {
"amount": 153,
"currency": "SAR"
},
"items": [
{
"id": 1670203268,
"product_id": "977135276",
"item_id": 588287185,
"name": "شاحن آنكر 1000",
"quantity": 1,
"type": "product",
"price": {
"amount": 130,
"currency": "SAR"
},
"discount": {
"amount": 0,
"currency": "SAR"
},
"tax": {
"percent": 0,
"amount": {
"amount": 0,
"currency": "SAR"
}
},
"total": {
"amount": 130,
"currency": "SAR"
}
}
]
}
}
Last modified: 25 days ago