Calculate sales tax rates and amounts using TaxJar

domain: developers.taxjar.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Include your TaxJar API token in the Authorization header as Token YOUR_TOKEN on all requests to https://api.taxjar.com/v2/.
  2. To calculate tax for a transaction, POST to https://api.taxjar.com/v2/taxes with a JSON body containing from_country, from_zip, from_state, to_country, to_zip, to_state, amount (subtotal), shipping, and optionally a line_items array.
  3. Each line item can include id, quantity, unit_price, and product_tax_code to enable product-specific exemption handling.
  4. The response includes a tax object with amount_to_collect, rate, freight_taxable, and a breakdown by jurisdiction (state, county, city, special).
  5. To record the transaction for AutoFile purposes, POST to https://api.taxjar.com/v2/transactions/orders with the finalized order details; this registers the transaction in TaxJar's reporting.
  6. Use GET https://api.taxjar.com/v2/rates/{zip} for a quick nexus-aware rate lookup at a given address without a full transaction calculation.

Known gotchas

Related routes

Calculate sales tax for a transaction using TaxJar
taxjar.com · 5 steps · unrated
Calculate sales tax with TaxJar and apply product-level tax exemptions using product tax codes
developers.taxjar.com · 5 steps · unrated
Fetch sales tax rates for a specific address using the TaxJar Rates API and apply product-level tax codes
developer.taxjar.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans