Skip to main content

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.
warning

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​

  1. Choose Accounts > Currencies > Exchange Rates Differences. The report conditions window appears.
  2. In Date, type the start and the end of the period, such as 1-1-2026 and 31-3-2026. The end date is the date of the entry you will generate.
  3. Choose Account, Customer or Cost Center if you want to limit the differences. Leave them empty to include all foreign-currency accounts.
  4. If branches are enabled, choose Branch. It is required.
  5. Leave Posted Entries selected. Select Unposted Entries if you want them included too.
  6. Click Preview. The report appears.
  7. 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​

  1. 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.

    The Exchange Differences Accounts window with the entry type, profit account and loss account

  2. In Entry Type keep Journal Entry, or choose another voucher type from the list.

  3. In Profit Account choose Exchange Differences Profit.

  4. In Loss Account choose Exchange Differences Loss. Both fields are required. The program saves your choice and suggests it next time.

  5. Click Ok.

  6. If a question about today's date appears, read it and click Yes to continue. Your answer does not change the entry date.

warning

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:

CaseForeign account lineCounter line
Positive difference (profit)DebitCredit in Profit Account
Negative difference (loss)CreditDebit 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:

AccountDebitCredit
Alwaha Bank in dollars10.00
Exchange Differences Profit10.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​

MessageWhy it appearsWhat to do
Field Is Empty: Branch Must Be SelectedBranches are enabled and you did not choose Branch in the report conditions.Choose the branch and try again.
Enter Differences AccountsProfit Account or Loss Account is empty.Choose both accounts.
There are no accounts that meet the specified conditionsThere 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 conditionsAll 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 EntryThe 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.

This page applies to alameen ERP 10, version 10.1.79.764.