invoices
invoices
Browse 300 invoices records. Free mock data API by Draftbit — fetch over REST or browse paginated HTML.
- fromUserId
- 211
- toUserId
- 74
- invoiceNumber
- INV-2024-0001
- status
- viewed
- issuedAt
- dueAt
- paidAt
- —
- subtotal
- 23575.44
- tax
- 3536.32
- total
- 27111.76
- currency
- EUR
- lineItems
-
[ { "description": "Technical support", "quantity": 40, "unitPrice": 129.84, "lineTotal": 5193.6 }, { "description": "Data analysis", "quantity": 30, "unitPrice": 434.78, "lineTotal": 13043.4 }, { "description": "Quality assurance", "quantity": 36, "unitPrice": 108.75, "lineTotal": 3915 }, { "description": "Software development", "quantity": 12, "unitPrice": 118.62, "lineTotal": 1423.44 } ] - createdAt
- fromUserId
- 5
- toUserId
- 3
- invoiceNumber
- INV-2024-0002
- status
- draft
- issuedAt
- dueAt
- paidAt
- —
- subtotal
- 14134.68
- tax
- 2826.94
- total
- 16961.62
- currency
- USD
- lineItems
-
[ { "description": "Technical support", "quantity": 35, "unitPrice": 127.26, "lineTotal": 4454.1 }, { "description": "Documentation", "quantity": 21, "unitPrice": 460.98, "lineTotal": 9680.58 } ] - createdAt
- fromUserId
- 138
- toUserId
- 177
- invoiceNumber
- INV-2025-0003
- status
- paid
- issuedAt
- dueAt
- paidAt
- subtotal
- 10988.02
- tax
- 2197.6
- total
- 13185.62
- currency
- USD
- lineItems
-
[ { "description": "License fee", "quantity": 15, "unitPrice": 168.61, "lineTotal": 2529.15 }, { "description": "Research services", "quantity": 9, "unitPrice": 486.93, "lineTotal": 4382.37 }, { "description": "Data analysis", "quantity": 10, "unitPrice": 407.65, "lineTotal": 4076.5 } ] - createdAt
- fromUserId
- 212
- toUserId
- 126
- invoiceNumber
- INV-2026-0004
- status
- overdue
- issuedAt
- dueAt
- paidAt
- —
- subtotal
- 9516.56
- tax
- 0
- total
- 9516.56
- currency
- AUD
- lineItems
-
[ { "description": "Photography services", "quantity": 1, "unitPrice": 201.92, "lineTotal": 201.92 }, { "description": "Documentation", "quantity": 10, "unitPrice": 267.59, "lineTotal": 2675.9 }, { "description": "Data analysis", "quantity": 14, "unitPrice": 450.28, "lineTotal": 6303.92 }, { "description": "Quality assurance", "quantity": 2, "unitPrice": 167.41, "lineTotal": 334.82 } ] - createdAt
- fromUserId
- 153
- toUserId
- 197
- invoiceNumber
- INV-2024-0005
- status
- paid
- issuedAt
- dueAt
- paidAt
- subtotal
- 31552.7
- tax
- 0
- total
- 31552.7
- currency
- GBP
- lineItems
-
[ { "description": "Accounting services", "quantity": 40, "unitPrice": 448.21, "lineTotal": 17928.4 }, { "description": "License fee", "quantity": 18, "unitPrice": 492.4, "lineTotal": 8863.2 }, { "description": "Implementation services", "quantity": 10, "unitPrice": 476.11, "lineTotal": 4761.1 } ] - createdAt
- fromUserId
- 152
- toUserId
- 7
- invoiceNumber
- INV-2025-0006
- status
- paid
- issuedAt
- dueAt
- paidAt
- subtotal
- 35582.57
- tax
- 2846.61
- total
- 38429.18
- currency
- CAD
- lineItems
-
[ { "description": "Software development", "quantity": 6, "unitPrice": 166.81, "lineTotal": 1000.86 }, { "description": "Documentation", "quantity": 39, "unitPrice": 498.41, "lineTotal": 19437.99 }, { "description": "System integration", "quantity": 9, "unitPrice": 403.34, "lineTotal": 3630.06 }, { "description": "Consulting services", "quantity": 20, "unitPrice": 460.48, "lineTotal": 9209.6 }, { "description": "Research services", "quantity": 22, "unitPrice": 104.73, "lineTotal": 2304.06 } ] - 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": 1,
"fromUserId": 211,
"toUserId": 74,
"invoiceNumber": "INV-2024-0001",
"status": "viewed",
"issuedAt": "2024-10-18T03:09:14.336Z",
"dueAt": "2024-11-27T03:09:14.336Z",
"paidAt": null,
"subtotal": 23575.44,
"tax": 3536.32,
"total": 27111.76,
"currency": "EUR",
"lineItems": [
{
"description": "Technical support",
"quantity": 40,
"unitPrice": 129.84,
"lineTotal": 5193.6
},
{
"description": "Data analysis",
"quantity": 30,
"unitPrice": 434.78,
"lineTotal": 13043.4
},
{
"description": "Quality assurance",
"quantity": 36,
"unitPrice": 108.75,
"lineTotal": 3915
},
{
"description": "Software development",
"quantity": 12,
"unitPrice": 118.62,
"lineTotal": 1423.44
}
],
"createdAt": "2024-10-17T19:25:36.167Z"
},
{
"id": 2,
"fromUserId": 5,
"toUserId": 3,
"invoiceNumber": "INV-2024-0002",
"status": "draft",
"issuedAt": "2024-12-19T11:26:51.370Z",
"dueAt": "2025-01-06T11:26:51.370Z",
"paidAt": null,
"subtotal": 14134.68,
"tax": 2826.94,
"total": 16961.62,
"currency": "USD",
"lineItems": [
{
"description": "Technical support",
"quantity": 35,
"unitPrice": 127.26,
"lineTotal": 4454.1
},
{
"description": "Documentation",
"quantity": 21,
"unitPrice": 460.98,
"lineTotal": 9680.58
}
],
"createdAt": "2024-12-19T04:18:33.361Z"
},
{
"id": 3,
"fromUserId": 138,
"toUserId": 177,
"invoiceNumber": "INV-2025-0003",
"status": "paid",
"issuedAt": "2025-08-30T00:50:01.989Z",
"dueAt": "2025-10-02T00:50:01.989Z",
"paidAt": "2025-09-19T23:55:30.464Z",
"subtotal": 10988.02,
"tax": 2197.6,
"total": 13185.62,
"currency": "USD",
"lineItems": [
{
"description": "License fee",
"quantity": 15,
"unitPrice": 168.61,
"lineTotal": 2529.15
},
{
"description": "Research services",
"quantity": 9,
"unitPrice": 486.93,
"lineTotal": 4382.37
},
{
"description": "Data analysis",
"quantity": 10,
"unitPrice": 407.65,
"lineTotal": 4076.5
}
],
"createdAt": "2025-08-29T21:12:21.572Z"
}
],
"meta": {
"page": 1,
"limit": 25,
"total": 300,
"totalPages": 12
},
"links": {
"self": "/api/v1/invoices?page=1",
"first": "/api/v1/invoices?page=1",
"last": "/api/v1/invoices?page=12",
"next": "/api/v1/invoices?page=2",
"prev": null
}
}