apply_supplier_credit
Reduce supplier debt by applying a credit to an open bill. Provide credit ID, bill ID, and amount.
Instructions
Apply a supplier credit against an open bill to reduce the amount owed to the supplier.
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": {
"id": "<id>",
"bill": "<bill>",
"amount": "<amount>"
},
"name": "apply_supplier_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The supplier credit ID to apply | |
| bill | Yes | The bill ID to apply the supplier credit against | |
| amount | Yes | Amount to apply as a string, e.g. '100.00' (cannot exceed supplier credit balance) |