- Welcome 👋
- Get Started
- Create Your First App
- Authorization
- Webhooks
- Conditional Webhooks
- Security Considerations
- Multi-Language Support
- Responses
- Pagination
- Rate Limiting
- Versioning
- Change Log
- Support
- APIs
- Orders
- Order Status
- Order Histories
- Order Tags
- Order Invoice
- Order Reservations
- Order Items
- Products
- Product Options
- Product Quantity
- Product Variants
- Product Tags
- Product Images
- Product Option Values
- Abandoned Carts
- Customer Groups
- Customers
- Digitals Product
- Categories
- Exports
- Shipments
- Shipping Companies
- Shipping Zones
- Shipping Rules
- Countries
- Product Option Templates
- Taxes
- Coupons
- Affiliates
- Order Assignment
- Special Offers
- Transactions
- Payments
- Settlements
- Settings
- Merchant
- Brands
- Reviews
- Branches
- Currencies
- SEO
- Cities
- DNS Records
- Languages
- Employees
- Advertisements
- Webhooks
- Custom URLs
- Loyalty Points
- Webhooks - Store Events
List Invoices
Production
Production
GET
https://api.salla.dev/admin/v2/orders/invoices
Order Invoice
Last modified:2025-02-02 12:23:10
Scopes
orders.read
- Orders Read OnlyRequest
Authorization
Add the parameter
Authorization
to Headers,whose value is to concatenate the Token after the Bearer.Example:
Authorization: Bearer ********************
Query Params
from_date
stringÂ
optional
to_date
stringÂ
optional
order_id
integerÂ
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.salla.dev/admin/v2/orders/invoices?from_date&to_date&order_id'
Responses
🟢200Success
application/json
Body
status
numberÂ
optional
success
booleanÂ
optional
data
array[object (Invoice) {15}]Â
optional
id
numberÂ
required
Example:
458282634
invoice_number
stringÂ
required
uuid
string <uuid>
required
Example:
e7f9e1e3-90d1-487d-afe1-f97e10b80b1d
order_id
integerÂ
required
Example:
1557892161
invoice_reference_id
stringÂ
required
type
stringÂ
required
Example:
Credit Note
date
stringÂ
required
Example:
2022-01-19
qr_code
stringÂ
required
payment_method
stringÂ
required
sub_total
objectÂ
required
shipping_cost
objectÂ
required
cod_cost
objectÂ
required
discount
objectÂ
required
tax
objectÂ
required
total
objectÂ
required
pagination
object (Pagination)Â
optional
count
numberÂ
required
total
numberÂ
required
perPage
numberÂ
required
<= 65
currentPage
numberÂ
required
totalPages
numberÂ
required
links
objectÂ
required
Example
{
"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": "https://s.salla.sa/NextPage"
}
}
}
🟠401Unauthorized
Modified at 2025-02-02 12:23:10