Commerce Tax

Calculate taxes and manage tax rates. Use when running `stateset-tax`, calculating cart tax, or validating tax settings.

majiayu000 18cefe7 2 files · 1.8 KB Updated 567 repo stars

File contents

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

majiayu000/claude-skill-registry-data/tree/main/data/commerce-tax commit 18cefe733f

Frequently asked questions

npx skillmds add majiayu000/commerce-tax