---
schema_version: "1"
id: fb3d6e65ddbe09a81f65454f7293f6a01b921968cd190514d632341dce47ea51
title: Create Producer Commissions Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/actions_obj_create_producer_commissions.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/actions_obj_create_producer_commissions.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6535706da6d35e9827af49ee6c84cb965f9cbf96043243cee1c3f1c15309ce15
description: Create records for the commissions that producers receive for the insurance policy associated with the specified commission statement line item, and update the commission statement line item record status.
---
# Create Producer Commissions Action

Create records for the commissions that producers receive for the insurance policy associated with the specified commission statement line item, and update the commission statement line item record status.

This action is available in API version 63.0 and later.

## Special Access Rules

The Create Producer Commissions action is available in Enterprise, Unlimited, and Developer Editions where Financial Service Cloud and Insurance Brokerage are enabled. To use this action, you need Insurance Commission Management and Insurance Brokerage User permission sets.

## Supported REST HTTP Methods

**URI**: /services/data/vXX.X/actions/standard/createProducerCommissions

Where XX.X is the latest API version.

**Formats**: JSON

**HTTP Methods**: GET, POST

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

| Input | Type | Description |
| --- | --- | --- |
| producerCommissions | sObject | A collection of computed producer commission records to be created. |
| commissionStatementLineItemId | String | ID of the commission statement line item record. |
| successStatus | String | The status that the associated commission statement line item is set to when the producer commission record is created. |
| failureStatus | String | The status that the associated commission statement line item is set to when the producer commission record isn't created. |

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| producerCommissionIds | String | A collection of IDs of the producer commission records that are created. |

## Example

**POST**

This sample request is for the Create Producer Commissions action.

{
  "inputs": \[
    {
      "commissionStatementLineItemId": "1Atxx0000004DeaCAE",
      "producerCommissions": \[
        {
          "CommissionAmount": 3000,
          "InsurancePolicyId": "0YTxx00000002BVGAY",
          "ProducerId": "0Yxxx00000001IfCAI",
          "ProducerSplitArngLineItemId" : "1BHxx0000004CXEGA2",
          "CommissionStatementLineItemId": "1Atxx0000004DeaCAE",
          "Name": "Sanjeev"
        },
        {
          "InsurancePolicyId": "0YTxx00000002BVGAY",
          "ProducerId": "0Yxxx00000001KHCAY",
          "ProducerSplitArngLineItemId" : "1BHxx0000004CXEGA2",
          "CommissionStatementLineItemId": "1Atxx0000004DeaCAE",
          "Name": "Deepak"
        }
      \]
    }
  \]
}

This is the sample response for the Create Producer Commissions action.

\[
  {
    "actionName": "createProducerCommissions",
    "errors": null,
    "invocationId": null,
    "isSuccess": true,
    "outcome": null,
    "outputValues": {
      "producerCommissionIds": \[
        "0kAxx0000000001"
      \]
    },
    "sortOrder": -1,
    "version": 1
  }
\]