ynab_get_transaction
Retrieve full details of a YNAB transaction by ID, including date, amount, payee, category, and subtransactions. Optionally specify budget or format.
Instructions
Get full details for a single transaction by ID.
Args:
budget_id (string, optional): Budget UUID. Omit to use the default budget.
transaction_id (string, required): Transaction UUID.
response_format (string, optional): "json" or "markdown" (default: "markdown").
Returns: transaction (id, date, amount, memo, cleared, approved, account_id, payee_name, category_name, subtransactions), cached, cache_info
Errors:
"No default budget set" → run ynab_set_default_budget first
"Transaction not found" → invalid transaction_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget_id | No | ||
| transaction_id | Yes | ||
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cached | No | Indicates if data was served from cache | |
| cache_info | No | Human-readable cache status message (e.g., "Cache hit", "Cache miss") | |
| usedDelta | No | Indicates if delta merge optimization was applied for budgets | |
| transaction | Yes | Transaction details |