Contents

exchangeRate

A decimal value that is the exchange rate you use to convert the pricing currency to the reporting currency, when the two currencies differ.

Declaration

double exchangeRate

Discussion

Maximum length: 128. The field must contain a number that can optionally be followed by a “.” and additional digits.

The exchangeRate field is required when the pricingCurrency and reportingCurrency fields differ. Use the exchangeRate to convert amounts in the pricing currency to amounts in the reporting currency. The conversion calculation is:

(amount in pricing currency) * exchangeRate = (amount in reporting currency)

If the pricingCurrency and reportingCurrency field values are the same currency, don’t include an exchangeRate in the line item. For more information about determining which reporting currency to use, see reportingCurrency.

See Also

Specifying amounts and currency