Sales tax

Sales tax for SaaS: nexus says who, taxability says what

Since 2018 a US state can make you collect its sales tax without you ever setting foot in it. Whether you have to comes down to two questions per state: have you crossed its economic nexus threshold, and does it tax what you sell. Here's how each one works, five states checked against their own revenue departments, a tracker you can run per state, and the point where handing it to a merchant of record costs less, with the US sales tax material from chapter 8.

This is engineering guidance, not tax or legal advice. State thresholds and taxability were checked on the states' own sites on 14 November 2026 and change often. Confirm your obligations with a tax adviser or a tax engine before you rely on them.

Economic nexus is a state's rule that you must register for, collect and remit its sales tax once your sales into the state pass a threshold, even if you have no office, staff or servers there. It exists because of South Dakota v. Wayfair, decided on 21 June 2018: the Supreme Court called the old physical presence rule "unsound and incorrect" and upheld South Dakota's law, which covered sellers delivering more than $100,000 of goods or services a year into the state, or making 200 or more separate transactions there (Wayfair).

Every sales-tax state then wrote its own version, and they don't match. For a SaaS company, that leaves two questions per state, and you only collect when both answers are yes:

  1. Nexus: have your sales into the state crossed its threshold, over its measurement period?
  2. Taxability: does the state tax what you sell? SaaS is taxable in some states, exempt in others, and partly taxable in at least one.

Crossing California's threshold with a product California doesn't tax leaves you nothing to collect there. Selling a taxable product into New York below its threshold doesn't either. Being over the line in a state that taxes SaaS is the case that costs money, and you find out about it in an audit.

Five states, from their own pages

Checked on 14 November 2026. This is a sample to show how much the rules differ, not a list to comply from.

StateThresholdMeasured overTransaction testSaaS
South DakotaMore than $100,000 of gross sales (SD DOR)Previous or current calendar yearRemoved from 1 July 2023 (SD DOR)Not checked
CaliforniaMore than $500,000 of sales of tangible personal property (CDTFA)Preceding or current calendar yearNonePrewritten software "transferred by remote telecommunications" isn't taxable (Reg. 1502)
TexasMore than $500,000 of Texas revenue (Comptroller)Preceding 12 calendar monthsNoneData processing is taxable, with 20% of the charge exempt (Comptroller)
New YorkMore than $500,000 and more than 100 sales (NY DTF)Immediately preceding four sales tax quartersYes, and both tests must be metPrewritten software is taxable however it's conveyed, including remote access (TB-ST-128)
Illinois$100,000 or more of gross receipts (IDOR)12-month lookbackRemoved from 1 January 2026Not checked

The 200-transaction test from the Wayfair law is quietly dying. South Dakota itself dropped it in 2023 and Illinois in 2026. That's good news for SaaS: a few hundred customers on a $20 plan no longer pulls you into a state on transaction count alone in either of them. New York kept its count but made it a second hurdle rather than an alternative, so you need both.

The SaaS column is where Texas gets interesting. If your product is a data processing service, 80% of the charge is taxable (100% minus the 20% exemption), so a $1,000 invoice is taxed on $800. Washington, whose threshold pages didn't open for us today, classifies SaaS as a "digital automated service" and treats it as a retail sale (WA DOR).

Things that bite after you cross

  • The clock is short. South Dakota wants you registered "by the first day of the month that starts at least thirty days after the threshold is met" (SD DOR). Find out from a monthly report, not from your year-end accounts.
  • What counts toward the threshold differs. California and New York measure sales of tangible personal property; New York treats prewritten software as exactly that. Texas measures revenue. Read the definition, not just the number.
  • Marketplace sales aren't yours to collect. Where a marketplace provider remits the tax, South Dakota doesn't hold its sellers responsible for those sales (SD DOR). Sales on your own site still are.
  • Business customers hand you paperwork. A buyer claiming an exemption needs a valid certificate on file, or the tax you didn't collect becomes tax you owe.

In code: one rule per state, with its own window

The windows matter as much as the amounts. A trailing-12-month check against New York's quarters, or a calendar-year check against Texas, gives you the wrong answer with total confidence.

from dataclasses import dataclass
from datetime import date, timedelta
from decimal import Decimal


@dataclass(frozen=True)
class NexusRule:
    amount: Decimal
    window: str               # "calendar", "trailing_12m" or "four_quarters"
    min_sales: int = 0        # 0 means the state has no transaction test
    inclusive: bool = False   # True where the law says "or more", not "more than"


# From each state's revenue department, checked 14 November 2026.
# Five states, not fifty: add a row only after you've read the state's own page.
RULES = {
    "CA": NexusRule(Decimal("500000"), "calendar"),
    "IL": NexusRule(Decimal("100000"), "trailing_12m", inclusive=True),
    "NY": NexusRule(Decimal("500000"), "four_quarters", min_sales=100),
    "SD": NexusRule(Decimal("100000"), "calendar"),
    "TX": NexusRule(Decimal("500000"), "trailing_12m"),
}


