Official and Customs Exchange Rates in CargoWise: What Is Public and How to Load Them
How CargoWise handles exchange rate types and sources, where official customs and central-bank rates fit, the Native XML exchange-rate object seen in a public eAdapter schema copy, and how to check customs rates against the official table.
CargoWise documents most of its integration detail (eAdaptor, Universal and Native XML) for customers and partners only. This page sticks to what is public, says where a statement comes from, and shows how the official customs exchange rates and central bank rates fit. Confirm the integration details against WiseTech's current documentation before you build.
Rate types and sources in CargoWise
WiseTech's own accounting release notes say exchange rates come in types and sources: "you can choose different exchange rate sources for different currencies", and you "can set custom exchange rates (like C01) for USD, CAD, and GBP for a specific debtor, while the default exchange rate (e.g., BUY) applies to all other currencies". Those rules apply to job charges, invoices and credit adjustments.
That structure is where official rates go: a custom rate type holding a central bank's or tax authority's table, used for the debtors or currencies whose contracts or tax rules name that rate, next to the default commercial rate.
Customs declarations
For customs, CargoWise converts at the rate for the valuation date. Its August 2024 customs update describes converting the FOB amount "using the exchange rate on the valuation date". WiseTech does not publish where each country's customs rates come from. In Australia the Australian Border Force distributes its rates to ICS software as an exchange rate reference file, and in the US CBP distributes them to ABI filers through ACE. Those are the same official rates the API serves as abf and cbp.
Use the API to check a customs rate CargoWise applied, for any covered clearance country and date, or to supply rates for countries your setup does not receive automatically:
import requests
API = "https://allratestoday.com/api/v1/customs"
HEADERS = {"Authorization": "Bearer art_live_your_key"}
def official_rows(country, date, home_ccy):
"""Official customs rates for a clearance country, as home currency per 1 foreign unit."""
t = requests.get(f"{API}/{country}/{date}", headers=HEADERS, timeout=10).json()
for r in t["rates"]:
if r["quote"] == home_ccy:
yield {"currency": r["base"], "rate": r["value"], "start": t["rate_date"], "type": r["type"]}
elif r["base"] == home_ccy:
yield {"currency": r["quote"], "rate": 1 / r["value"], "start": t["rate_date"], "type": r["type"]}
rows = list(official_rows("AU", "2026-11-25", "AUD")) Loading rates by XML
A public, third-party copy of the CargoWise One eAdapter schemas on GitHub (not published by WiseTech,
dated 2019 to 2020) includes a Native XML CurrencyExchangeRate object with a
RefExchangeRate record. Its fields include ExRateType, StartDate,
ExpiryDate, SellRate, RefCurrency/Code and
GlbCompany/Code. The mapping from an API response would be:
| CargoWise field (schema copy) | From the API |
|---|---|
ExRateType | Your rate type code for the official table (for example a custom code) |
RefCurrency/Code | The foreign currency of each row |
SellRate | The rate, in the direction your CargoWise company expects |
StartDate | rate_date of the table (or in_force_from from /next) |
ExpiryDate | The day before the next table starts, if your setup needs one |
GlbCompany/Code | The CargoWise company the rates belong to |
Treat this as a starting point only. The schema copy may be out of date, and the transport (eAdaptor
endpoint, authentication, message envelope) is in WiseTech's gated documentation. Your CargoWise partner or
WiseTech support can confirm the current object and whether your licence allows inbound rate updates. If
your setup imports rate files instead, every endpoint also returns format=csv,
xml or xlsx.
Notes
- Store the table's
rate_dateas the start date, not the load date. - Many customs tables are fixed before their period:
/api/v1/customs/{country}/next(paid plans) returns them early, so the rate can be in CargoWise before the first entry of the period. - For the date rules, export rates and the audit record, see the customs filing software guide.
A CargoWise partner or forwarder?
Tell us your clearance countries and how your instance takes rates, and we will set up the feed.
Talk to us All integration guides