Upsert Tax Rates
upsert_tax_ratesCreate or update tax rates by name (max 100 per call, case-insensitive match) — the direct fix for the 'tenant has no tax rate configured' blocker on item creation. percentage (0-100) is required when creating; updates are preserve-on-omit. isDefault=true moves the default flag (exactly one live rate stays default). validateOnly=true dry-runs every row. Partial success with per-row errors; resubmitting converges. Requires an operator (unpinned) credential — tax rates are tenant-wide settings.
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": {
"taxRates": "<taxRates>"
},
"name": "upsert_tax_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxRates | Yes | Tax-rate rows to create/update (max 100). name is required per row. | |
| validateOnly | No | true = dry-run: validate + probe every row and report the would-be action per row, writing nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | ||
| total | No | ||
| failed | No | ||
| created | No | ||
| updated | No | ||
| uomsCreated | No | ||
| validateOnly | No | ||
| enabledCustomers | No |