terminate_contract
Terminate an active contract with a chosen end date, optional extraordinary termination, customer notification, subscription auto-downgrade, and invoice correction control.
Instructions
Terminate an active contract. Supports ordinary and extraordinary termination, with options to notify the customer, auto-downgrade subscription items, and skip invoice corrections. The terminationDate controls when the contract ends.
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>"
},
"name": "terminate_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractNumber | Yes | The unique contract number to terminate. | |
| terminationDate | No | The date the contract should be terminated, in YYYY-MM-DD format. If omitted, the earliest possible date is used. | |
| sendMailToCustomer | No | Whether to send a termination notification email to the customer. | |
| skipInvoiceCorrection | No | Whether to skip generating invoice corrections during termination. | |
| extraordinaryTermination | No | Whether this is an extraordinary (immediate) termination, bypassing the normal notice period. | |
| autoDowngradeSubscriptionItems | No | Whether to automatically downgrade subscription items upon termination. |