splitwise_create_expense
Create an expense and split costs equally or assign custom shares to group members with paid and owed amounts.
Instructions
Create a new expense. Can split equally among group members or specify custom shares for each user. For custom shares, provide users array with paid_share and owed_share for each user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Total cost as a decimal string (e.g., "25.00") | |
| date | No | Date of expense (ISO 8601 format). Defaults to now. | |
| users | No | Array of user share objects (required if not splitting equally). Each must have paid_share, owed_share, and either user_id or email/first_name/last_name | |
| details | No | Additional notes about the expense | |
| group_id | No | Group ID (0 for expenses outside a group) | |
| category_id | No | Category ID from get_categories | |
| description | Yes | Short description of the expense | |
| currency_code | No | Currency code (e.g., "USD") | |
| split_equally | No | Whether to split equally among group members | |
| repeat_interval | No | Repeat frequency |