List invoices
list_invoicesRetrieve and filter paginated invoices by status, customer, site, job, or date, including totals and linked customer/site/job details.
Instructions
List invoices with status (draft, new, sent, late, paid, cancelled), totals and the linked customer/site/job. API default order is by number, descending. Amounts carry no currency field in the API. Paginated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| sort | No | ||
| status | No | ||
| job_num | No | Only invoices linked to this job number. | |
| site_id | No | Only invoices for this site id. | |
| job_my_id | No | Only invoices linked to this job myId. | |
| page_size | No | Results per page, 1-100 (API maximum is 100). | |
| paid_since | No | Only records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC. | |
| sort_order | No | ||
| customer_id | No | Only invoices of this customer id. | |
| changed_since | No | Only records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC. | |
| created_since | No | Only records changed/created after this date-time (YYYY-MM-DD[ HH:MM]); the API documents these filters as UTC. | |
| customer_my_id | No | Only invoices of this customer myId. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||