Create Transaction
create_transactionRecord a new income or expense transaction in the accounting ledger by specifying date, description, amount, and direction. Optionally assign a category or trading entity.
Instructions
Create a new transaction manually
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": {
"date": "<date>",
"description": "<description>",
"amount": "<amount>",
"direction": "<direction>"
},
"name": "create_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Transaction date (YYYY-MM-DD) | |
| notes | No | Additional notes | |
| amount | Yes | Transaction amount (positive number) | |
| direction | Yes | Money direction: in (income) or out (expense) | |
| category_id | No | Category ID (optional - will auto-categorize if not provided) | |
| description | Yes | Transaction description | |
| counterparty | No | Name of the other party | |
| trading_entity_id | No | Trading entity ID to assign transaction to a specific income stream |