List your invoices
curl --request GET \
--url https://my.server.express/api/v1/client/invoices \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"invoices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"date": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"amount": 123,
"currency": "<string>",
"status": "paid",
"combines": 123,
"coveredBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>"
}
}
],
"total": 123,
"page": 123,
"pageSize": 123
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Invoices
List your invoices
Newest first, paginated. Drafts are never shown.
GET
/
v1
/
client
/
invoices
List your invoices
curl --request GET \
--url https://my.server.express/api/v1/client/invoices \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"invoices": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"date": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"amount": 123,
"currency": "<string>",
"status": "paid",
"combines": 123,
"coveredBy": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>"
}
}
],
"total": 123,
"page": 123,
"pageSize": 123
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
bearerAuthapiToken
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Query Parameters
Required range:
x >= 1Clamped to 1–50.
Required range:
1 <= x <= 50Case-insensitive. Any other value is ignored and every non-draft invoice is returned.
Available options:
PAID, UNPAID, OVERDUE, CANCELLED, REFUNDED