Update tax rate
hub_update_tax_rateChange a tax rate’s name or its percentage. Takes the tax rate id from get_taxes, never a name. THE RATE IS SHARED: this changes EVERY tax group that lists it, not just the one the merchant was talking about. Call get_taxes first, tell them exactly which groups are affected, and get an explicit yes. If they only meant one group, the answer is a separate rate via create_tax_rate, not this tool. percentage sets the same value at every outlet. perOutlet REPLACES the stored per-outlet list whole — an outlet you leave out STOPS charging this rate, so read the current values back with get_taxes and resend every outlet that should keep charging. Sales already rung up are NOT recalculated — this only affects sales from now on. Reports and receipts for past sales keep the old rate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the rate | |
| perOutlet | No | Outlet-specific percentages, using outlet ids from get_taxes. REPLACES the stored list whole — an outlet you leave out stops charging this rate | |
| taxRateId | Yes | Tax rate id from get_taxes — not a name | |
| percentage | No | New percentage at every outlet, e.g. 13 for 13% |