💳 Transactions
Add, edit, delete, and search transactions. Transfer money between wallets.
On this page
add_transaction
SafeAdd a new expense transaction. The AI will automatically detect the category based on the description, use the default wallet if not specified, and handle currency conversion if needed.
Parameters
| Parameter | Type | Description |
|---|---|---|
| amount* | number | Amount of the expense (positive number) |
| description? | string | Description of the expense (used for auto-categorization) |
| category? | string | Category name or slug (auto-detected if not provided) |
| wallet? | string | Wallet name (uses default wallet if not specified) |
| date? | string | Transaction date (YYYY-MM-DD, defaults to today) |
| currency? | string | Currency code (RUB, USD, EUR, etc.) |
Examples
add_income
SafeAdd income to a wallet. Automatically categorizes based on description (salary, freelance, gift, etc.).
Parameters
| Parameter | Type | Description |
|---|---|---|
| amount* | number | Income amount |
| description? | string | Income source description |
| category? | string | Income category (salary, freelance, gift, etc.) |
| wallet? | string | Target wallet |
| date? | string | Transaction date |
Examples
transfer
SafeTransfer money between wallets. Supports different currencies with automatic conversion.
Parameters
| Parameter | Type | Description |
|---|---|---|
| amount* | number | Transfer amount |
| from_wallet* | string | Source wallet name |
| to_wallet* | string | Destination wallet name |
| description? | string | Transfer description |
Examples
split_transaction
SafeSplit one transaction into multiple parts with different categories. Useful when a single purchase contains items from different categories (e.g., groceries + household items).
Parameters
| Parameter | Type | Description |
|---|---|---|
| transaction_id? | string | UUID of transaction to split (or "last" for latest) |
| parts* | array | Array of parts: { amount, category?, description? } |
Examples
• $1,200 - Food
• $300 - Household
delete_transaction
Requires ConfirmationDelete a transaction. Requires confirmation. Can be undone within 24 hours.
Parameters
| Parameter | Type | Description |
|---|---|---|
| transaction_id? | string | UUID of transaction to delete |
| description? | string | Find by description (e.g., "last", "latest", keyword) |
Examples
edit_transaction
SafeEdit an existing transaction. Can modify amount, category, description, date, or wallet.
Parameters
| Parameter | Type | Description |
|---|---|---|
| transaction_id? | string | UUID of transaction to edit |
| amount? | number | New amount |
| category? | string | New category |
| description? | string | New description |
| date? | string | New date |
Examples
list_transactions
SafeList transactions with optional filters by date, category, wallet, or type.
Parameters
| Parameter | Type | Description |
|---|---|---|
| period? | string | today, week, month, year, or custom range |
| category? | string | Filter by category |
| wallet? | string | Filter by wallet |
| type? | string | expense, income, or transfer |
| limit? | number | Max transactions to return (default: 10) |
Examples
search_transactions
SafeSearch transactions by description, merchant, amount range, or other criteria.
Parameters
| Parameter | Type | Description |
|---|---|---|
| query* | string | Search query (description, merchant name) |
| min_amount? | number | Minimum amount filter |
| max_amount? | number | Maximum amount filter |
Examples
get_transaction
SafeGet details of a specific transaction by ID or description.
Parameters
| Parameter | Type | Description |
|---|---|---|
| transaction_id? | string | UUID of the transaction |
| reference? | string | "last", "latest", "previous" |