List invoices
list_invoicesRetrieve one cursor-paginated page of project invoices, with status, order ID, and date filters, then continue using next_cursor until the last page.
Instructions
Read one cursor-paginated page of invoices for a project. Filters: status (repeatable), external_order_id, created_from/created_to (Unix seconds). The result carries items[] and next_cursor — next_cursor is absent on the last page. Poll with the returned cursor; do not guess offsets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>"
},
"name": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size; the server default and maximum apply | |
| cursor | No | Cursor from a previous list_invoices response | |
| status | No | Repeatable status filter: awaiting_client | awaiting_payment | confirming | underpaid_waiting | paid | paid_over | underpaid | expired | cancelled | |
| created_to | No | Unix seconds, inclusive upper bound | |
| project_id | Yes | Project whose invoices to list (prj_…) | |
| created_from | No | Unix seconds, inclusive lower bound | |
| external_order_id | No | Filter by your order identifier |