Create group transaction
create_group_transactionCreate a shared expense, transfer or income in a group. Example — "user A paid 50 for dinner, split evenly with user B": amount 50, participants [{A, +50}, {A, -25}, {B, -25}], splitConfig { payersSplitMode: "evenly", recipientsSplitMode: "evenly", participantConfigs: [{A, payer, isAutoCalculated: true}, {A, recipient, isAutoCalculated: true}, {B, recipient, isAutoCalculated: true}] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | expense = shared cost, transfer = repayment between members, income = shared income | |
| amount | Yes | Total transaction amount, two decimals max | |
| groupId | Yes | ||
| currency | Yes | ISO 4217 code, e.g. USD | |
| categoryId | No | Category id from list_categories | |
| description | Yes | ||
| splitConfig | Yes | ||
| participants | Yes | ||
| transactionDate | No | YYYY-MM-DD, defaults to today |