Create expense
create_expenseLog a shared expense in Splitwise for a group or friends, set who paid, and split the cost equally, by exact amounts, or by percentages with cent-exact shares.
Instructions
Adds an expense to Splitwise. Choose a group (or omit it for an expense between you and friends), who paid (default: you), and how to split: equally, by exact amounts, or by percentages. People can be given by name or id. Amounts are computed in whole cents, so the shares always add up exactly to the cost. If a name is ambiguous the tool returns the candidates instead of guessing: ask the user which one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | Yes | Total cost, e.g. "86.40". | |
| date | No | When it happened. Defaults to now. | |
| group | No | Group to add the expense to. Omit for a non-group expense with friends. | |
| notes | No | Optional longer notes, stored as the expense details. | |
| split | No | How to divide the cost. "equal": among participants; leftover cents go to the first participants listed. "exact": explicit amounts per person. "percentage": percent per person; rounding goes to the largest remainders. Defaults to an equal split among all group members. | |
| paid_by | No | Who paid the whole cost. Defaults to "me". | |
| description | Yes | What the expense was for, e.g. "Dinner at Nopa". | |
| currency_code | No | ISO 4217 code. Defaults to the user's default currency. |