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
- The last day is a holiday. If the central bank did not publish on the 31st, the rate in force is the last one it did publish. A "rate for date" lookup must fall back, not fail.
- Different entities, different banks. A group with subsidiaries in five countries may need five central banks' tables for the same close.
- Time zones. The close runs before some banks have published. The job has to wait or re-run.
- Audit trail. Auditors ask which table and which publication date each rate came from.
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
- Write down, per entity, which publisher and rate type the policy names.
- Fetch the table for the period-end date after the publisher's usual publication time.
- Keep the returned publication date with the journal for the audit file.
- Re-run if a correction is published; some banks amend tables.
More on period-end rates for finance teams: month-end closing rates.