Calculate Adjustments Action

Calculate the adjusted amount for a loss item and generate data for insurance policy limit tracking and claim coverage payment adjustment records.

This action is available in API version 65.0 and later.

Supported REST HTTP Methods

URI: /services/data/v68.0/actions/standard/calculateAdjustments

Formats: JSON

HTTP Methods: POST

Authentication: Authorization: Bearer token

Inputs

Input Type Description
calculateAdjustmentsInputRep Apex-defined Required. An Apex ConnectApi.CalculateAdjustmentsInputRep record that contains the details of the claim to calculate the adjusted amount for a loss item.

Outputs

Output Type Description
calculateAdjustmentsOutputRep Apex-defined An Apex ConnectApi.CalculateAdjustmentsRepresentation record that contains the details of the adjustments for the claim loss items.

Example

Sample Request

{
  "inputs": [
    {
      "calculateAdjustmentsInputRep": {
        "claimId": "0ZkSB0000000tqv0AA",
        "claimCoverageId": "0kPSB000000G72L2AS",
        "claimedAmount": "1000",
        "additionalFields": {
          "LimitUnitOfMeasure": "Visits",
          "LimitUnitCount": 2,
          "Discount_Percent__c": 50,
          "EditedDateTime__c": "2026-03-25T11:50:00.000Z",
          "IsPaid__c": false
        }
      }
    }
  ]
}

Sample Response

{
  "actionName": "calculateAdjustments",
  "errors": null,
  "invocationId": null,
  "isSuccess": true,
  "outcome": null,
  "outputValues": {
    "calculateAdjustmentsOutputRep": {
      "adjustedAmount": 1250.00,
      "adjustmentReason": "Deductible applied."
      "claimCovPaymentAdjustments": [
        {
          "adjustedAmount": 250.00,
          "adjustmentReason": "Deductible"
        }
      ],
      "insPolicyLimitTrackings": [
        {
          "policyLimitId": "0lYx00000004CvQEAU",
          "category": "Per-Incident Limit",
          "remainingAmount": 4750.00
        }
      ]
    }
  },
  "sortOrder": -1,
  "version": 1
}