Official and Customs Exchange Rates in Oracle Fusion Cloud and Oracle OTM/GTM
Load central-bank and customs-authority exchange rates into Oracle Fusion Cloud General Ledger with the Daily Rates FBDI import (GL_DAILY_RATES_INTERFACE) under a Customs conversion type, and into Oracle Transportation and Global Trade Management.
Oracle Fusion Cloud General Ledger stores daily rates per conversion type, and conversion
types are user-defined. That makes it straightforward to keep a Customs type (or one per
clearance country) holding the table the customs authority set, next to the Corporate or Spot type
accounting uses. Source the numbers from the customs exchange rate
API, or from any of the 124 central banks for statutory rates.
1. The Daily Rates FBDI import
- Create the conversion type (for example
Customs) in the Currency Rates Manager setup. - Download DailyRatesImportTemplate.xlsm and fill its GL_DAILY_RATES_INTERFACE tab. Do not reorder or delete columns.
- Generate the zip, upload it to the UCM account
fin/generalLedger/import, and run Load Interface File for Import. It submits Import and Calculate Daily Rates for you. - Check the result in Currency Rates Manager.
The interface takes a date range per row (FROM_CONVERSION_DATE to
TO_CONVERSION_DATE), which suits customs tables: a monthly EU customs table becomes one row
per currency valid for the whole month, a weekly Japan Customs table one row per week. Required columns:
FROM_CURRENCY, TO_CURRENCY, the two dates, USER_CONVERSION_TYPE
(the type's name, not its internal code), CONVERSION_RATE and MODE_FLAG
(I to insert or update, D to delete). Leave INVERSE_CONVERSION_RATE
blank and Oracle computes it.
import csv, requests
from datetime import date, timedelta
API = "https://allratestoday.com/api/v1/customs"
HEADERS = {"Authorization": "Bearer art_live_your_key"}
def daily_rates(country, table_date, home_ccy, valid_to, conversion_type="Customs"):
"""GL_DAILY_RATES_INTERFACE rows: foreign -> home over the table's validity range."""
t = requests.get(f"{API}/{country}/{table_date}", headers=HEADERS).json()
for r in t["rates"]:
if r["quote"] == home_ccy:
frm, rate = r["base"], r["value"]
elif r["base"] == home_ccy:
frm, rate = r["quote"], 1 / r["value"]
else:
continue
yield [frm, home_ccy, t["rate_date"], valid_to, conversion_type, round(rate, 8), "I"]
# German customs (Zoll) table for December 2026, valid the whole month
rows = list(daily_rates("DE", "2026-12-01", "EUR", "2026-12-31"))
# Paste into the GL_DAILY_RATES_INTERFACE tab of DailyRatesImportTemplate.xlsm, in the template's
# column order: FROM_CURRENCY, TO_CURRENCY, FROM_CONVERSION_DATE, TO_CONVERSION_DATE,
# USER_CONVERSION_TYPE, CONVERSION_RATE, MODE_FLAG (inverse rate left blank: Oracle calculates it). 2. Automated: ERP Integration Service
The same file can be loaded without anyone opening the template: the ERP Integration Service operations
uploadFileToUcm, submitESSJobRequest (for Load Interface File for Import) and
getESSJobStatus run it from a scheduled script or an Oracle Integration flow. Run it on the
authority's cadence; monthly EU customs tables are fixed before the month starts, so the load can run
on the last business days of the previous month.
Oracle Transportation and Global Trade Management
OTM/GTM keeps its own exchange rates under Financials > Exchange Rate Management: an
Exchange Rate record (Exchange Rate ID, domain, precision) holding
Currency Exchange Rates rows (effective date, from currency, to currency, rate). Oracle's
documentation says the rates are not supplied and must be loaded through a CSV upload or an Exchange Rate
inbound transmission. Create a separate Exchange Rate ID for customs and load the same rows into it from
the API's CSV output (?format=csv). Which Exchange Rate ID a particular GTM process uses is
configured in your instance; check it with your implementation partner.
Keep the evidence
- Use the response's
rate_dateasFROM_CONVERSION_DATE, not the run date. - Pairs not printed in the table are flagged
"derived": true; US CBP and China customs tables are built by rule and carry abasis. - Keep the downloaded CSV with the period's close or the customs entry. History is available on paid plans.
Several ledgers, several clearance countries?
Tell us where you clear goods and which conversion types you use, and we will map the sources.
Talk to us All integration guides