Add salestax to entities
add_salestax_to_entitiesApply one existing sales tax to several income or expense records at once, in a single transaction. Invoices/bills use line-item tax and are not supported here.
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": {
"entity": "<entity>",
"entityids": "<entityids>",
"parentid": "<parentid>"
},
"name": "add_salestax_to_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Entity kind to add the sales tax to: "income" or "expense". | |
| parentid | Yes | Id of the existing salestax definition to apply to every listed entity. | |
| entityids | Yes | Ids of the income/expense records to add the sales tax to. |