Summarise spend
spend_summaryCalculate total spend over a date range, grouped by application, team, owner, card, month, or account type, with separate currency totals and no FX conversion.
Instructions
Total spend over a date range grouped by application, team, owner, card, month or account type, with separate totals per currency (no FX conversion). Spend counts card payments net of refunds plus reimbursements by default, reported as positive numbers. Defaults to the last 30 days.
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": "spend_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of range (inclusive): YYYY-MM-DD (UTC) or an RFC 3339 timestamp. | |
| from | No | Start of range (inclusive): YYYY-MM-DD (UTC) or an RFC 3339 timestamp. | |
| groupBy | No | application | |
| applicationIds | No | Only include transactions for these application IDs (from list_applications). | |
| transactionTypes | No | Override which transaction types count as spend. Default: cardSend, cardReceive, reimbursement. |