taiga finance
← Glossary

Currency code

ISO 4217 code · ISO currency code

A currency code is the three-letter name a currency carries under the ISO 4217 standard: USD for the US dollar, CAD for the Canadian dollar, EUR for the euro, JPY for the Japanese yen. The standard also fixes each currency's minor unit, the number of decimals its amounts carry: two for most currencies, none for the yen.

What is a currency code?

Symbols don't settle which currency a figure is in. The dollar sign serves the US, Canadian, Australian and several other dollars, so a bank feed, a statement export or a record of accounts in two currencies names each one by its code. The code is unambiguous where the symbol is not.

The minor unit is part of the standard. Most currencies divide into a hundred parts, so their amounts carry two decimals. The yen, the Korean won and the Chilean peso have no minor unit, so 150,000 JPY is a whole figure and 150,000.50 JPY is not an amount. A handful, such as the Kuwaiti dinar, carry three.

A code is a fact about an account, not about a row. A chequing account at a Canadian bank holds Canadian dollars, so its balance and every charge on it carry CAD. A brokerage can hold a position priced in one currency inside an account kept in another, which is why an investment record carries a code for the position as well as for the account.

How a currency code works, with numbers

Three accounts show a figure of 12,340. Marked by code they are 12,340.00 USD, 12,340.00 CAD and 12,340 JPY. At reference rates of 0.7312 US dollars per Canadian dollar and 0.006712 US dollars per yen, the three are worth $12,340, $9,023 and $83 in US dollars.

The yen figure has no decimals because the yen has no minor unit, and its dollar value is small because one yen is worth less than a cent.

12,340.00 USD
$12,340
12,340.00 CAD × 0.7312
$9,023
12,340 JPY × 0.006712
$83

Why a currency code matters

An account whose currency is recorded by code is one that can't be counted as dollars by mistake. A bank feed that states the code for each balance, and a record that keeps it, is what tells a 12,340 CAD balance apart from a $12,340 one before either reaches a total.

The minor unit decides what an amount can be. A split of a yen charge into parts with decimals, or a stated yen balance of 150,000.50, isn't a figure that exists in that currency, and a record that knows the code refuses it.

Currency code in Taiga Finance

Taiga Finance records a currency code on every account. A synced account takes the code its bank feed states for the balance. A manual account takes the code picked from the menu behind the dollar sign on the Balance field when the account is created, and an imported file's code or the target account's code decides for an import. A dollar account prints with the dollar sign; any other prints its code after the digits, as in 12,340 CAD.

The code sets the decimals. A Japanese yen account's amount pad offers no decimal key, and a split of a yen transaction allocates whole yen. A code Taiga Finance has no published rate for, such as a cryptocurrency code a feed reports, is kept on the account, printed with its amounts and left out of the dollar totals.

Set or change an account's currency, in the help center →

Key takeaways: Currency code

  • A currency code is the three-letter ISO 4217 name of a currency: USD, CAD, EUR, JPY.
  • The code settles what a symbol can't, since several currencies share the dollar sign.
  • The standard also fixes the decimals: two for most currencies, none for the yen.
  • Taiga Finance records a code on every account, from the feed, the file or the currency menu, and prints a non-dollar amount with its code.

Questions about Currency code

What is a currency code?

The three-letter name a currency has under ISO 4217, such as USD, CAD or JPY. The standard also fixes how many decimals the currency's amounts carry.

Why does a yen amount have no decimals?

The yen has no minor unit under ISO 4217, so 150,000 JPY is a whole figure. In Taiga Finance a yen account's amount pad offers no decimal key.

How does Taiga Finance know an account's currency?

From the code the bank feed states for the balance, from the code in an imported file or the account it lands in, or from the currency menu behind the dollar sign when a manual account is created.

Related terms

With Taiga Finance, the whole picture is one glance away