splitwise_get_expense
Retrieve full details for one expense: cost, group, category, each person's paid/owed/net shares, repayments, and comments. Use before updating or to verify the result.
Instructions
Read one expense in full: cost, group, category, every share, repayments and comments.
Calls GET /get_expense/{id}. The shares table shows what each person paid, owed and
their net on this expense; repayments say who owes whom for it; comments are listed
with author and time. A deleted expense is still readable and is flagged as deleted.
Sign convention: Net = paid − owed; positive = that person is owed money on this expense, negative = they owe.
When to Use:
Before
splitwise_update_expense, to see the current shares (an update with shares replaces ALL of them)."Who paid for dinner and how was it split?"
Checking that a create/update landed the way it was intended.
When NOT to Use:
To list or search expenses (use
splitwise_get_expenses).To read only the comments thread (use
splitwise_get_comments).For overall balances (use
splitwise_get_balances).
Returns:
Markdown: header fields, a | Person | Paid | Owed | Net | table, repayments
From → To amount, and a comments table. JSON: the raw expense object.
Examples:
params = {"expense_id": 3456789012}
params = {"expense_id": 3456789012, "response_format": "json"}
Error Handling: 404 → wrong id; 403 → you are not part of that expense; 401 → API key problem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |