# Commerce Tax

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

- Skill: `majiayu000/commerce-tax` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/commerce-tax`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/commerce-tax/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/commerce-tax

---


# 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

```json
{"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

