---
title: "Journal entry for a realized foreign exchange gain or loss"
description: "Book a foreign-currency invoice at the rate on the invoice date. When it is collected at a different rate, debit Cash for the dollars received, credit Accounts receivable for the dollars originally booked, and book the difference as a realized foreign exchange gain or loss."
canonical: "https://lopifi.com/journal-entries/realized-fx-gain-loss"
---

# Journal entry for a realized foreign exchange gain or loss

> Book a foreign-currency invoice at the rate on the invoice date. When it is collected at a different rate, debit Cash for the dollars received, credit Accounts receivable for the dollars originally booked, and book the difference as a realized foreign exchange gain or loss.

Source: https://lopifi.com/journal-entries/realized-fx-gain-loss
Part of: Lopifi — Your VC tech stack partner (https://lopifi.com)

---

- **Booked at:** 1.0850 = $21,700
- **Collected at:** 1.0720 = $21,440
- **Realized loss:** $260
- **Entity:** Illustrative company
- **Basis:** Accrual
- **Currency:** USD
- **Period:** April – May 2026

## The worked example

A US company invoices a German customer 20,000.00 EUR when the rate is 1.0850 USD per euro, booking $21,700. The customer pays when the rate is 1.0720, so $21,440 arrives, a $260 realized loss.

### JE-1 · Transaction · April 1, 2026

Invoice the customer in euros.

| Account | Debit | Credit |
| --- | ---: | ---: |
| 1100 Accounts receivable | $21,700.00 |  |
| 4000 Revenue |  | $21,700.00 |
| Total | $21,700.00 | $21,700.00 |

### JE-2 · Transaction · May 1, 2026

Collect the euros and convert.

| Account | Debit | Credit |
| --- | ---: | ---: |
| 1000 Cash | $21,440.00 |  |
| 7100 Foreign exchange loss | $260.00 |  |
| 1100 Accounts receivable |  | $21,700.00 |
| Total | $21,700.00 | $21,700.00 |

## What the entries do to the accounts

Every entry above posted to the ledger, starting from zero balances: the net debit or credit each account is left with. Debits equal credits, so the books still balance.

| Account | Debit | Credit |
| --- | ---: | ---: |
| 1000 Cash | $21,440.00 |  |
| 4000 Revenue |  | $21,700.00 |
| 7100 Foreign exchange loss | $260.00 |  |
| Totals | $21,700.00 | $21,700.00 |

## Why it is booked this way

Revenue is fixed in dollars on the day it is earned. The receivable is in euros, and its dollar value moves with the rate until it is settled; that movement is a financing effect, not a change in what was sold.

On settlement the receivable is removed at the dollars it was booked at, the cash is recorded at what arrived, and the difference is realized.

## Common mistakes

- Booking the collected dollars to revenue, so revenue moves with the exchange rate after the sale.
- Re-booking the invoice at the payment date's rate instead of recognizing a gain or loss.

## Questions

### Where does an FX gain or loss go?

Below operating income, in other income or expense, unless the company's policy presents operating FX within operations. It is not revenue.

### Which rate do I book the invoice at?

The spot rate on the transaction date, or an average rate for the period if rates did not move materially.

## Terms on this page

- [Realized FX gain or loss](https://lopifi.com/md/glossary/realized-fx-gain-or-loss): The exchange difference crystallized when a foreign-currency item is settled — settlement-date rate versus the rate it was last carried at
- [Functional currency](https://lopifi.com/md/glossary/functional-currency): The currency of the primary economic environment in which the entity generates and spends cash — a judgment from cash-flow, sales-price, expense and financing indicators
- [Transaction currency](https://lopifi.com/md/glossary/transaction-currency): The currency a single transaction is denominated in — the invoice's currency, which may differ from the entity's functional currency
- [Monetary item](https://lopifi.com/md/glossary/monetary-item): A balance fixed in currency units — cash, receivables, payables, debt — and therefore remeasured when exchange rates move; inventory, prepaids and PP&E are non-monetary
- [Remeasurement](https://lopifi.com/md/glossary/remeasurement): Restating foreign-currency monetary balances, or books kept in a currency other than the functional one, into the functional currency — differences go to the P&L

## Work with this entry

- [FX conversion & gain/loss](https://lopifi.com/md/tools/fx): Convert at your policy rate and measure the FX gain or loss.
- [Wise, explained for founders](https://lopifi.com/md/integrations/wise): Balances in several currencies, mostly used to pay people and vendors abroad.
- [Realized FX gain or loss vs unrealized FX gain or loss](https://lopifi.com/md/differences/realized-vs-unrealized-fx-gain-loss): An unrealized FX gain or loss is the paper change on a foreign-currency item still open at a balance-sheet date. When the item settles, the gain or loss is realized. Under ASC 830 both run through the P&L.
- [Functional currency vs presentation currency](https://lopifi.com/md/differences/functional-currency-vs-presentation-currency): An entity keeps its books in its functional currency, the currency of the economic environment it operates in. Presentation currency is the one its financial statements are reported in, and the two part ways when a group consolidates foreign subsidiaries.
- [Journal entry for an unrealized FX revaluation](https://lopifi.com/md/journal-entries/unrealized-fx-revaluation): At each month-end, remeasure open foreign-currency receivables and payables at the closing rate: debit the receivable and credit Foreign exchange gain when the dollar value has risen, or the reverse for a loss. The gain is unrealized until the item settles.
- [Journal entry for a sale on account](https://lopifi.com/md/journal-entries/sale-on-account): For a sale on credit, debit Accounts receivable and credit Revenue for the price; under a perpetual inventory system also debit Cost of goods sold and credit Inventory for what the goods cost. When the customer pays, debit Cash and credit Accounts receivable.
- [Journal entry for a Stripe payout](https://lopifi.com/md/journal-entries/stripe-payout): Book charges gross: debit Stripe clearing and credit Revenue for every charge, and debit Sales returns and allowances and credit Stripe clearing for refunds. When the payout lands, debit Cash for the payout and Merchant fees for the fees, and credit Stripe clearing, which should then be zero.

*An illustrative company, not anyone’s real books. Every figure on this page is computed from the inputs in the example and posted by the same functions as the [journal entry balancer](https://lopifi.com/md/tools/journal). General information, not tax, legal or accounting advice. Check with a CPA before you act on it.*
