---
schema_version: "1"
id: fa7b5105b18fee0f541119db5411ab5a1e6e388aae034572fb0b25cc322226b0
title: getCommissionProcessing(commissionProcessingInput)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/insurance_developer_guide/apex_ConnectAPI_InsuranceBrokerageFamily_getCommissionProcessing_1.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_ConnectAPI_InsuranceBrokerageFamily_getCommissionProcessing_1.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5aef76516c9c5422479720c2da7658b3f551d02cd0a09e76a28a3c5d22c9a741
description: Process commission statements in an asynchronous manner by using the preconfigured batch job.
---
# getCommissionProcessing(commissionProcessingInput)

Process commission statements in an asynchronous manner by using the preconfigured batch job.

## API Version

63.0

## Requires Chatter

No

## Signature

public static ConnectApi.InsuranceCommissionProcessingOutputRepresentation getCommissionProcessing(ConnectApi.InsuranceCommissionProcessingInputRepresentation commissionProcessingInput)

## Parameters

**commissionProcessingInput**

- Type: [ConnectApi.InsuranceCommissionProcessingInputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_input_insurance_commission_processing.htm "Input representation details of the insurance commission processing resource. The input includes the commissionStatementIds property required to process commission data.")
- Input representation details of the insurance commission processing API.

## Return Value

Type: [ConnectApi.InsuranceCommissionProcessingOutputRepresentation](https://developer.salesforce.com/docs/atlas.en-us.insurance_developer_guide.meta/insurance_developer_guide/apex_connectapi_output_insurance_commission_processing_output.htm "Output representation details of the commission processing resource.")

## Usage

Commission Statement Processing API uses a JSON input that contains a list of commissionStatementIds. The service processes the commission statement asynchronously by using a batch job. The batch job calls the processing flow to process each commission statement line item. When the processing is complete, the service updates the commission statement and sends a notification to the user.