listInvoices
listInvoices: List invoices for the authenticated user with optional status filtering and pagination. Requires authentication.
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": "listInvoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based page number for pagination, default 0. | |
| size | No | Number of invoices per page, default 20. | |
| status | No | Filter by invoice status: DRAFT, PENDING, PAID, CANCELLED, or OVERDUE. | |
| sessionKey | No | Session key (osk_...) returned by checkDeviceLoginStatus. Pass it on every call when logged in via the in-chat device flow; omit when connected via OAuth. |