Prompt
Do I need address-based jurisdiction logic for online sales tax?
Latest observation
Nov 25, 2026
OpenAI APIWeb search: off
Usually, yes—if you’re selling online in the U.S., you generally need some form of address-based sales tax logic to calculate the correct tax based on the buyer’s location.
Why
Sales tax in the U.S. is typically determined by:
- Ship-to address for most physical goods
- Service location / customer address for many digital goods or services
- Sometimes origin-based rules depending on the state
Because state, county, city, and special district taxes can all vary by address, a simple “one tax rate per state” is often not enough.
What that logic usually does
It may need to:
- Normalize the customer address
- Determine the tax jurisdiction from the address
- Apply the correct combined rate
- Handle special cases like:
- tax-exempt items
- shipping taxability
- product-category-specific rates
- destination-based vs origin-based states
- marketplace facilitator rules
When you might not need to build it yourself
If you use a tax engine or commerce platform, they often handle this for you, such as:
- Avalara
- TaxJar
- Stripe Tax
- Shopify / BigCommerce tax tools
- Sales-tax features in ERP/accounting systems
Practical rule
If you’re collecting sales tax yourself, you should assume address-level jurisdiction logic is needed unless:
- you only sell in one flat-tax jurisdiction, or
- your platform/tax provider already handles it.
Important note
Sales tax rules vary a lot by:
- country
- state
- product type
- nexus obligations
So for compliance, it’s worth confirming with a tax professional.
If you want, I can also give you:
- a simple decision tree for whether you need it, or
- a technical design for implementing address-based sales tax lookup.