---
schema_version: "1"
id: 677674bdb4dd78f61c1c920fda9aa8171af968e9a970a1a4d991157e21997bd5
title: Calculate Adjustments Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_calculate_adjustments.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_calculate_adjustments.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8b103294985d2b7ed5f83e5a4e61b49962e0eb258a46ca45a1e98479e36d6c5f
description: Calculate the adjusted amount for a loss item and generate data for insurance policy limit tracking and claim coverage payment adjustment records.
---
# 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/vXX.X/actions/standard/calculateAdjustments

Where XX.X is the latest API version.

**Formats**: JSON

**HTTP Methods**: POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access 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](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_calculate_adjustments.htm "Output representation of the details for calculating the adjustments for the claim loss item.") 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
}