Skip to main content

Exchange Rates Differences

This report answers one question: by how much has the value of foreign-currency account balances changed, in the base currency, because the exchange rate changed between the day the transaction was recorded and the last day of the period. It covers only accounts whose currency is not the base currency. You generate the exchange differences entry from it. For the idea, see Currencies and exchange differences. For the steps, see Generate the exchange differences entry.

Opening the report​

  1. Open the Accounts tab of the ribbon.
  2. In the Currencies group, click Exchange Rates Differences.

The Currencies group appears when your licence allows extended reports or more than one currency. The report needs the Exchange Rates Differences permission in Users Management > Reports.

For the conditions window and the viewer, see Report parameter forms and Report viewer.

The conditions window of the Exchange Rates Differences report

Parameters​

The parameters are listed in the order they appear in the window.

ParameterMeaningDefaultEffect
AccountLimits the report to one account.Empty, that is all foreign-currency accounts.Includes the chosen account and its sub accounts.
CustomerLimits the report to a customer of the account.Empty.The customer list is limited to the customers of the chosen account. If the account has one customer, it is chosen automatically. If it has none, the field is disabled. Choosing a customer chooses its account.
Cost CenterLimits the report to the lines of a cost center.Empty.Includes the center and its sub centers. It is also put on the lines of the generated entry.
BranchLimits the report to a branch.Empty.Appears when branches are enabled, and is then required.
DateThe start and the end of the period.From the first day of the current month, or from the first day of the financial period when the program option "Start Date" is beginning date is on, to today.The report reads the lines dated within the period. The end of the period is the day whose rate values the balance, and it is the date of the generated entry.
Posted EntriesIncludes posted entries.Selected.Either this option or Unposted Entries must stay selected.
Unposted EntriesIncludes unposted entries.Not selected.Either this option or Posted Entries must stay selected.
Accounts By EntriesShows the details of each account voucher by voucher.Not selected.Adds a detail grid under each account. It enables Only Entries With Exchange Differences.
Only Entries With Exchange DifferencesHides the vouchers whose difference is zero from the details.Not selected, and disabled until you select Accounts By Entries.Affects the detail grid only.

In the conditions window, the options Accounts By Entries and Only Entries With Exchange Differences may appear under the headings Handle and Detail of the options list, or on the Options tab, depending on the window layout you use.

Buttons in the conditions window​

ButtonWhat it does
PreviewShows the report. If branches are enabled and you did not choose the branch, a message appears and the report is not shown.
SummariesShows one row with the totals of Debit, Credit, Balance and Total Difference.
PrintPrints the report.
ExportExports the report.
Generate EntryOpens the Exchange Differences Accounts window. It is also on the Operations page of the viewer.
CancelCloses the window.

Columns​

Main grid​

The Exchange Rates Differences report showing a dollar account and its difference

One row per account. If the account has customers, one row per customer.

ColumnMeaning and how it is calculated
AccountThe account code and name.
CustomerThe customer name, if any.
DebitThe sum of the debit of the period lines in the base currency.
CreditThe sum of the credit of the period lines in the base currency.
BalanceDebit minus Credit in the base currency, as recorded at the rates of their days.
Total DifferenceThe value of the foreign balance at the rate of the end of the period, minus Balance. Positive is a profit and negative is a loss.

Extra hidden columns that you can show from the field list: Account Code, Account Name and Currency.

The account row is shown in the credit rows style when Total Difference is negative. The columns Debit, Credit, Balance and Total Difference show totals at the bottom of the grid.

Detail grid​

It appears under each account only if you select Accounts By Entries (under the heading Detail). That option is off by default. While it is off, the account rows have no arrow and no detail rows, and only the main grid is shown.

ColumnMeaning and how it is calculated
Entry NumberThe voucher number.
DateThe voucher date.
Entry originThis column is empty. To see the document use the commands of the row menu.
DebitThe line debit in the base currency.
CreditThe line credit in the base currency.
By Account CurrencyThe line amount in the account currency. A hidden column by default.
DifferenceThe difference of this line: its foreign amount at the rate of the end of the period minus its base amount.
DifferenceThe running total of the differences up to this line, ordered by date and then by voucher number.

