Skip to main content
Glama

Update entity salestax

update_entity_salestax

Update an existing sales tax already on an entity. To add a new sales tax use add_entity_salestax (one entity), add_entity_salestaxes (several taxes on one entity), or add_salestax_to_entities (one tax across many entities).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesId of the sales tax to update.
kindNo"salestax" | "levy" | "withholding"; "$delete" clears it.
nameNoDisplay name of the sales tax (e.g. "VAT").
rateNoSales tax rate as a DECIMAL FRACTION, e.g. 0.15 = 15% (NOT 15). A rate of 1.0 (100%) or higher is rejected.
orderNoStack position (default 0); components apply ascending.
amountNoExplicit sales tax amount; used instead of the rate when useamount is true.
compoundNoWhen true, this tax stacks on lower-order taxes' totals (default false).
parentidNoId of one of this business's salestax definitions to move the tax to; the record then reports under that tax.
exclusiveNoWhether the entity amount excludes this sales tax (tax added on top).
taxsourceNoStable locale rate-band identity, e.g. "locale:za/standard"; "$delete" clears it.
treatmentNo"standard" | "zeroRated" | "exempt"; blank/unknown means infer, "$delete" clears it.
useamountNoWhen true, use amount as the tax figure instead of computing from the rate.
recoverableNoWhether this sales tax is recoverable (claimable as input tax).
referencenumberNoSales tax registration/reference number.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / parentid
      Added value: +{
      +  "description": "Id of one of this business's salestax definitions to move the tax to; the record then reports under that tax.",
      +  "type": "string"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources