You ask in plain words
With whatever notes or documents you already have.
Who owes whom after our group trip, when not everyone joined everything?
What is each person's balance after the transfer?
Your notes
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.
Your agent answers with a checked method
It runs 5 checks before it replies.
Your agentUsing this skill
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.
- 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.
Why that’s right. Amy advanced £240, owes £96 for the cabin and has already received £20.
Is it the right skill?
What it’s for, and when another skill or a person is the better choice.
Use it when
- 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.
Not the right skill when
- 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.
The method it follows
6 steps, in order, every time.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
What to have ready
If something’s missing, your agent asks before it starts.
- 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.

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?
Try it on your own AI
A new question with a known answer, so you can check your AI gets it right.
-
Copy the questionKeep my euro costs separate from sterling. Return only JSON following the skill’s test format. Order: Kit, Lou, Max. Ticket EUR 10 paid by Lou, split equally three ways. Taxi GBP 12 paid by Kit, split equally Kit and Max. Receipt U4 EUR 7, payer Kit, no participants specified.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
Kit gets the first rounding cent on the euro bill. U4 needs an allocation before it affects anyone’s balance.
{
"net": {
"EUR": {
"Kit": -3.34,
"Lou": 6.67,
"Max": -3.33
},
"GBP": {
"Kit": 6,
"Lou": 0,
"Max": -6
}
},
"unresolved": [
"U4"
]
}
The check runs in your browser. Nothing you paste is sent anywhere.
-
Copy the questionWho owes what after the merchant refund and the private repayment? Return only JSON following the skill’s test format. Order A, B, C. A paid £90 for a meal shared equally by A, B and C. A £12 merchant refund for all three posted to B's card. C has already paid £10 to A.
-
Ask your AI in a new chat
Give it this skill first, then paste the question. It replies with a short block of data in the format the skill asks for.
-
Show the answer and why
After the refund each person's meal cost is £26. B owes £38 because B also received the £12 refund; C owes only £16 after the transfer.
{
"net": {
"GBP": {
"A": 54,
"B": -38,
"C": -16
}
},
"unresolved": []
}
The check runs in your browser. Nothing you paste is sent anywhere.
Where the method comes from
Free to use and adapt with credit (CC BY 4.0).
Use this skill in Raq.com
Add it to your Skill Library and your agent applies it whenever a request matches. Edit it for your own business and keep every version.