Retrieving multicurrency information
Multicurrency reserves
Currency information is part of the default response for the GET
/reserves
endpoint, whether or not multicurrency has been enabled.
The following is a snippet of the response payload for a GET /reserves
for a
multicurrency reserve. Currency information appears in bold. Note the following:
- The default currency for this instance of ClaimCenter is US dollars (usd).
- This is specified in the
reportingAmount.currency
field.
- This is specified in the
- The claim's currency is US dollars (usd).
- This is specified in the
claimAmount.currency
field.
- This is specified in the
- The reserving currency is British pounds (gbp).
- This is specified in the
reservingAmount.currency
field.
- This is specified in the
- The reserve transaction is British pounds (gbp).
- Every reserve transaction consists of one of more line items. Both transactions and line items have currency values, but each is stored in different database tables. These currency values must always be explicitly stated and must always be the same, regardless of whether or not multicurrency is enabled.
- The currency for the transaction is specified in the parent currency field.
- The currency for each associated line item is specified in the
lineItems.transactionAmount.currency
field(s).
There is also a currency value specified in the
reserveLine.reservingCurrency
field. This field identifies the currency of
the associated reserve line. A reserve line is a category that can be applied to
a financial transactions. For a given exposure, each reserve line is uniquely identified by
its cost type, cost category, and currency.
Multicurrency checks
Currency information is part of the default response for the GET
/checks
endpoint, whether or not multicurrency has been enabled.
The following is a snippet of the response payload for a GET /checks
for a
multicurrency check. Currency information appears in bold. Note the following:
- The default currency for this instance of ClaimCenter is US dollars (usd).
- This is specified in the
reportableAmount.currency
field.
- This is specified in the
- The reserve currency is British pounds (gbp).
- The reserving currency is British pounds (gbp). This is indicated in the display names of the payments. To see the actual currency code, you would need to GET the individual payment and inspect its reserve line.
- The check currency is Euros (eur).
- This is specified in the
grossAmount.currency
field.
- This is specified in the