get_transaction
Retrieve detailed information for a specific YNAB transaction, including subtransactions for split transactions, using budget and transaction IDs.
Instructions
Get a single transaction with all details including subtransactions.
Args:
budget_id: The ID of the budget (use 'last-used' for default budget)
transaction_id: The ID of the transaction to retrieve
Returns:
JSON string with the transaction details including subtransactions if it's a split transaction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
budget_id | Yes | ||
transaction_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"budget_id": {
"title": "Budget Id",
"type": "string"
},
"transaction_id": {
"title": "Transaction Id",
"type": "string"
}
},
"required": [
"budget_id",
"transaction_id"
],
"type": "object"
}