Skip to main content

Currency revaluation (administration)

Period-end revaluation of receivables and payables still open in a currency other than the company's own. Always available: it is part of the ledger, which is base product, and it has nothing to do for a company that only trades in its own currency.

What it reads​

ThingWhereWhat it does here
Company currencySetting locale.currencyWhich documents count as foreign, and the currency every figure is in.
Exchange ratesAccounting → Exchange rates, per companyThe rate in force on the date: the most recent rate on or before it, or the inverse of the opposite pair. A currency with no rate refuses the run, by name.
Fiscal calendarFiscal periodsWhere the next period starts (the reversal date), and whether either date may be posted to. With no calendar, the reversal is on the first of the next month.
Dates outside the calendarFiscalAs for every posting: refused once the company has any fiscal year.
Account role fx_unrealised_gain_lossFinance → Account mappingWhere the gain or loss posts. Income-type. New companies get account 4800 Unrealised exchange gain/loss; an existing company must choose one before the first run.
Account roles receivable, payable (or a customer's or supplier's own role)As frozen on each documentThe other side of the journal.
AppsSales, PurchasingInvoices are restated only where Sales is on, bills only where Purchasing is.
A bill's own ratevendor_bills.exchange_rateWhat a supplier bill is carried at. Bills store their rate as invoices do; a bill that somehow has none is carried at the rate its journal booked, and one with neither is left out.

Balances in other currencies (A7 F1)​

A run also restates balances, not only open documents:

ThingWhereWhat it does
Foreign bank accountsBanking → Bank accounts, any account whose currency is not the company'sThe balance of the bank account's ledger account in that currency is restated; the difference posts to that ledger account. Only with the Banking app on.
Accounts revalued in a currencyFinance → Chart of accounts, column Revalued in (asset and liability accounts only)Only the account's lines in that currency are restated; the difference posts to the account.
Setting fx_revaluation.include_bank_accountsSettings → AccountingDefault on. Off leaves bank accounts at their booked rates.
Setting fx_revaluation.include_monetary_accountsSettings → AccountingDefault on. Off ignores every Revalued in flag at once.
Account roles fx_revalued_asset, fx_revalued_liabilityFinance → Account mappingOptional, and never need mapping: the run names the account itself. They only say what the line means.

A balance's carried value is what its lines in that currency were booked at, so the run's automatic reversal keeps it right from period to period, as for documents. An account found by both sources is restated once.

The rate​

The run uses the closing rate (RateType.CLOSING) taking effect inside the run's period (or month, with no calendar). Where there is none it uses the spot rate in force, lists the currency in the preview's spot fallback notice, and records rate_type on each line, so the history shows which was used. The morning rate job writes each month's closing rate from the daily rates; see Exchange rates.

Permissions​

PermissionGranted toAllows
fx_revaluation.readManager, AccountingThe preview and the history of runs.
fx_revaluation.runAccountingRunning a revaluation. Marked consequential: it posts a journal with no document behind it, the same line journal.post draws.

Running again for a period replaces the run in force; that needs only fx_revaluation.run, because cancelling a run's own journals is part of running it.

Exchange rates have their own permissions: exchange_rate.read (Manager, Accounting) and exchange_rate.manage (Accounting) — adding, correcting a rate nothing has used, and importing them (which also needs data.import).

  • Map fx_unrealised_gain_loss to an income account below operating income if your chart separates them; the starter chart puts it at 4800 beside other income.
  • Enter rates for each period end you will revalue at, so the rate on file is the period-end rate rather than an older one.

Interactions​

  • Receivables reconciliation compares the subledger with the receivables account. Between a revaluation date and its reversal the account carries the revaluation, so it shows as a difference in that window — the expected reconciling item at a period end.
  • Closing a period after a revaluation is safe: the revaluation is dated in the closing period, its reversal in the next one. Closing the next period before running refuses the run.

Foreign-currency bills, payments and receipts​

Supplier bills, supplier payments and customer receipts in another currency post through the same rules as invoices: each carries a rate, its value in the company's currency, and the date a looked-up rate took effect.

ThingWhereWhat it does
Exchange ratesAccounting → Exchange ratesThe rate a draft bill or customer invoice (as of its invoice date), payment (as of the day paid), receipt (as of the day received) or purchase delivery (as of the day it arrived, read when it posts) is filled in with. With none on file, a bill cannot be submitted and a payment or receipt cannot be posted; the refusal names the pair and the date. Nothing is ever guessed.
A typed rateOn the draftAnybody who may key the document (vendor_bill.manage, vendor_payment.manage, customer_receipt.manage) may type the rate the bank used, or put the table's back. Audited as purchasing.bill_rate_set, purchasing.payment_rate_set and sales.receipt_rate_set, with the rate before and after. Draft only.
Account role fx_realised_gain_lossFinance → Account mappingWhere the realised difference posts when a payment, receipt or credit settles a document at a different rate from the one it was booked at. Income-type. New companies get 4810 Realised exchange gain/loss; an existing company gets it from Add the missing standard accounts, or chooses its own. Posting a payment that realises a difference is refused until it is mapped.
Account role roundingFinance → Account mappingA foreign bill converts each line and the total once each; the minor-unit difference between them, if any, posts here.

How realised differences are measured. A document is relieved at the value it was booked at — its own rate — share by share, so its settlements add up to exactly its booked value. Cash moves at the payment's own rate. The difference is realised gain or loss. Money left on account sits at the payment's rate. Because every revaluation reverses itself on the first day of the next period, realised differences always measure from the original rate.

Recommended setup. Keep realised and unrealised differences on two accounts (the starter chart's 4810 and 4800) so the period-end restatement and what was actually made or lost are reported apart.

Deliveries. A delivery against a foreign purchase order is valued in the company's currency at the rate in force on the day it arrived: cost layers and the received-not-invoiced accrual are in base. A bill against it relieves the accrual at the delivery's rate; the rest of its base value (price and rate difference together) is placed by costing like any price difference — stock still on hand, cost of sales for what has gone, purchase price variance for a standard-costed item.

Invoices look their rate up as foreign bills do (typed rates still win), and may be retyped on a draft (customer_invoice.manage, audited as sales.invoice_rate_set).

A delivery's rate can be typed on the draft by anybody with purchase_receipt.manage (audited as purchasing.receipt_rate_set); posting keeps a typed rate and otherwise re-reads the table.

Excise and landed costs. Excise on a foreign delivery is assessed on its base value at the delivery's rate; landed costs (always in the company's currency) attach to foreign deliveries, spread by value in base.

Returns. A return of foreign goods takes the rate in force on its date (refused if none). The goods leave at their cost-layer value in base. A credit drafted from the return carries the return's rate and names each return line; posting it relieves the accrual at exactly what the goods left at, and puts the rest of the credit's base value (price and rate together) to purchase price variance — the accrual and payables come out exact.