Get Transaction Details
get_transaction_detailsFetch a transaction's split linkage, amount, merchant, and category_id by ID. Returns parent_transaction_id or split_transaction_ids and flags for use before split operations.
Instructions
Get one transaction's split linkage, amount, merchant, and category_id.
Compact get_transactions/search_transactions results omit split flags. Verbose results identify split legs with isSplitTransaction but do not expose their parent IDs. This tool returns a leg's parent_transaction_id or a parent's has_split_transactions flag and split_transaction_ids. Use these IDs to fetch details for individual legs; an unsplit transaction or a split leg returns an empty list.
Use this before get_transaction_splits or update_transaction_splits when you need the parent ID. transaction_id is the resolved ID returned by Monarch; it may differ from the requested ID when a pending transaction redirects to its posted replacement. Missing transactions raise an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| merchant | Yes | ||
| category_id | Yes | ||
| transaction_id | Yes | ||
| is_split_transaction | Yes | ||
| parent_transaction_id | Yes | ||
| split_transaction_ids | Yes | ||
| has_split_transactions | Yes |