Generate the exchange differences entry
Here you calculate the exchange differences on foreign-currency account balances for a given period, then generate one entry that records them in a profit account and a loss account. To understand why the differences appear, see Currencies and exchange differences.
Before you begin
- Save the currency rates in the Exchange Rates Table, especially the rate of the last day of the period. See Enter exchange rates.
- Create an account for exchange differences profit and another for exchange differences loss. Each must be a detailed account. In the sample data: Exchange Differences Profit and Exchange Differences Loss.
- You need permission to enter the voucher type you will choose, and the Exchange Rates Differences report permission in Users Management > Reports.
- The report calculates foreign-currency accounts only, that is, accounts whose currency is not the base currency.
The report calculates the difference from the movement of the period you choose. Start the period at the beginning of the financial period, or the earlier movement is not counted.
Steps
Review the differences
- Choose Accounts > Currencies > Exchange Rates Differences. The report conditions window appears.
- In Date, type the start and the end of the period, such as
1-1-2026and31-3-2026. The end date is the date of the entry you will generate. - Choose Account, Customer or Cost Center if you want to limit the differences. Leave them empty to include all foreign-currency accounts.
- If branches are enabled, choose Branch. It is required.
- Leave Posted Entries selected. Select Unposted Entries if you want them included too.
- Click Preview. The report appears.
- Check the Total Difference column of each account: positive is a profit, negative is a loss. Select Accounts By Entries before you preview if you want to see the difference of each entry.
Generate the entry
-
Click Generate Entry. You find it on the Operations page of the report viewer, and in the conditions window before you preview. The Exchange Differences Accounts window opens.

-
In Entry Type keep Journal Entry, or choose another voucher type from the list.
-
In Profit Account choose
Exchange Differences Profit. -
In Loss Account choose
Exchange Differences Loss. Both fields are required. The program saves your choice and suggests it next time. -
Click Ok.
-
If a question about today's date appears, read it and click Yes to continue. Your answer does not change the entry date.
Do not click Generate Entry again in the same viewer before you refresh the report, or a second entry with the same amounts is created.
Result
The program generates one entry in the base currency at rate 1, and opens it for you:
- Entry date: the end date of the period you chose.
- Notes: "Exchange rates difference Entry", on the entry and on every line.
- Posting: an entry of type Journal Entry is posted automatically. For other types it follows the type.
- Cost Center: the value you chose in the report conditions, on every line. The entry branch is the Branch you chose there.
For each account with a nonzero difference, the program adds two lines with the amount of the difference:
| Case | Foreign account line | Counter line |
|---|---|---|
| Positive difference (profit) | Debit | Credit in Profit Account |
| Negative difference (loss) | Credit | Debit in Loss Account |
The program ignores accounts whose difference does not exceed 0.0009.
The foreign account line carries the account currency at a very large rate, so its foreign amount is practically zero. This is how the entry changes the balance in the base currency and not the foreign balance.
Example from the Alwaha data, for a dollar bank account that holds 1,000 dollars recorded at 3.75, with the end-of-March rate 3.76:
| Account | Debit | Credit |
|---|---|---|
| Alwaha Bank in dollars | 10.00 | |
| Exchange Differences Profit | 10.00 |
After the entry, the account balance is 3,760 riyals and its foreign balance stays 1,000 dollars. If the account were a liability of the company, such as a dollar supplier with a credit balance of 2,000 dollars recorded at 7,500 riyals, the rate 3.76 raises its value to 7,520. The difference is -20, a loss: 20 is debited to Exchange Differences Loss and 20 is credited to the supplier account.
If you run the same report for the same period after generating, no difference should appear, and you get the message "There are no differences in the specified conditions".
If something goes wrong
| Message | Why it appears | What to do |
|---|---|---|
| Field Is Empty: Branch Must Be Selected | Branches are enabled and you did not choose Branch in the report conditions. | Choose the branch and try again. |
| Enter Differences Accounts | Profit Account or Loss Account is empty. | Choose both accounts. |
| There are no accounts that meet the specified conditions | There are no foreign-currency accounts within the conditions and period. | Change the account, the period or the conditions. |
| There are no differences in the specified conditions | All differences are zero or below 0.0009. | Check that the rate of the last day of the period is saved, or change the period. |
| Today's date is later to the ending date. Do you want to generate entry voucher? | Today is after the end of the financial period. | Click Yes to continue or No to cancel. |
| Today's date is prior to the lock date of operations. Do you want to generate entry? | Today is before the lock date of operations. | Click Yes to continue or No to cancel. |
| Today's date is prior to the opening date. Do you want to generate entry voucher? | It appears after the previous question when the lock date is before the start of the financial period. Your answer does not change the entry date. | Click Yes to continue or No to cancel. |
| Error In Generating Entry | The entry could not be saved, so the program undid everything. It appears in English in every language. | Try again. If it happens again, contact support. |
Related
This page applies to alameen ERP 10, version 10.1.79.764.