get_pending_collections
Retrieves a summary of unpaid invoices, excluding voided and already collected entries. Optionally filter by year to view pending collections for a specific period.
Instructions
Resumen de facturas emitidas pendientes de cobro. Itera todas las páginas automáticamente. Excluye facturas anuladas (voided) y ya cobradas (paid=True). year: filtra por año (ej: 2026). Sin year devuelve todos los pendientes. Devuelve: {count, total_pending, invoices: [{id, number, date, customer, total, status}]}
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": "get_pending_collections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||