apply_split
Split a single transaction across multiple budget categories. Requires line items to sum exactly to the charge amount and user confirmation before writing to prevent budget misstatements.
Instructions
Split one charge across categories. Lines MUST sum to the charge exactly or the write is refused. Confirm with the user first — a wrong allocation silently misstates a budget.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| source | No | ||
| txn_id | Yes |