Add a Money Lover transaction
add_transactionAdd a transaction to Money Lover after explicit confirmation, preventing duplicates and validating category ownership for accurate record-keeping.
Instructions
Create one transaction only after explicit confirmation. Validates category ownership and blocks exact duplicates by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Transaction date, YYYY-MM-DD | |
| note | No | Optional note | |
| with | No | ||
| token | No | ||
| amount | Yes | Transaction amount | |
| walletId | Yes | Wallet identifier | |
| categoryId | No | Category ID from get_categories | |
| categoryName | No | Exact category name; resolved inside the wallet | |
| confirmWrite | Yes | Must be true after the user has explicitly approved the write | |
| allowDuplicate | No | ||
| runtimeCategoryId | No | Runtime category ID from a real browser transaction request; overrides automatic mapping |