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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
AsOfDate | string | Optional | Date on which this exchange rate was set. |
CustomField | array | Optional | One 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[] | Model | Each item | Expand Void an invoice — request body — body Custom Field item |
MetaData | Model | Optional | Expand 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. |
Rate | JSON | Optional | The exchange rate between SourceCurrencyCode and TargetCurrencyCode on the AsOfDate date. Decimal string |
Rate (anyOf 1) | number | Alternative | |
Rate (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?$ |
SourceCurrencyCode | string | Optional | The 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. |
SyncToken | string | Optional | Version 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 |
TargetCurrencyCode | string | Optional | The 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. |
domain | string | Optional | |
sparse | boolean | Optional |
Referenced models: Read a bill — response body — Bill Meta Data, Void an invoice — request body — body Custom Field item