---
schema_version: "1"
id: 5026e98e2e8d7537ab02f483b194e73ad51668ddfb257e949ca4a366ec56f3ec
title: Foreign Exchange Realized Gains and Losses
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/billing_foreign_exchange_realized_gains_and_losses.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.billing_foreign_exchange_realized_gains_and_losses.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c26a1b8a66e549c60be6d66f4bdc28544827f46ef4e7437a06d004f2a5569453
description: Automatically create dual transaction journals for foreign exchange gains or losses when payments and credit memos are created and applied to invoices. The invoices can be fully or partially settled. Foreign exchange gains and losses transaction journals help with income statements during corporate accounting, which ensures accurate measurement of financial performance.
products:
  - Revenue Cloud
release: "264"
---
# Foreign Exchange Realized Gains and Losses

Automatically create dual transaction journals for foreign exchange gains or losses when payments and credit memos are created and applied to invoices. The invoices can be fully or partially settled. Foreign exchange gains and losses transaction journals help with income statements during corporate accounting, which ensures accurate measurement of financial performance.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with <a href="https://help.salesforce.com/s/articleView?id=ind.revenue_licenses_areas_and_features.htm&amp;release=264.0.0&amp;type=5">the Revenue Cloud Billing license</a>. Contact your Salesforce account executive for more information.</td></tr></tbody></table>

To enable Foreign Exchange Gain or Loss calculations, your Billing admin must turn on the Create Transaction Journals for Transactions and Create Transaction Journals for Foreign Exchange Gains or Losses features, and select the realized gain, realized loss, and account receivable general ledger accounts. See [Set Up Financial Accounting Features](https://help.salesforce.com/s/articleView?id=ind.billing_setup_financial_accounting_features.htm&language=en_US).

![Warning](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-revenue-264-0-0-production-enus/91ca99c6-d5c8-4986-b961-c6b7801e0d0d/images/icon_warning.png)

Warning If you've already created transaction journals that record realized foreign exchange gains or losses, don't modify the corporate currency or the dated conversion rates. Changing these impacts the accuracy of existing transaction journals.

The foreign exchange realized gains and losses are calculated based on the difference between the corporate currency conversion rates on the invoice date and the payment's effective date. This difference amount is populated as the debit or credit amounts of the transaction journals. All the amount values for the foreign exchange realized gains and losses transaction journals are in corporate currency.

In case of partial invoice settlement, unrealized gain and loss calculations are calculated during the legal entity accounting period closure. Unrealized and reversal transaction journals are created for the remaining invoice balance. See [Legal Entity Accounting Period Closure Procedure](https://help.salesforce.com/s/articleView?id=ind.billing_legal_entity_accounting_periods_close_result.htm&release=264.0.0&type=5 "When you close legal entity accounting period, the system runs three Data Processing Engine (DPE) definitions in a sequence.")

- **[Example: Automatically Capture Foreign Exchange Realized Gains or Losses](https://help.salesforce.com/s/articleView?id=ind.billing_fgn_exch_realized_gains_losses_use_case.htm&release=264.0.0&type=5)**  
    Explore an example to understand how general ledger accounts are set up and how dual transaction journals are created when Payments or Credit Memo records are created and applied to the invoices.