split_transaction
Split an existing transaction into 2-500 child transactions, allocating amounts that sum to the parent's total. Useful for breaking down a single expense into categorized or dated sub-parts.
Instructions
Split an existing transaction into 2-500 child transactions. The sum of child amounts must equal the parent's amount. After splitting, the parent is hidden from get_transactions and accessible via get_single_transaction (returns the parent with children).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transaction_id | Yes | ID of the transaction to split. | |
| child_transactions | Yes | Children to create. Sum of amounts must equal the parent's amount. |