def windows(rule, today):
    """The periods to test, as (start, end) with end exclusive."""
    if rule.window == "calendar":  # previous or current calendar year
        return [(date(today.year - 1, 1, 1), date(today.year, 1, 1)),
                (date(today.year, 1, 1), today + timedelta(days=1))]
    if rule.window == "trailing_12m":  # the 12 full months before this one
        first = today.replace(day=1)
        return [(first.replace(year=first.year - 1), first)]
    # New York: the four sales tax quarters before the current one.
    # Its quarters start on 1 March, 1 June, 1 September and 1 December.
    month = 12 if today.month < 3 else (today.month - 3) // 3 * 3 + 3
    year = today.year - 1 if today.month < 3 else today.year
    quarter_start = date(year, month, 1)
    return [(quarter_start.replace(year=year - 1), quarter_start)]


def has_nexus(state, sales, today):
    """sales: (date, Decimal) pairs of what counts toward this state's test."""
    rule = RULES[state]
    for start, end in windows(rule, today):
        amounts = [amount for day, amount in sales if start <= day < end]
        total = sum(amounts, Decimal("0"))
        over = total >= rule.amount if rule.inclusive else total > rule.amount
        if over and len(amounts) > rule.min_sales:  # NY needs both
            return True
    return False


# 90 annual plans at $6,000 into New York: $540,000, but only 90 sales.
ny_sales = [(date(2026, 3 + i % 9, 1), Decimal("6000")) for i in range(90)]
print(has_nexus("NY", ny_sales, date(2026, 12, 15)))  # False: needs more than 100
print(has_nexus("TX", ny_sales, date(2026, 12, 15)))  # True, if they'd gone to Texas

Feed it your sales by ship-to state, monthly, and alert at 80% of each threshold so registration isn't a scramble. The real version needs the definition of what counts for each state, and a tax engine for rates.

When a merchant of record is the cheaper answer

Staying the seller means a registration, a filing calendar and a rate table per state you cross into, plus the same again for VAT abroad. A merchant of record is the legal seller instead, so its registrations cover your sales. Prices checked on 11 November 2026:

RouteWhat it costsWho registers and files
Stripe Tax0.5% per transaction where you're registered, no-code integration (Stripe)You. Tax Complete, from $90 a month, buys 2 registrations and 4 filings a year
Stripe Managed Payments3.5% on top of the card fee (Stripe)Stripe, as merchant of record
Paddle5% + $0.50 per transaction (Paddle)Paddle, as merchant of record

The usual pattern: a small SaaS selling to consumers across many states and countries, with modest revenue in each, pays less in total for an MoR than for registrations plus someone to file them. A company with most of its revenue in a handful of states, or mostly B2B buyers handing over exemption certificates, usually does better staying the seller. Put your own revenue into the merchant of record fee calculator.

Tax engines, continuous nexus tracking, keeping marketplace sales apart and treating exemption certificates as data. From chapter 8.

Practical Implementation

  • Use a tax engine. Avalara, TaxJar, Anrok (built specifically for SaaS), Stripe Tax, and Quaderno all maintain live state matrices, handle registration tracking, and file returns. The cost is small relative to the audit risk of a hand-rolled rate table.
  • Track nexus continuously. Run a per-state sales and transaction counter, alert before you cross a threshold, and register proactively rather than after the fact (some states impose look-back assessments).
  • Separate marketplace vs. direct sales. Marketplace-facilitated revenue usually does not create your own nexus, but you still need it on your books and in your reports.
  • Treat exemption certificates as first-class data. B2B and resale exemptions require a valid certificate on file; expired certificates are a common audit finding.
  • Reassess annually. State legislatures pass new digital-goods bills every session. Anything in this section can change between editions.

Questions

What is economic nexus?

Economic nexus is a state's rule that you must register for, collect and remit its sales tax once your sales into the state pass a threshold, even with no physical presence there. States can do this because of South Dakota v. Wayfair, decided on 21 June 2018.

Do I have to charge sales tax on SaaS?

Only where two things are true: you've crossed the state's economic nexus threshold, and the state taxes SaaS. New York taxes prewritten software however it's conveyed, including remote access. California doesn't tax prewritten software transferred by remote telecommunications. Texas taxes data processing with 20% of the charge exempt.

Is the 200-transaction threshold still used?

Less and less. South Dakota, whose law Wayfair upheld, dropped it from 1 July 2023 and Illinois from 1 January 2026. New York uses more than 100 sales, but only alongside more than $500,000 of receipts: both tests must be met.

What are the economic nexus thresholds in California, Texas and New York?

California: more than $500,000 in the preceding or current calendar year. Texas: more than $500,000 in the preceding 12 calendar months. New York: more than $500,000 and more than 100 sales in the immediately preceding four sales tax quarters. All three were checked on the states' own sites on 14 November 2026.

When should a SaaS company use a merchant of record for sales tax?

When you sell to consumers in many states and countries with modest revenue in each, an MoR is often cheaper than registrations and filings everywhere. With most revenue in a few states, or mostly B2B buyers, staying the seller with a tax engine usually costs less.

What the book adds

The rest of chapter 8

  • Marketplace facilitator laws, both sides of the marketplace
  • Taxing subscriptions, freemium upgrades and proration
  • Refunds that cross a tax year
  • Testing tax logic before an auditor does
  • The EU, UK and Brexit side of the same problem

30-day money-back · Instant PDF and EPUB

All 42 chapters