Retrieving financial calculations
Use the following endpoint to retrieve a financial calculation for a claim.
-
POST
/claim/v1/claims/{claimId}/financial-calculations/{expression}/get-amount
The value of {expression}
must be the name of a
financial expression returned by the GET
/claim/v1/claims/{claimId}/financial-calculations
endpoint.
The response always includes the following:
-
The name of the expression
-
The result of the calculation in the claim's currency (
claimAmount
) -
The result of the calculation in the reporting currency (
reportingAmount
)
The response also includes the result of the calculation in the
reserve currency (reservingAmount
) if the expression is related
to reserves and the request filters out all but one currency.