Add Transaction
add_transactionRecord income or expense transactions and automatically update the account balance; enter a positive amount and the category type applies the sign.
Instructions
Record an income or expense transaction. Automatically updates the account balance. Provide a positive amount — the sign is applied based on the category type.
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>",
"category_id": "<category_id>",
"account_id": "<account_id>"
},
"name": "add_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Transaction date in YYYY-MM-DD format. | |
| tags | No | Tags for categorization and cleanup, e.g. ['demo-financial']. | |
| amount | Yes | Transaction amount (positive number — sign is derived from category type). | |
| account_id | Yes | UUID of the capital account to debit/credit. | |
| category_id | Yes | UUID of the category (income or expense). | |
| customer_id | No | UUID of the customer this transaction is attributed to (e.g. a client payment). Optional. | |
| description | Yes | Description of the transaction. | |
| exclude_from_reports | No | Set true to exclude from P&L reports (e.g. owner draws). Default false. |