Currency
A currency record exposes a currency to REST web services.
Currency records are created for the different currencies you want to use in your transactions and for your subsidiaries if you use NetSuite OneWorld.
To access this record in NetSuite, go to Lists > Accounting > Currencies > New.
For more information about currencies in NetSuite, see Currency Management.
The REST API Browser includes information about the field names and field types of the currency record and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser's currency reference page.
For information about using the REST API Browser, see The REST API Browser.
Record ID
The record ID for a currency REST record is Currency.
Prerequisites
You must have the Multiple Currencies feature enabled before you can use this record through REST web services. For more information about this feature, see Enabling the Multiple Currencies Feature.
Elements with Different Functionality
The following fields have different functionality through REST web services:
-
formatSample (Read only)
-
isAnchorCurrency (Read only)
-
isBaseCurrency (Read only)
-
lastModifiedDate (Read only)
Usage Notes
The Currency Exchange Rate Integration feature must be enabled to view and edit the following fields:
-
includeInFxRateUpdates
-
fxRateUpdateTimeZone
The Use Triangulation Calculation By NetSuite accounting preference must be enabled to view and edit the following field:
-
isAnchorCurrency
Code Sample
This sample shows how to update the Override Currency Format box from false to true:
PATCH {{COMPANY_URL}}/services/rest/record/v1/currency/2
{
"overrideCurrencyFormat": true
}