Add expense to manual series
figa_add_expense_to_manual_seriesAttach one saved one-time expense to an active expense group (seriesId), preserving its ID and all financial and descriptive fields. Group defaults are not applied and workspace totals do not change; group statistics include the new member. expectedEditContext identifies the source expense version; a changed source returns EXPENSE_WRITE_CONFLICT without saving. MANUAL_SERIES_SOURCE_ASSIGNED means it already belongs to a group; MANUAL_SERIES_SOURCE_INELIGIBLE excludes scheduled occurrences and series bills. MANUAL_SERIES_ARCHIVED means the target group cannot accept members while archived. Returns the updated group total. This write requires explicit user intent. A UUID requestId identifies one intended operation; identical retries retain the same ID and payload. A missing response or IDEMPOTENCY_OUTCOME_UNKNOWN, IDEMPOTENT_REQUEST_IN_PROGRESS or INTERNAL_SERVER_ERROR leaves the outcome uncertain, not a confirmed failure. A new ID can duplicate an uncertain write. Corrected inputs after a definite validation or business refusal constitute a new operation. The transport response cache lasts 24 hours; longer replay guarantees are stated above.
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>",
"requestId": "<requestId>",
"seriesId": "<seriesId>",
"expenseId": "<expenseId>",
"expectedEditContext": "<expectedEditContext>"
},
"name": "figa_add_expense_to_manual_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seriesId | Yes | ID of the expense group. | |
| expenseId | Yes | ID of the saved one-time expense. | |
| requestId | Yes | Caller-generated UUID identifying this one intended write. A retry of the same write reuses the ID and payload; the same ID with different input returns IDEMPOTENCY_KEY_MISMATCH. | |
| workspaceId | Yes | ID of a workspace selected for this connection. Other workspaces are rejected. | |
| expectedEditContext | Yes | editContext from the read of that expense, unchanged. |