Revalue foreign-currency balances
At period end, open foreign-currency balances must be shown at the closing rate. Exchange Rate Revaluation calculates the new company-currency value of each foreign-currency account and the unrealized gain or loss, then creates the Journal Entry that posts it.
Example: a Euro Bank account holds EUR 1,000, recorded at 1.10. The closing rate is 1.15.
| Measure | Before | After |
|---|---|---|
| Balance in EUR | 1,000 | 1,000 |
| Rate | 1.10 | 1.15 |
| Balance in USD | 1,100 | 1,150 |
| Unrealized gain | 50 |
The foreign amount does not change. Only its company-currency value changes.
Prerequisites
- The company has balance sheet accounts in a currency other than the company currency, with a balance. See Set up multi-currency accounting.
- The company's Unrealized Exchange Gain/Loss Account is set.
- A rate for the closing date exists as a Currency Exchange record, or the provider supplies it.
- The period is open.
Create a revaluation
- Open the Exchange Rate Revaluation list and select Add Exchange Rate Revaluation.
- Enter the Posting Date (the closing date) and the Company.
- Check the Rounding Loss Allowance (default 0.05, between 0 and 1). A balance smaller than this is treated as zero.
- Select Get Entries. ERPNext adds a row for each eligible account, and for each party on receivable and payable accounts.
Check each row
Open each row and compare it with the General Ledger and the approved closing rate:
| Field | Meaning |
|---|---|
| Account, Party Type, Party | The foreign-currency account, and the party for receivables and payables |
| Balance In Account Currency | The foreign balance on the posting date |
| Balance In Base Currency | The current company-currency value |
| Current Exchange Rate | The current value divided by the foreign balance |
| New Exchange Rate | The closing rate. You can change it to the approved rate. |
| New Balance In Base Currency | The foreign balance at the new rate |
| Gain/Loss | The difference between the new and current company-currency values |
| Zero Balance | The foreign balance or the company-currency balance is zero |
The totals show Gain/Loss from Revaluation (open balances), Gain/Loss already booked (zero-balance rows), and Total Gain/Loss.
A zero-balance row is an account whose foreign balance is zero but which still has a company-currency balance, or the reverse. ERPNext clears it with a separate Journal Entry of type Exchange Gain Or Loss.
Submit and post the Journal Entries
- Save, and submit. ERPNext removes rows without a gain or loss.
- Select Create > Journal Entries. ERPNext creates the revaluation entries, posting to the Unrealized Exchange Gain/Loss Account.
- Open each Journal Entry, check the accounts, amounts, date, and reference to the revaluation, and submit it.
The revaluation itself posts nothing. Reports change only when the Journal Entries are submitted.
To reverse the entries at the start of the next period, if your policy requires it, select Create > Reversal Journal Entries.
Check the result
In the General Ledger for the foreign account on the posting date:
- the balance in the account currency is unchanged;
- the company-currency balance changed by the gain or loss;
- the other side is in the unrealized gain or loss account.
Automate revaluation
On the company, Accounts tab, in Exchange Rate Revaluation Settings:
- Auto Create Exchange Rate Revaluation: creates revaluations on a schedule.
- Frequency: Daily, Weekly, or Monthly.
- Submit ERR Journals?: submits the Journal Entries automatically. If off, they stay in draft for review.
Start with manual revaluation. Automate only when the rates, accounts, and closing process are proven.
Troubleshooting
Get Entries returns no accounts
Check that the accounts are in a foreign currency, are balance sheet accounts, have a balance on the posting date, and belong to the company.
The new exchange rate is zero or missing
Check the direction and date of the stored rates, the stale-rate settings, and the provider.
The revaluation is submitted but the ledger did not change
Create and submit the Journal Entries.
Rounding Loss Allowance should be between 0 and 1
Enter a value of at least 0 and less than 1.