invoices
invoices
Page 4 of 10.
- fromUserId
- 207
- toUserId
- 188
- invoiceNumber
- INV-2024-0073
- status
- cancelled
- issuedAt
- dueAt
- paidAt
- —
- subtotal
- 14587.62
- tax
- 1167.01
- total
- 15754.63
- currency
- GBP
- lineItems
-
[ { "description": "Content writing", "quantity": 34, "unitPrice": 247.43, "lineTotal": 8412.62 }, { "description": "Content writing", "quantity": 38, "unitPrice": 162.5, "lineTotal": 6175 } ] - createdAt
- fromUserId
- 116
- toUserId
- 46
- invoiceNumber
- INV-2024-0074
- status
- viewed
- issuedAt
- dueAt
- paidAt
- —
- subtotal
- 14745.9
- tax
- 1179.67
- total
- 15925.57
- currency
- AUD
- lineItems
-
[ { "description": "Implementation services", "quantity": 16, "unitPrice": 358.8, "lineTotal": 5740.8 }, { "description": "License fee", "quantity": 6, "unitPrice": 319.36, "lineTotal": 1916.16 }, { "description": "Documentation", "quantity": 5, "unitPrice": 192.52, "lineTotal": 962.6 }, { "description": "License fee", "quantity": 15, "unitPrice": 268.06, "lineTotal": 4020.9 }, { "description": "Training session", "quantity": 27, "unitPrice": 40.39, "lineTotal": 1090.53 }, { "description": "Content writing", "quantity": 37, "unitPrice": 27.43, "lineTotal": 1014.91 } ] - createdAt
- fromUserId
- 210
- toUserId
- 199
- invoiceNumber
- INV-2024-0075
- status
- paid
- issuedAt
- dueAt
- paidAt
- subtotal
- 18908.79
- tax
- 0
- total
- 18908.79
- currency
- GBP
- lineItems
-
[ { "description": "Project management", "quantity": 10, "unitPrice": 496.88, "lineTotal": 4968.8 }, { "description": "Marketing services", "quantity": 25, "unitPrice": 360.59, "lineTotal": 9014.75 }, { "description": "License fee", "quantity": 34, "unitPrice": 144.86, "lineTotal": 4925.24 } ] - createdAt
- fromUserId
- 22
- toUserId
- 165
- invoiceNumber
- INV-2024-0076
- status
- sent
- issuedAt
- dueAt
- paidAt
- —
- subtotal
- 20990.31
- tax
- 3148.55
- total
- 24138.86
- currency
- USD
- lineItems
-
[ { "description": "Technical support", "quantity": 19, "unitPrice": 237.04, "lineTotal": 4503.76 }, { "description": "Quality assurance", "quantity": 2, "unitPrice": 105.28, "lineTotal": 210.56 }, { "description": "Research services", "quantity": 16, "unitPrice": 58.75, "lineTotal": 940 }, { "description": "Technical support", "quantity": 18, "unitPrice": 233.74, "lineTotal": 4207.32 }, { "description": "Consulting services", "quantity": 24, "unitPrice": 269.43, "lineTotal": 6466.32 }, { "description": "Research services", "quantity": 35, "unitPrice": 133.21, "lineTotal": 4662.35 } ] - createdAt
- fromUserId
- 102
- toUserId
- 2
- invoiceNumber
- INV-2024-0077
- status
- paid
- issuedAt
- dueAt
- paidAt
- subtotal
- 30244.28
- tax
- 6048.86
- total
- 36293.14
- currency
- GBP
- lineItems
-
[ { "description": "Design work", "quantity": 8, "unitPrice": 390.68, "lineTotal": 3125.44 }, { "description": "Data analysis", "quantity": 26, "unitPrice": 416.53, "lineTotal": 10829.78 }, { "description": "Research services", "quantity": 37, "unitPrice": 433.86, "lineTotal": 16052.82 }, { "description": "Accounting services", "quantity": 2, "unitPrice": 118.12, "lineTotal": 236.24 } ] - createdAt
- fromUserId
- 119
- toUserId
- 93
- invoiceNumber
- INV-2024-0078
- status
- paid
- issuedAt
- dueAt
- paidAt
- subtotal
- 42184.59
- tax
- 2109.23
- total
- 44293.82
- currency
- GBP
- lineItems
-
[ { "description": "Content writing", "quantity": 23, "unitPrice": 445.54, "lineTotal": 10247.42 }, { "description": "Accounting services", "quantity": 3, "unitPrice": 345.61, "lineTotal": 1036.83 }, { "description": "Project management", "quantity": 34, "unitPrice": 335.28, "lineTotal": 11399.52 }, { "description": "Photography services", "quantity": 32, "unitPrice": 376.65, "lineTotal": 12052.8 }, { "description": "Implementation services", "quantity": 2, "unitPrice": 194.21, "lineTotal": 388.42 }, { "description": "Hardware supply", "quantity": 30, "unitPrice": 235.32, "lineTotal": 7059.6 } ] - createdAt
Showing first 6 of 24 on this page.
curl -sS \
"https://example-data.com/api/v1/invoices?limit=25"const res = await fetch(
"https://example-data.com/api/v1/invoices?limit=25"
);
const { data, meta } = await res.json();import type { Invoice, ListEnvelope } from "https://example-data.com/types/invoices.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/invoices?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Invoice>;import requests
res = requests.get(
"https://example-data.com/api/v1/invoices",
params={"limit": 25},
)
data = res.json() {
"data": [
{
"id": 73,
"fromUserId": 207,
"toUserId": 188,
"invoiceNumber": "INV-2024-0073",
"status": "cancelled",
"issuedAt": "2024-11-10T23:16:21.171Z",
"dueAt": "2024-12-23T23:16:21.171Z",
"paidAt": null,
"subtotal": 14587.62,
"tax": 1167.01,
"total": 15754.63,
"currency": "GBP",
"lineItems": [
{
"description": "Content writing",
"quantity": 34,
"unitPrice": 247.43,
"lineTotal": 8412.62
},
{
"description": "Content writing",
"quantity": 38,
"unitPrice": 162.5,
"lineTotal": 6175
}
],
"createdAt": "2024-11-10T08:03:09.841Z"
},
{
"id": 74,
"fromUserId": 116,
"toUserId": 46,
"invoiceNumber": "INV-2024-0074",
"status": "viewed",
"issuedAt": "2024-09-16T19:10:49.415Z",
"dueAt": "2024-10-27T19:10:49.415Z",
"paidAt": null,
"subtotal": 14745.9,
"tax": 1179.67,
"total": 15925.57,
"currency": "AUD",
"lineItems": [
{
"description": "Implementation services",
"quantity": 16,
"unitPrice": 358.8,
"lineTotal": 5740.8
},
{
"description": "License fee",
"quantity": 6,
"unitPrice": 319.36,
"lineTotal": 1916.16
},
{
"description": "Documentation",
"quantity": 5,
"unitPrice": 192.52,
"lineTotal": 962.6
},
{
"description": "License fee",
"quantity": 15,
"unitPrice": 268.06,
"lineTotal": 4020.9
},
{
"description": "Training session",
"quantity": 27,
"unitPrice": 40.39,
"lineTotal": 1090.53
},
{
"description": "Content writing",
"quantity": 37,
"unitPrice": 27.43,
"lineTotal": 1014.91
}
],
"createdAt": "2024-09-15T21:33:17.787Z"
},
{
"id": 75,
"fromUserId": 210,
"toUserId": 199,
"invoiceNumber": "INV-2024-0075",
"status": "paid",
"issuedAt": "2024-12-01T12:53:44.050Z",
"dueAt": "2025-01-11T12:53:44.050Z",
"paidAt": "2025-01-02T11:07:32.199Z",
"subtotal": 18908.79,
"tax": 0,
"total": 18908.79,
"currency": "GBP",
"lineItems": [
{
"description": "Project management",
"quantity": 10,
"unitPrice": 496.88,
"lineTotal": 4968.8
},
{
"description": "Marketing services",
"quantity": 25,
"unitPrice": 360.59,
"lineTotal": 9014.75
},
{
"description": "License fee",
"quantity": 34,
"unitPrice": 144.86,
"lineTotal": 4925.24
}
],
"createdAt": "2024-11-30T21:06:34.369Z"
}
],
"meta": {
"page": 4,
"limit": 24,
"total": 300,
"totalPages": 13
},
"links": {
"self": "/api/v1/invoices?page=4",
"next": "/api/v1/invoices?page=5",
"prev": "/api/v1/invoices?page=3"
}
}