US Sales Tax for Developers
Building e-commerce platforms, SaaS applications, and marketplaces means working inside one of the most fragmented regulatory systems in software: US sales tax. There is no federal sales tax and no single rulebook. Instead there are 45 states and the District of Columbia that impose one, local jurisdictions in Alaska that impose their own, and more than 11,000 taxing jurisdictions in total, each with its own rates, thresholds, and definitions of what counts as taxable.
This guide covers the concepts that decide the number on the invoice. Get these right and the API calls are straightforward.
For implementation details, see the Tax Estimate guide and the API Reference.
The Four-Factor Taxability Framework
Sales tax is not a yes or no decision. Every transaction runs the same four checks, in this order, and the first "no" ends it and returns zero tax.
Nexus Types: Physical vs Economic
Before 2018, a state could only tax sellers with a physical presence inside it. South Dakota v. Wayfair removed that limit, and every state with a sales tax now also asserts economic nexus. The two are independent, and one is enough.
Nexus and registration are different things. Nexus is the obligation; a registration is the permit that lets you collect against it. Kintsugi calculates tax where you hold an active registration, and the estimate response reports both nexus_met and has_active_registration so you can tell a zero-tax sale from an unregistered one.
Track revenue and transaction counts per state against that state's own threshold, window, and combination rule.
Watch for states you are approaching, not just states you have crossed. Registration takes time.
Collecting sales tax without a permit is unlawful in every state that levies it. The money is not yours to hold.
Start collecting on the date the permit takes effect, which is not always the date you applied or the date it arrived.
Sourcing Rules: Origin vs Destination
You have nexus and a taxable product. One question remains: whose rate applies?
Remote sales are always destination-sourced. Origin sourcing is a rule for intrastate sales, where the seller has a location in the same state as the buyer. If you are a remote seller with economic nexus and no presence in the state, use the ship-to address regardless of that state's intrastate rule.
Marketplace Facilitators
Every state with a sales tax now has marketplace facilitator legislation, which moves the duty to collect from the seller to the platform. Whether it applies to you comes down to one question: does the platform take the buyer's money?
Selling on both is the normal case. Marketplace sales being handled by the platform does not exempt you from registering for your direct sales, and it does not undo physical nexus you already have in that state. Segregating facilitated from direct sales in your own reporting is what keeps the two straight at filing time.
Collection Timeline
Sales tax obligations follow a sequence, and every step in it is a date your system should know.
Register before your first sale. Most states require a permit regardless of volume once you are operating there.
Register before your first taxable sale into a state where you have presence. Physical nexus carries no grace threshold.
Track sales by state and register once you cross. The deadline runs from the crossing date and varies by state, so record the date you crossed, not just the fact that you did.
Collect from the effective date of your permit, and apply the rate for the buyer's address on every order from that point.
File and remit on the frequency the state assigns, whether monthly, quarterly, or annually. File even for periods with no sales: most states require a zero return, and missing one draws a penalty on nothing.
System Architecture Requirements
A compliant system needs all of the following. Kintsugi maintains this logic for you:
Sales tax obligations move as your business grows, as states change their laws, and as you add sales channels. The five concepts on this page (the four checks, nexus types, sourcing, marketplace facilitator rules, and collection timing) are what let you build systems that scale with the business instead of being rewritten by the next threshold you cross.
Next Steps
Ready to implement? Start with the Getting Started Guide and the API Reference.
Questions about your specific use case? Check our Support Center or contact our team.