Invoice Details
GET
/orders/invoices/{invoice_id}This endpoint allows you to fetch a specific order invoice details by passing the invoice_id
as a path parameter.
Request
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique identifier of the invoice
The invoice number as in the order
Another unique identifier of the invoice
A unique identifier assigned to the order. List of orders can be found here.
Invoice reference. This is especially used if the invoice is issued outside Salla system
Invoice Type
Invoice issuance date
Invoice QR code
Invoice payment method
Invoice items details.
{
"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"
}
}
]
}
}