List all invoices
Retrieve a list of invoices for the authenticated team.
Query parameters
A cursor for pagination, representing the last item from the previous page.
A cursor for pagination, representing the last item from the previous page.
Sort as [column, direction]. Columns: created_at, due_date, issue_date, amount, status, customer, invoice_number. Direction: asc or desc.
Sort as [column, direction]. Columns: created_at, due_date, issue_date, amount, status, customer, invoice_number. Direction: asc or desc.
[ "created_at", "desc" ]
Number of invoices to return per page (1-100).
Number of invoices to return per page (1-100).
Search query string to filter invoices by text.
Search query string to filter invoices by text.
Start date (inclusive) for filtering invoices, in ISO 8601 format.
Start date (inclusive) for filtering invoices, in ISO 8601 format.
End date (inclusive) for filtering invoices, in ISO 8601 format.
End date (inclusive) for filtering invoices, in ISO 8601 format.
List of invoice statuses to filter by (e.g., 'paid', 'unpaid', 'overdue').
List of invoice statuses to filter by (e.g., 'paid', 'unpaid', 'overdue').
[ "paid", "unpaid" ]
List of customer IDs to filter invoices.
List of customer IDs to filter invoices.
[ "customer-uuid-1", "customer-uuid-2" ]
List of invoice IDs to filter by.
List of invoice IDs to filter by.
[ "invoice-uuid-1", "invoice-uuid-2" ]
List of recurring series IDs to filter invoices by (shows all invoices from these series).
List of recurring series IDs to filter invoices by (shows all invoices from these series).
[ "recurring-uuid-1", "recurring-uuid-2" ]
Filter by recurring status. true = only recurring invoices, false = only non-recurring invoices.
Filter by recurring status. true = only recurring invoices, false = only non-recurring invoices.
Response
A list of invoices for the authenticated team.
Example response
{
"meta": {
"cursor": "25",
"hasNextPage": true
},
"data": [
{
"id": "b3b7e6e2-8c2a-4e2a-9b1a-2e4b5c6d7f8a",
"status": "paid",
"dueDate": "2024-06-30T23:59:59.000Z",
"issueDate": "2024-06-01T00:00:00.000Z",
"invoiceNumber": "INV-2024-001",
"amount": 1500.75,
"currency": "USD",
"customer": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "Acme Corporation",
"website": "https://acme.com",
"email": "info@acme.com"
},
"paidAt": "2024-06-15T12:00:00.000Z",
"reminderSentAt": "2024-06-10T09:00:00.000Z",
"note": "Thank you for your business.",
"vat": 120,
"tax": 80,
"discount": 50,
"subtotal": 1400,
"viewedAt": "2024-06-05T14:30:00.000Z",
"customerName": "Acme Corporation",
"sentTo": "billing@acme.com",
"sentAt": "2024-06-02T08:00:00.000Z",
"createdAt": "2024-06-01T07:00:00.000Z",
"updatedAt": "2024-06-15T10:00:00.000Z",
"pdfUrl": "https://app.midday.ai/api/download/invoice?token=eef58951-1682-4062-b010-425866032390",
"previewUrl": "https://app.midday.ai/i/eef58951-1682-4062-b010-425866032390"
}
]
}