Skip to content

QuickBooks: Update an exchangerate — request body — body

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

API reference · Contract 2026-10-20

SDK schema: Update an exchangerate — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not 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 Void an invoice — request body — body 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)numberAlternative
Rate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?$
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.
domainstringOptional
sparsebooleanOptional

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

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.