List Invoices
GET
/orders/invoicesThis endpoint allows you to fetch a list of order invoices.
Request
Invoice Date Range (from)
Invoice Date Range (to)
Order ID. List of Order ID can be found here.
Request samples
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 alphanumeric code or identifier assigned to a specific invoice. Invoice list can be found here
The invoice number as in the order.
Another unique identifier of the invoice
A unique alphanumeric code or identifier assigned to a specific order.
A unique alphanumeric code or identifier assigned to aninvoice. This is especially used if the invoice is issued outside Salla system.
Invoice Type.
Invoice Date.
Invoice QR code.
Invoice payment method.
Invoice sub total.
Invoice shipping cost.
Cash on delivery cost.
Discount applied on the invoice.
Tax applied on the invoice.
Invoice total.
For a better response behavior as well as maintain the best security level, All retrieving API endpoints use a mechanism to retrieve data in chunks called pagination. Pagination working by return only a specific number of records in each response, and through passing the page number you can navigate the different pages.
Number of returned results.
Number of all results.
Number of results per page.
Number of current page.
Number of total pages.
Array of linkes to next and previous pages.
{
"status": 200,
"success": true,
"data": [
{
"id": 1479538730,
"order_id": 1557892161,
"type": "Credit Note",
"sub_total": {
"amount": "1000.00",
"currency": "SAR"
},
"shipping_cost": {
"amount": "10.00",
"currency": "SAR"
},
"cod_cost": {
"amount": "0.00",
"currency": "SAR"
},
"discount": {
"amount": "0.00",
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": "151.50",
"currency": "SAR"
}
},
"total": {
"amount": 1161.5,
"currency": "SAR"
},
"date": "2021-12-03"
},
{
"id": 1692688589,
"order_id": 1557892161,
"type": "Tax Invoice",
"sub_total": {
"amount": "29.00",
"currency": "SAR"
},
"shipping_cost": {
"amount": "10.00",
"currency": "SAR"
},
"cod_cost": {
"amount": "0.00",
"currency": "SAR"
},
"discount": {
"amount": "0.00",
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": "5.85",
"currency": "SAR"
}
},
"total": {
"amount": 44.85,
"currency": "SAR"
},
"date": "2021-12-03"
},
{
"id": 1219192926,
"order_id": 1557892161,
"type": "Tax Invoice",
"sub_total": {
"amount": "850.00",
"currency": "SAR"
},
"shipping_cost": {
"amount": "25.00",
"currency": "SAR"
},
"cod_cost": {
"amount": "10.00",
"currency": "SAR"
},
"discount": {
"amount": "0.00",
"currency": "SAR"
},
"tax": {
"percent": "15.00",
"amount": {
"amount": "132.75",
"currency": "SAR"
}
},
"total": {
"amount": 1017.75,
"currency": "SAR"
},
"date": "2021-12-04"
}
],
"pagination": {
"count": 3,
"total": 3,
"perPage": 3,
"currentPage": 1,
"totalPages": 1,
"links": {
"next": null
}
}
}