get_top_vendors
Get top vendors by expense spending. Returns a UNIFIED vendor list where every entry has an explicit "currency" field, a "comparable" flag (true = primary currency, false = foreign), and "converted_to_primary" field. converted_to_primary is null when no conversion data exists, or { amount, currency, invoices_converted, invoices_total, source } when bank reconciliation has recorded actual settlement amounts. Includes a top-level "currency_warning". Amounts in different currencies are NOT comparable or summable. For calendar-year periods, date_from is YYYY-01-01 and date_to is YYYY-12-31. Requires the Start or Business plan.
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_top_vendors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of top vendors to return (default: 10) | |
| date_to | No | End date (YYYY-MM-DD). For year queries use YYYY-12-31 | |
| date_from | No | Start date (YYYY-MM-DD). For year queries use YYYY-01-01 |