Welcome to Gravity Help
Appendix

Gravity Foreign Currency Implementation

FX Overview

Gravity supports foreign currencies throughout the application and has integration to the Open Exchange Rates service (https://openexchangerates.org) for providing daily FX rates. In the General Ledger Gravity has the following Currency Structure:

  1. Functional Currency – the currency the transaction took place in. (Functional Debit/Credit)
  2. Home Currency – The entities natural currency for managing transactions. (Debit/Credit)
  3. Organizational Currency -The currency used for consolidations of multiple entities. This currency is also known as the database currency. (Debit_Orbase/Credit_Orbase)

In the Gravity subledgers (Revenue/Expenses/Investments) we maintain the following currencies:

  1. Functional Currency – the currency the transaction took place in.
  2. Home Currency – The entities natural currency for managing transactions.

Gravities Inventory is maintained in the entities’ home currency only.

FX Rates and Translations

Gravity maintains the exchange rates in the Currency Exchange Rate table found in the System Settings area. This table can be automatically updated using the Open Exchange Rate Service or manually updated. The appropriate exchange rate will be applied to a new transaction based on the transaction’s Apply Date and the most recent exchange rate record based on its Effective Date that is before the Apply Date.

On transactions the exchange rate can be manually overridden to match a rate used by an outside agency or financial institution.

Gains and Losses from FX fluctuations.

Realized gains or losses are automatically calculated and recorded in the general ledger when transactions are settled. For example, a €100 Voucher with a 1.2 FX rate to USD will generate a $20 gain when a payment is made with an FX rate of 1.4.

Unrealized gains and losses are based on unsettled transaction at the end of the period and the FX rate has changed from the posting of the transaction to the end of the period. Unrealized gains and losses are available in a report that can be run by currency at the end of the period. Users can elect to record or not record the unrealized gain or loss. It is usually books as a reversing Journal Entry as it gets recalculated at the end of the next period.

Transaction Settlement and Bank Accounts

Bank Accounts can be declared in the entity’s home currency or in another currency. When using an alternative currency, the transaction involving the bank account must be that bank accounts declared currency. For example: in a USD company a bank account declared in CAD can only be used for CAD transactions. A bank account in the home currency can support transactions in the home currency and other currencies as long as FX rates are available.

Note: Gravity does not support FX triangulation. Example: In a USD entity, a CAD invoice cannot be paid in Euros. It must be paid in USD or CAD depending on the bank account used.

A bank account in the home currency can support transactions in other currencies if only one currency is applied to a transaction batch. Select Check payment batches must have Vouchers with the same currency. Example: In a USD entity as Select Check batch can be created for CAD payments, but the batch can only contain CAD vouchers.

Bank Reconciliations

Bank Accounts will be reconciled in their declared currency. A CAD bank account will be reconciled in CAD.

Importing GL history with multiple currencies.

When importing General Ledger journal history, it is important to manage the transactions currencies and FX rates to match the original system. To import history with multiple currencies you must use the Microsoft platform import where both a JE header record and JE lines are created separately, zipped together, and imported.

During the import Gravity will calculate the Organizational and Functional debit and credit values using the Gravity Exchange Rate and Functional Rates respectively in the Journal Entry header record. These values should not be imported as they will be calculated by Gravity.

Key fields during the import:

  • Journal Entry Header
    • Functional Currency - currency that the transaction took place in
    • Functional Rate – FX rate of the functional currency to the entity home currency
    • Currency – the home currency of the entity.
    • Gravity Exchange Rate – FX Rate between the Home currency and the Organizational Currency
    • Organizational Base Currency – this is the currency user for organizational consolidations.
    • Exchange Rate – not used by Gravity (This is a Microsoft field)
  • Journal Entry Line Items
    • Debit/Credit – this is the entities home currency value.
    • Values created but not imported.
      • Debit_OrBase/Credit_OrBase – these are the values translated into the Organizational currency.
      • Functional Debit/Functional Credit – these are the values translated into the functional currency
      • Functional Currency – The functional currency of the transaction.

Note: Fields that are listed as XXXXX (Base) are created by Microsoft and ignored by Gravity.

Import Example:

Paramaters

  • Entity = Enterprise
  • Home Currency = Euro FX = 1.22
  • Organizational Currency = USD
  • Function Currency = Pound Sterling FX = 2

Journal Entry Header Record

Transaction ID

Entity Code

Entry Date

Apply Date

Journal Description

Functional Currency

Functional Rate

Organizational Base Currency

Gravity Exchange Rate

Currency

1

Enterprise

8/1/2023

8/1/2023

Imported JE

Pound Sterling

2

US Dollar

1.22

Euro

Journal Lines

Journal ID

Entity Code

Destination Company

Account Number

Debit

Credit

1

Enterprise

Enterprise

4100-0000

50



1

Enterprise

Enterprise

1160-0000



50

Gravity limits the functional debit/credit on accounts tied to bank account records to the currency of the bank account record. A Euro bank account tied to GL account 1200 in a USD entity will force the functional values to account 1200 to be in Euros only. This is because the Functional currency is used in the bank reconciliation and in this example will be performed in Euros.

Gravity will Calculate the Organizational Debit/Credit and the Functional Debit/Credit from the associated FX rates as shown below.

Imported Journal Entry Lines -

Journal ID

Entity Code

Destination Company

Account Number

Debit

Credit

Debit_OrBase

Credit_OrBase

Functional Debit

Functional Credit

Functional Currency

JE-14843

Enterprise

Enterprise

4100-0000

50.00

 

61.00

 

25.00

 

Pound Sterling

JE-14843

Enterprise

Enterprise

1160-0000

 

50.00

 

61.00

 

25.00

Pound Sterling