List invoices
list_invoicesThe invoices, newest first, for an admin or the owner. status: all (the default, without credit notes), draft, sent, overdue, paid, written_off or credit_notes.
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 | From 1 | |
| status | No | A tab of the invoice list; `all` by default leaves the credit notes out | |
| per_page | No | 50 by default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| page | Yes | ||
| per_page | Yes | ||
| next_page | Yes |