---
title: "Official and Customs Exchange Rates in Oracle NetSuite"
description: "Load central-bank and customs-authority exchange rates into Oracle NetSuite: the currencyrate REST record, the Currency Exchange Rates CSV import, and what a separate customs exchange rate type can and cannot do."
canonical: https://allratestoday.com/docs/integrations/netsuite/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-24T21:56:29.184Z
---

# Official and Customs Exchange Rates in Oracle NetSuite

Load central-bank and customs-authority exchange rates into Oracle NetSuite: the currencyrate REST record, the Currency Exchange Rates CSV import, and what a separate customs exchange rate type can and cannot do.

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

NetSuite's built-in Currency Exchange Rate Integration fills its exchange rate table from a market data provider once a day. Where a regulation names the publisher (the ECB rate for EU VAT, the HMRC monthly rate, a central bank's month-end rate for statutory accounts), load that institution's rate instead, from the [central bank](https://allratestoday.com/central-bank-rates-api/) and [customs](https://allratestoday.com/customs-exchange-rate-api/) endpoints. NetSuite needs the **Multiple Currencies** feature for any of this.

## 1. REST: the currencyrate record

SuiteTalk REST exposes exchange rates as the `currencyrate` record: `POST /services/rest/record/v1/currencyrate` with `baseCurrency` and `transactionCurrency` (internal IDs), `exchangeRate` (base currency units per 1 unit of the transaction currency), `effectiveDate` and an optional `externalId`. SuiteScript creates the same record with `record.create({ type: 'currencyrate' })`. Rates are added, not edited: a new rate is a new record with a new effective date.

```
import requests

API = "https://allratestoday.com/api/v1/central-bank"
HEADERS = {"Authorization": "Bearer art_live_your_key"}

# Official ECB rate for USD -> EUR on the table in force on 2026-11-12
r = requests.get(f"{API}/ecb/2026-11-12", params={"source": "USD", "target": "EUR"}, headers=HEADERS).json()

record = {
    "baseCurrency": {"id": "1"},          # internal ID of EUR in your account
    "transactionCurrency": {"id": "2"},   # internal ID of USD
    "exchangeRate": r["rate"],            # base currency units per 1 transaction currency
    "effectiveDate": r["rate_date"],      # the bank's own date, YYYY-MM-DD
    "externalId": f"ecb-USD-EUR-{r['rate_date']}",
}
# POST https://<account>.suitetalk.api.netsuite.com/services/rest/record/v1/currencyrate
# with OAuth 2.0 (or token-based) authentication and Content-Type: application/json
```

Mind the direction: NetSuite wants base per foreign. The ECB and EU customs offices quote foreign per 1 EUR, so ask the API for `source=USD&target=EUR` and it returns the inverse, flagged `"derived": true, "method": "inverse"`.

## 2. No code: CSV import

**Setup > Import/Export > Import Tasks > Import CSV Records**, record type **Accounting**, then **Currency Exchange Rates**. The fields are Currency, Exchange Rate, Effective Date, Base Currency (OneWorld) and Exchange Rate Type (when that feature is on). Map the API's CSV columns in the field-mapping step. The import adds rates; it does not change existing ones.

```
# Customs table in force for goods cleared in the UK (HMRC monthly rates), as CSV
curl "https://allratestoday.com/api/v1/customs/GB/latest?format=csv" \
  -H "Authorization: Bearer art_live_your_key" -o hmrc-latest.csv
```

## 3. A separate customs rate type: the limits

NetSuite OneWorld has **Currency Exchange Rate Types** (Lists > Accounting > Currency Exchange Rate Types), so a `Customs` type can hold the customs table next to the default type. Two documented limits decide whether that helps you: the automatic provider update only fills the **default** type, and transactions use the default type (types other than the default are used for intercompany cross charges). The feature cannot be switched off once enabled. In practice, customs rates in NetSuite are usually kept as reference data for landed cost and broker reconciliation, loaded by the REST or CSV route above, rather than as the rate transactions post at.

## Keep the evidence

- Book under the response's `rate_date`; put the source and date in `externalId`.
- US CBP and China customs tables are built by rule and say so in `basis`.
- History on paid plans rebuilds a past period for an audit.

## Using NetSuite with landed cost or a customs broker?

Tell us your clearance countries and we will map the tables.

 [Talk to us](https://allratestoday.com/contact?tab=business&topic=tax_authority_data) [All integration guides](https://allratestoday.com/docs/integrations/)
