List expenses
figa_list_expensesList the expenses of one calendar month, in stored expense form, with filtering and an optional result limit; there is no pagination. Dates are Unix seconds. templateId identifies a recurring template/version; id identifies the expense. Plan visibility is applied before filters, including skipped and paused expenses. Optional commitment is the full finite-series balance in commitment.currency: totalOccurrences counts active charges, skippedOccurrences is separate, and inactivePaidAmount describes paid inactive history. An absent commitment is not a zero balance. manualSeries is the expense group (manual series in the API) of the expense, or null. manualSeriesId limits the list to one group and combines with the other filters; a group outside the workspace returns MANUAL_SERIES_NOT_FOUND. metadata.filterOptions.manualSeries lists the groups (id, name, archivedAt) among rows matching the other filters, by name; a selected group stays listed even without rows that month. For due windows, dueBy is the final day; expenseDate is the window start until Paid, and overdue begins after dueBy. Unpaid windows appear in every month they touch. carriedOver rows fall outside the month of expenseDate and are excluded from ordinary metadata totals; carriedOverUnpaid reports their amount and count separately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"query": "<query>"
},
"name": "figa_list_expenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Required year and month (1-12), plus optional filters: paid or unpaid only, category, recipient, tag, expense group (manualSeriesId), amount comparison, recurring only, name search, an excluded expense ID and a result limit (1-50). | |
| workspaceId | Yes | ID of a workspace selected for this connection. Other workspaces are rejected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | Yes | ||
| success | Yes |