---
name: split-shared-trip-expenses
description: "Work out who owes whom after a shared trip, charging each expense only to the people who took part, with unequal shares, refunds, repayments already made and separate currencies. Use when friends or family want to split holiday, trip or group travel costs and settle up."
license: CC-BY-4.0
metadata:
  author: Raq.com
  version: "2026-11-22"
  homepage: https://skills.raq.com/skills/split-shared-trip-expenses
---

# Split trip expenses by who took part

Reconcile who paid with who benefited, including unequal shares, exclusions and payments friends have already made.

## When to use this skill

- A group has a list of trip expenses where different people paid and not everyone joined everything.
- Some costs are shared unequally, for example by nights stayed or by room.
- Some money has already been paid back, or a refund went to someone other than the person who paid.

## When not to use it

- Settling a disagreement about who should pay for what. The skill applies the shares the group agrees.
- Business travel claims, which follow the employer's expenses policy.

## What you need

- Expense amounts, currency, payer, participants and agreed equal or weighted shares for each expense.
- Previously settled payments, participant order for penny adjustments and any agreed exchange rate.

## Ask before you start

If any of these are missing or unclear, ask before doing the work.

- Who was on the trip, in a fixed order? The order decides who takes any leftover penny.
- For each expense: who paid, how much, in which currency, and who shared it, with any unequal shares?
- Have any repayments or refunds already happened, and who sent or received them?
- Should currencies stay separate, or has everyone agreed one exchange rate?

## Method

1. Check every expense has an amount, currency, payer and list of participants. Set aside any line without participants or shares as unresolved, and do not guess.
2. For each expense, credit the payer with the full amount and charge each listed participant their agreed share: equal, weighted or exact. People who did not take part pay nothing for it.
3. Work in the currency's smallest unit, such as pence or cents. Give each participant the whole units of their exact share, then hand out the leftover units by largest fractional remainder, breaking ties in the trip's participant order. Check the shares add back to the receipt exactly.
4. Record a repayment between two people as a transfer: the sender's balance goes up and the recipient's goes down. Do not record it as a new shared expense.
5. Treat a merchant refund as reducing the original cost: credit each participant their share of the refund and charge the person who received it, even if it went to a different card from the original payer's. For a full refund, reverse the original allocations exactly, pennies included.
6. Keep a separate ledger for each currency unless everyone agreed a rate. Check that each currency's balances sum to zero, then list who pays whom to settle in as few payments as possible.

## Checks before you deliver

- A person can pay for an activity they did not join.
- An earlier repayment recorded as another dinner creates a second round of artificial debt.
- Rounding every share to the nearest penny separately, so the shares no longer add up to the receipt.
- Mixing currencies in one balance, or converting at different rates for different people.
- Charging a refund to the original payer when it actually went to someone else's card.

## How to present the result

Lead with the settlement: who pays whom and how much, for each currency. Then give each person's net balance, a line-by-line table of expenses with payer, participants and shares, and the repayments already made. List unresolved receipts last with what is needed to include them.

## Worked example

**Request:** What is each person's balance after the transfer?

**Supplied material:**

```text
Order: Amy, Ben, Cal. GBP only. Cabin £240 paid by Amy, weights Amy 2, Ben 2, Cal 1. Meal £60 paid by Ben, split equally Ben and Cal. Cal already paid Amy £20.
```

**Answer:** Ben owes Amy £66 and Cal owes Amy £58. This already credits Cal with the £20 he paid. Together those two payments settle the £124 Amy is still owed.

## Structured output for tests

For an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.

Return net as an object keyed first by currency (ISO code), then by participant name, showing signed balances in major units to two decimals. Positive means money to receive. Include all people in the trip roster in each used currency. Report unresolved as the receipt IDs with absent allocation data and exclude those lines from net.

## Sources

- [Splitwise: how to divide expenses and record payments](https://kb.splitwise.com/getting-started/how-do-i-use-splitwise): Splitwise's help centre documents equal splits by default, splitting by exact amount, percentage or shares, and recording a repayment between people with Settle up rather than as an expense. The skill keeps the same separation between expenses and transfers.
- [Splitwise: recording a refund or reimbursement](https://kb.splitwise.com/balances-and-expenses/how-do-i-add-a-refund-or-reimbursement): Splitwise's reimbursement split records how much of a refund each person should get back, so a refund reverses the shares of the people who bore the cost instead of becoming a new expense.
- [SIX: ISO 4217 currency code maintenance agency](https://www.six-group.com/en/products-services/financial-information/market-reference-data/data-standards.html): SIX is the secretariat of the ISO 4217 maintenance agency and publishes the current currency list with each currency's alphabetic code, numeric code and minor unit. The skill keys balances by these codes and allocates leftover amounts in the currency's minor unit.

Test cases and an answer checker for this skill: https://skills.raq.com/skills/split-shared-trip-expenses
