Get Transaction Splits
get_transaction_splitsRetrieve the split legs of a transaction to see how it is divided across categories, merchants, and notes. Works for both split and un-split transactions.
Instructions
Get the split legs of a transaction.
Splitting lets a single transaction be divided across multiple categories (e.g. a Target run that is part groceries, part household). This returns the current split legs, if any.
Args: transaction_id: ID of the transaction to inspect
Returns:
The transaction id, whether it currently has splits, and the list of
split legs (each with its own amount, category, merchant, and notes).
splits is empty for an un-split transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| splits | Yes | ||
| transaction_id | Yes | ||
| has_split_transactions | Yes |