get_transaction
Fetches full details for a YNAB transaction by ID, including date, payee, category, account, amount, memo, approval/cleared status, flag, and split allocations.
Instructions
Gets the full details of one transaction by ID: date, payee, category, account, amount, memo, approved/cleared status, and flag. Split transactions include a 'splits' array showing each portion's category and amount. Find transaction IDs with search_transactions or the list_* transaction tools.
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": {
"transaction_id": "<transaction_id>"
},
"name": "get_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget_id | No | The budget ID, or 'last-used' for the most recently used budget. | last-used |
| transaction_id | Yes | The ID of the transaction to fetch. |