返回 Skill 列表
extension
分类: 开发与工程无需 API Key

commerce-tax

计算税费并管理税率。在运行`stateset-tax`、计算购物车税费或验证税费设置时使用。

person作者: jakexiaohubgithub

Commerce Tax

Calculate taxes and manage tax jurisdiction settings.

How It Works

  1. Identify jurisdiction from shipping address.
  2. Calculate tax for items or carts.
  3. Apply exemptions when valid.
  4. Report tax breakdown and totals.

Usage

  • CLI: stateset-tax ... or stateset "calculate tax for cart ..."
  • MCP tools: calculate_tax, calculate_cart_tax, get_tax_rate, list_tax_rates, create_tax_exemption.

Output

{"tax_total":7.25,"jurisdiction":"US-CA"}

Present Results to User

  • Tax rates used and jurisdiction.
  • Exemptions applied, if any.
  • Final tax totals and rounding.

Troubleshooting

  • Missing address fields: collect postal code and region.
  • Invalid exemption: verify certificate and expiry.

References

  • references/tax-commands.md
  • /home/dom/stateset-icommerce/cli/.claude/agents/tax.md