create_contract_commission_rule
Create a contract commission rule by defining commission percentage, validity dates, applicable item types, and the contract or item that receives payment.
Instructions
Create a new commission rule for a contract. Defines the commission percentage, validity period, applicable item types, and which contract/item receives the commission payment.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contractNumber": "<contractNumber>",
"commissionPercent": "<commissionPercent>"
},
"name": "create_contract_commission_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Array of specific items the commission rule applies to. | |
| validTo | No | The end date of the commission rule validity in YYYY-MM-DD format. | |
| useItems | No | Whether to use the items array to restrict which items the rule applies to. | |
| applyMode | No | The commission apply mode. | |
| validFrom | No | The start date of the commission rule validity in YYYY-MM-DD format. | |
| contractNumber | Yes | The unique contract number to add the commission rule to. | |
| applyRecurrItems | No | Whether the commission applies to recurring items. | |
| applyOneTimeItems | No | Whether the commission applies to one-time items. | |
| commissionPercent | Yes | The commission percentage. | |
| commissionItemNumber | No | The item number used for commission billing. | |
| commissionContractNumber | No | The contract number that receives the commission. |