Skip to content

QuickBooks: Update an exchangerate — response body — Exchangerate

Update an exchangerate: response body, field Exchangerate. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Update an exchangerate — response body — Exchangerate

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AsOfDatestringOptionalDate on which this exchange rate was set.
CustomFieldarrayOptionalOne of, up to three custom fields for the transaction. Available for custom fields so configured for the company. Check Preferences.SalesFormsPrefs.CustomField and Preferences.VendorAndPurchasesPrefs.POCustomField for custom fields currenly configured. Click here to learn about managing custom fields.
CustomField[]ModelEach itemExpand Read an invoice — response body — Invoice Custom Field item
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications.
RateJSONOptionalThe exchange rate between SourceCurrencyCode and TargetCurrencyCode on the AsOfDate date.
Decimal string
Rate (anyOf 1)JSONAlternative
Rate (anyOf 1) (anyOf 1)numberAlternative
Rate (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Rate (anyOf 2)stringAlternative
SourceCurrencyCodestringOptionalThe source currency from which the exchange rate is specified, and usually. Specify as a three letter string representing the ISO 4217 code for the currency. For example, USD , AUD , EUR , and so on. For example, in the equation 65 INR = 1 USD , INR is the source currency.
SyncTokenstringOptionalVersion number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.
Read only: true
TargetCurrencyCodestringOptionalThe target currency against which the exchange rate is specified. Specify as a three letter string representing the ISO 4217 code for the currency. For example, USD , AUD , EUR , and so on. For example, in the equation 65 INR = 1 USD , USA is the target currency.

Referenced models: Read an invoice — response body — Invoice Custom Field item, Read a bill — response body — Bill Meta Data

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.