Month-end revaluation with official closing rates

At every period close, open foreign-currency balances (receivables, payables, bank accounts, intercompany loans) are restated at the closing rate. The difference goes to unrealised FX gain or loss. Most accounting policies, and many local GAAPs, say which closing rate to use: usually the central bank rate for the last business day of the period.

The usual problems

Fetching the closing table

Ask for the table in force on the period-end date. The response states the actual publication date, so a holiday fallback is visible:

curl -H "Authorization: Bearer $ALLRATES_KEY"   https://allratestoday.com/api/v1/central-bank/ecb/2026-11-30

Run it once per entity, store rate_date with each rate, and post the revaluation journal from that.

Checklist

  1. Write down, per entity, which publisher and rate type the policy names.
  2. Fetch the table for the period-end date after the publisher's usual publication time.
  3. Keep the returned publication date with the journal for the audit file.
  4. Re-run if a correction is published; some banks amend tables.

More on period-end rates for finance teams: month-end closing rates.