Get expense
figa_get_expenseRead an expense by its exact ID, without materializing or paying it. Eligible finite fixed-series details include full-series stats and a windowed occurrence list; stats describes the full balance. Recurring details distinguish the raw schedule from effectiveStartDate/effectiveStartDateMode, effectiveEnd and effectiveOccurrenceCount for the whole family. seriesContext contains rangeRevision, distinct from lifecycle revision, for guarded range edits. UUID and virtual aliases resolve through the canonical scheduled occurrence. Opaque editContext represents the read version for subsequent optimistic concurrency checks; replacing it on an old draft removes that protection. manualSeries is the expense group (manual series in the API) of the expense, not recurrence. dueBy is the last day of a payment window; series-stat occurrences also expose paidOn once Paid.
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>",
"expenseId": "<expenseId>"
},
"name": "figa_get_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expenseId | Yes | Expense ID as returned by expense reads: a stored expense UUID or the ID of a generated occurrence of a recurring series. | |
| 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 |