Invoices
List invoices
Retrieve a paginated list of invoices. Supports filtering by status, customer, and date range.
get/api/invoices
Query parameters
statusstring
customerIdstring
dateFromstring
dateTostring
pagenumber
limitnumber
Response
Paginated list of invoices
Example response
{
"data": [
{
"id": "clx1234567890",
"invoiceNumber": "INV-2026-0001",
"customerId": "clxcust123",
"amount": "99.9900",
"currency": "USD",
"status": "DRAFT",
"pdfUrl": "/uploads/invoices/inv-123.pdf",
"customer": {
"id": "clx1234567890",
"name": "Jane Doe",
"email": "jane@example.com"
}
}
],
"meta": {
"total": 150,
"page": 1,
"limit": 20,
"totalPages": 8
}
}