Record expense
record_expenseRecord a household expense by amount and category to update your budget. Optionally add a note, payer, or date for accurate tracking.
Instructions
Records money spent in a category for the budget. Needs the amount and category.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Where or what, e.g. the shop name. | |
| amount | Yes | Amount spent, in major units. | |
| member | No | Who is asking, if known: a member id or name. Used for per-member policies and the audit trail. | |
| dry_run | No | When true, return the preview only. Nothing is written and nothing is queued. | |
| paid_by | No | Member name or id who paid. | |
| category | Yes | e.g. Groceries, Fuel, School. | |
| currency | No | ISO-4217 code; defaults to the household currency. | |
| occurred_at | No | When; defaults to now. | |
| idempotency_key | No | Optional client-chosen key. Repeating a call with the same key returns the original outcome instead of acting twice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||