Add an entry
add_transactionAdd an expense, income or transfer. Pass your own id (a new UUID): calling again with the same id never adds twice. categoryId is required for expenses and income (see list_categories); transfers need toAccountId. Amounts are integers in minor units (kopecks, cents): 45000 = 450.00. Dates are YYYY-MM-DD in the family time zone; a month is a budget period YYYY-MM (the one that starts in that month).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| note | No | ||
| type | Yes | ||
| amount | Yes | ||
| currency | No | ||
| isRefund | No | ||
| toAmount | No | ||
| accountId | Yes | ||
| baseAmount | No | ||
| categoryId | No | ||
| occurredOn | Yes | ||
| toCurrency | No | ||
| toAccountId | No |