List invoices
list_invoicesRetrieves accounts-payable invoices, optionally filtered by status or vendor, and returns compact summaries with IDs and key details so you can discover invoice IDs.
Instructions
List invoices in the accounts-payable ledger, optionally filtered by status or vendor. Returns compact summaries (id, vendor, PO, total, dates, status), sorted by id. Use this first to discover invoice ids. Read-only.
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 |
|---|---|---|---|
| limit | No | Maximum number of invoices to return (default 25). | |
| status | No | Only return invoices in this status. "received" = not yet reviewed, "on_hold" = waiting for a human or more data. | |
| vendorId | No | Only return invoices from this vendor, e.g. "V-ACME". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| invoices | Yes |