create_withholding
Add a withholding tax deduction to any invoice by specifying type, category, and optional amount or percentage.
Instructions
Add a withholding tax deduction to an invoice.
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": {
"invoice_id": "<invoice_id>",
"type": "<type>",
"category": "<category>"
},
"name": "create_withholding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice_id | Yes | The invoice ID to add the withholding to | |
| type | Yes | Withholding type (AADE tax type) | |
| category | Yes | Withholding category (AADE tax category) | |
| amount | No | Withholding amount (calculated from percent if not provided) | |
| percent | No | Withholding percentage |