The last two columns have the same name, Difference, in the viewer. The first is for one line and the second is cumulative.

Right-click a row in the main grid or in the detail grid. Double-clicking a row runs the last command you used from this menu, or the first command in it if you have not used one.

GridCommandWhat it does
MainView Account Card...Opens the account card.
MainView Ledger...Opens the ledger of the account. It appears for users who have the ledger permission.
DetailView Entry...Opens the voucher.
DetailView Bill...Opens the bill. It appears for a voucher that came from a bill.
DetailView Voucher...Opens the voucher. It appears for a voucher that came from a receipt or payment voucher.
DetailView Commercial Paper...Opens the paper. It appears for a voucher that came from a commercial paper.

How the difference is calculated​

For each line of the account in the period:

  1. The base amount is the line debit minus its credit, in the base currency.
  2. The foreign amount is the base amount divided by the rate of the line itself if the line is in the account currency. If the line is in another currency, it is divided by the rate of the account currency on the line date, from the Exchange Rates Table.

Then, for the whole account:

  • Balance = the sum of the base amounts.
  • Foreign balance = the sum of the foreign amounts.
  • End rate = the latest rate of the account currency saved in the table on the last day of the period or before. If no rate is saved, the current rate from the Exchange Rates window.
  • Total Difference = foreign balance × end rate − balance.

Worked example​

The Alwaha Bank dollar account, from 1/1/2026 to 31/3/2026. The dollar rate is 3.75 from 1/1/2026 and 3.76 from 1/3/2026.

StepValue
Receipt voucher on 5/2/2026: 1,000 dollars at 3.75Debit 3,750 riyals
Debit / Credit / Balance3,750 / 0 / 3,750
Foreign balance3,750 ÷ 3.75 = 1,000 dollars
End rate on 31/3/20263.76
Foreign balance at the end rate1,000 × 3.76 = 3,760
Total Difference3,760 − 3,750 = +10

The difference is positive, so it is a profit of 10 riyals. When you generate the entry, the bank account is debited and Profit Account is credited.

The report header shows Account, Customer, Cost Center and the period.

Desktop tile​

You can show this report as a tile on the desktop. The tile shows Debit, Credit and Total Difference. The tile conditions are Account, Customer, Cost Center, Branch and the period. Branch is required, and the default period is this year to date. See Add a tile to the desktop.

Generating the entry​

The Generate Entry button turns the differences of the report into one entry. If you showed the report first, the entry uses the displayed result. Otherwise the program recalculates from the conditions in the window.

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.

The entry includes only accounts whose difference is greater than 0.0009. See Generate the exchange differences entry for the steps and the example.

Exchange Differences Accounts window​

It opens when you click Generate Entry, after the branch check if branches are enabled.

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

FieldDescriptionRequiredValues and rules
Entry TypeThe type of voucher that is generated.YesThe default is Journal Entry. The list holds the voucher types that have no default account, except the opening entry.
Profit AccountThe account credited when the difference is positive.YesA detailed account. The program suggests the last account you used.
Loss AccountThe account debited when the difference is negative.YesA detailed account. The program suggests the last account you used.
ButtonWhat it does
OkChecks the two accounts, saves them as the suggestion for next time, then generates the entry and opens it.
CancelCloses the window without generating.

Messages​

MessageWhy it appearsWhat to do
Field Is Empty: Branch Must Be SelectedBranches are enabled and you did not choose Branch, at Preview or Generate Entry.Choose the branch.
Enter Differences AccountsProfit Account or Loss Account is empty.Choose both accounts.
There are no accounts that meet the specified conditionsNo foreign-currency account has movement within the conditions and the period.Change the conditions.
There are no differences in the specified conditionsAll differences are below 0.0009.Check the rate of the last day, 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 or No.
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 or No.
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 or No.
Error In Generating EntryThe entry could not be saved, so the program undid everything. It appears in English in every language.Try again or contact support.
Unexpected error when getting dataThe differences could not be calculated from the database. It appears in English in every language.Try again or contact support.

This page applies to alameen ERP 10, version 10.1.79.764.