---
title: "Official and Customs Exchange Rates in CargoWise: What Is Public and How to Load Them"
description: "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."
canonical: https://allratestoday.com/docs/integrations/cargowise/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-25T17:22:07.660Z
---

# 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.

By [Madhushan](https://allratestoday.com/authors/madhushan/), Founder & Lead Developer · Updated 25 Nov 2026

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](https://allratestoday.com/customs-exchange-rate-api/) and [central bank rates](https://allratestoday.com/central-bank-rates-api/) 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](https://cargowise.com/news/enhancing-financial-efficiency-a-look-at-cargowises-latest-accounting-features/) 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](https://cargowise.com/news/whats-new-in-cargowise-customs-august-2024/) 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](https://www.abf.gov.au/help-and-support/ics/integrated-cargo-system-%28ics%29/software-developers/reference-materials/reference-files/exchange-rate), and in the US CBP distributes them to ABI filers through ACE. Those are the same official rates the API serves as [abf](https://allratestoday.com/tax-authority-rates-api/abf/) and [cbp](https://allratestoday.com/tax-authority-rates-api/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`.

## Open-source connector

[cargowise-official-exchange-rates](https://github.com/AllRates-Today/cargowise-official-exchange-rates) (MIT, Node.js 18+, no dependencies) does this mapping for you. It fetches a customs, central bank or tax authority table and writes it as a Native XML `CurrencyExchangeRate` file, or as CSV, under the rate type you choose, with every rate against your company's local currency:

```
ALLRATES_API_KEY=your_key ./cargowise-rates.mjs --country AU --home AUD \
  --quote home-per-foreign --rate-type CUS --out ./outbox
```

Run it on the table's cadence (cron or Task Scheduler) and point your eAdaptor inbound channel or file-based integration at the output folder. Two-sided tables (India, Thailand, Korea, Iceland, Uganda) load one side per rate type with `--side import` or `--side export`. Its output validates against the same third-party schema copy; it has not been certified by WiseTech, so test it in a non-production environment first.

## Notes

- Store the table's `rate_date` as 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](https://allratestoday.com/docs/customs/customs-filing-software/).

## 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](https://allratestoday.com/contact?tab=business&topic=tax_authority_data) [All integration guides](https://allratestoday.com/docs/integrations/)
