Multi-currency trips: pay in euros, count in dollars
Three of you fly from New York to Lisbon. The flights were booked from home, in dollars. Everything after landing is in euros: the dinner by the river, the train to Sintra, the coffee that somehow cost nine. At the end you want one answer, who owes whom, in one currency, and no spreadsheet of rates to get there.
Until now the advice on this blog was to agree on a rate and type everything in dollars. That advice is retired, because xplit now takes an amount in any of its currencies and converts it, at the day's exchange rate, into the one the trip counts in.
Every trip counts in one currency
A trip has a currency, and so does an activity that stands on its own. It starts as the currency in your settings, and you can change it at the top of the trip, between Share and Export. The small button beside it refreshes the exchange rates; more on that below.

Everything on the page is written in that currency: the boxes at the top, every balance, every transfer on the Settle tab, and the exports. An activity inside a trip counts in the trip's currency, so its control shows the trip's and cannot be changed there.
If every cost of a trip is in one currency, none of this gets in your way. The control reads USD, the amount field takes numbers, and that is all there is to see.
Entering a cost in another currency
Open New transaction. The amount field now starts with the currency, where a dollar sign used to be. Press it and pick the one on the receipt.

Pick euros and type 120. A second field appears beside the amount with what that comes to in dollars, and under both, the rate it used and the day the rate is of. A tick means the rate is there. While it is being fetched you see an hourglass instead, and if it cannot be fetched at all, a warning.

Save, and the transaction keeps all three things: the amount as you typed it, its currency and the rate. What the trip uses in every sum and every balance is the converted amount. The list says so after the details, in smaller type, so nobody has to wonder where $134.06 came from.

Open the transaction again later and the amount field shows the 120 euros you typed, with the conversion at the current rate under it. Save, and that is the rate it keeps. If the rate cannot be fetched when you save, the transaction is stored anyway, marked as waiting, and converted as soon as the rates are back.
Where the rates come from
The rates are the daily tables of the currency-api project, a free feed served from a content delivery network. The app fetches the table for the currency a trip counts in and keeps it in your browser for an hour, so flipping between euros and dollars and back fetches nothing twice. After an hour it asks again, the next time it needs a rate.
A rate that is a day old is the right tool here. Banks and cards settle at rates of their own, and a group splitting a dinner does not need to chase them. What it needs is one rate everyone can see, with a note of where it came from. That is why the day of the rate is written under the amount field and in the message after a refresh.
Rates never change under you
New rates are never applied on their own. A transaction keeps the rate it was converted at, so the totals of a trip do not drift while nobody is looking. Otherwise two people opening the trip on different days would see different numbers, and have the argument the app was meant to end.
When you do want the latest rates, press the button beside the currency control, the one with circling arrows around a money sign. Every transaction in another currency is converted again, and a message says how many changed and which day's rates it used.

The usual time for this is once, at the end of the trip, before anyone pays anyone.
Changing what a trip counts in
Say the group decides to settle in euros after all. Open the currency control at the top of the trip and pick EUR.

Every transaction is then expressed in euros. The ones entered in euros become their own amounts again, rate or no rate. The ones entered in dollars keep the dollars you typed and get converted. A cost entered in a third currency, say Swiss francs, is converted anew. All of that needs rates, and until they arrive, every total and balance that depends on them shows a turning sign instead of a number.

Online, that takes about a second. Offline, the trip waits, says so, and tries again a minute later at the next change. What you typed is safe either way, because the conversion is kept apart from the entry.

The currency a new trip starts with
A new trip starts with the currency in Settings. Trips that never chose one of their own follow that setting, since their amounts are plain numbers. A trip that has picked its currency, or holds a converted cost, keeps it. The first foreign-currency cost on a trip writes the trip's currency down for good, so a later change of your setting cannot shift totals that were converted.

What goes with the trip
The three fields, the entered amount, its currency and the rate, travel with the transaction. They sync to your other devices and to the people you share the trip with. The web page, PDF and plain text exports print the same note after the details, and say what the amounts count in. And the xplit data file carries them as three optional fields on a transaction and one on a trip, so a trip moved to another account keeps its conversions.
The iPhone app takes a cost in another currency too: the amount field of a new transaction has the same currency chip, and so does the screen after a scanned bill, which starts in the currency the bill names. On the phone, a fixed share can also be typed in another currency, and it is kept in the trip's, converted as it is saved.
What it does not do
It knows fourteen currencies for now: USD, EUR, GBP, JPY, CNY, UAH, CHF, CAD, AUD, PLN, CZK, SEK, NOK and DKK. If yours is missing, say so on r/xplit and we will add it.
It does not let you type a rate of your own. The rate is always the day's rate from the feed, so that two people entering the same receipt get the same number. If the group agreed on a rate of its own, enter the amount in the trip's currency and put the original in the details.
And it does not know what your card charged you. That number is between you and your bank.