Currencies and the Nextworld API

The Nextworld API represents currencies like this:

"CompanyTaxableAmount": {
  "CurrencyCode": "USD",
  "CurrencyValue": 0,
  "CurrencyDecimals": 2,
  "CurrencyBigDecimalValue": 0
}

If I want to pass in a currency field to the API, other than the CurrencyCode what is the recommendation for what combination of the other three for say a value of US$54.32? Do I always have to pass in all 3 of the others or is a subset OK?

You should only need to send in CurrencyCode and CurrencyBigDecimalValue. The system will auto-populate the rest for you. In your example the doc would look like:

“CompanyTaxableAmount”: {
“CurrencyCode”: “USD”,
“CurrencyBigDecimalValue”: 54.32
}