RovelaRovela
Back to the blog

By El Ghali Bennis · Published

How to Collect and File Sales Tax for an Online Store

Register, set rates, track what you collect and file on time. A step-by-step guide to sales tax for online store owners, with a worked two-state example.

How to Collect and File Sales Tax for an Online Store

To collect and file sales tax for an online store, you register with each state where you owe tax, charge the correct rate at checkout, track every dollar collected, and send it to the state on a schedule the state assigns you. Skip any step and you owe the money out of your own pocket.

Online store owner reviewing a printed sales tax report beside a laptop at a kitchen table with packed orders nearby

This guide walks through the whole cycle in the order you'll actually face it. It covers registration, rates, what's taxable, shipping, checkout setup, tracking and filing, plus a worked multi-state example. It's general information for US sellers, not legal advice, so confirm details with your state's revenue department or a CPA.

How to Collect and File Sales Tax: Start With Collection on Your Website

You collect sales tax by registering with the state first, then adding the correct rate to each order at checkout based on where the buyer is and where you have a tax obligation. You can't legally collect tax before you hold a permit in that state.

Step 1: Find out where you owe tax

You owe tax where you have nexus, meaning a sufficient connection to the state. Physical nexus comes from an office, warehouse, inventory or employee. Economic nexus comes from sales volume. After the Supreme Court's 2018 decision in South Dakota v. Wayfair, states can require remote sellers to collect once they pass a threshold. The South Dakota law at issue used $100,000 in sales or 200 transactions, and many states copied it, though thresholds vary (some states, such as California and Texas, use higher sales-only thresholds, and several have dropped the transaction count). Always confirm the current number on the state's revenue website. Our guide to economic nexus for online sellers explains how to monitor each state.

Step 2: Get your permit

Register with the state's department of revenue, usually online and usually free or a small fee. Some states charge nothing; others charge modest fees. If you're unsure whether you need one at all, read do I need a sales tax permit to sell online. You may also need a general business license to sell online, which is a separate document.

Step 3: Turn on tax collection at checkout

Once you hold a permit, configure your store to add tax automatically. Never add tax by hand to invoices. Manual rates drift, and buyers get inconsistent totals.

  • Enter your permit state and any other registered states.
  • Set product tax categories (more on that below).
  • Show tax as its own line item so customers and your records both stay clean.

Origin vs Destination Sales Tax: Which Rate Applies?

Origin-based states tax the sale at the seller's location rate. Destination-based states tax it at the buyer's address rate. Most states are destination-based, so for most online sellers the buyer's ZIP code decides the rate.

Seller checking a customer's shipping address on a laptop while labeling a parcel in a small home office

Origin-based states commonly cited include Texas, Arizona, Pennsylvania, Utah, Virginia, Tennessee and Illinois. Several of these are origin-based only for in-state sellers shipping to in-state buyers. Remote sellers from outside the state generally charge the destination rate. Ohio is often miscategorized: it taxes by destination, including for in-state sellers. Because classifications change and have exceptions, verify your state on its revenue department site. The Streamlined Sales Tax Governing Board publishes state-level sourcing information for member states.

FactorOrigin-basedDestination-based
Rate depends onYour business locationBuyer's delivery address
ComplexityLowerHigher (thousands of local jurisdictions)
Typical forIn-state sales in a minority of statesMost states and most remote sales
Practical fixOne rate to maintainAutomated rate lookup by address

Destination rates combine state, county, city and sometimes special district taxes. A single state can have hundreds of different combined rates. That's why spreadsheets fail past a handful of orders and automated rate lookup is worth it.

What Products Are Taxable Online?

Most physical goods are taxable, but states exempt many items, and rules vary widely. Groceries, prescription drugs and some clothing are commonly exempt, while digital goods and services are taxed in some states and not others.

Common examples

  • Usually taxable: electronics, furniture, home decor, cosmetics, toys, books in most states.
  • Often exempt: unprepared food, prescription medicine. Ordinary clothing is exempt in Pennsylvania and New Jersey, and New York exempts clothing under a per-item price threshold (state tax only; localities can opt out), according to each state's department of revenue or taxation. Rules change, so verify with each state.
  • Varies by state: digital downloads, software, streaming and subscriptions. If you sell these, see our guide to selling digital products and check state rules.

Assign a tax category to each product, not one blanket rule for the store. A candle shop selling gift cards, candles and a how-to ebook has three different tax treatments in some states.

Do I Charge Sales Tax on Shipping?

It depends on the state. Some states tax shipping always, some never, and many tax it only when the shipping charge is part of the taxable sale and not separately itemized. Check each state where you're registered.

A few patterns hold up well:

  • In many states, shipping is taxable if the items you're shipping are taxable, unless it's separately stated and the buyer could pick up the item.
  • Some states, such as Texas and Washington, generally tax shipping and delivery charges on taxable goods. Pennsylvania's treatment depends on the item and how the charge is billed.
  • Others, such as California, generally don't tax shipping when it's separately stated and the buyer can avoid it by picking up the goods.
  • Handling fees are frequently treated differently from postage, and are often taxable.

These patterns reflect published guidance from the Texas Comptroller, the Washington Department of Revenue and the California Department of Tax and Fee Administration. That guidance changes, so treat them as a starting point. The safest approach is to rely on a tax engine or a state-by-state table that sets shipping taxability per jurisdiction. If a state's rule is ambiguous, ask the department of revenue in writing and keep the reply.

Sales Tax Setup in Stripe Checkout

If your checkout runs on Stripe, you can use Stripe Tax to calculate and collect the right tax automatically. You register in each state, tell Stripe where you're registered, assign product tax codes, and Stripe applies the rate to each payment.

Developer-free store owner configuring tax settings in a payment dashboard on a laptop in a bright coworking space

Here's the basic setup sequence:

  1. Turn on tax in your Stripe dashboard and add your business address.
  2. Add your registrations for each state where you've registered.
  3. Set a default product tax code, then override it for products with special treatment.
  4. Enable automatic tax on your checkout and test with addresses in different states.
  5. Confirm the tax line shows on receipts and invoices.

Stripe documents the details on its Stripe Tax page. Note that calculating tax is not the same as filing it. Stripe's tax tools can help you monitor thresholds and report what you collected, but you still have to register and ensure returns get filed, either yourself, through a filing partner, or with an accountant.

On Rovela, stores ship with Stripe checkout and an admin dashboard already connected, so you configure tax settings in the same place you manage orders. You still own the registration and filing decisions.

How to Track Sales Tax Collected

Track sales tax collected by reporting it by jurisdiction and by period, separate from revenue. You need three numbers per state per period: gross sales, taxable sales and tax collected.

What to record

  • Order date, order number and ship-to state
  • Taxable and non-taxable amounts per order
  • Tax rate applied and tax amount collected
  • Refunds and the tax returned on them
  • Exempt sales and the resale certificate on file

Export a monthly tax report from your store or Stripe dashboard and reconcile it against your bookkeeping software. Treat collected tax as a liability, not income. A common mistake is spending it, then scrambling when the return is due. Move it into a separate savings account each week.

Keep records for the period your state requires. Retention rules differ by state, commonly three to four years and sometimes longer, so check your state's revenue department guidance.

Worked example: one quarter, two states

Say you run a home decor shop based in Texas with permits in Texas and Washington. The sales volumes below are a hypothetical shop, and the rates are assumed averages for illustration, not current published rates. In a quarter you ship $20,000 of taxable goods to Texas buyers and $6,000 to Washington buyers, with $500 of Texas sales refunded.

  • Texas: gross sales $20,000, less $500 refunds = $19,500 taxable. At an assumed average combined rate of 8%, tax due is $1,560.
  • Washington: $6,000 taxable at an assumed 9.5% destination-based average = $570.
  • Total to remit: $2,130, filed on two separate state returns, each with its own jurisdiction breakdown.

Notice you can't net one state against the other, and the refunds reduce only the Texas return. Setting aside roughly 8 to 10 percent of taxable sales weekly would have covered this bill in full.

How to File Sales Tax Returns for a Small Online Business

You file by logging into your state revenue portal and submitting a return that reports sales and tax collected, then paying what you owe. Most states want a return even if you collected nothing, so a zero return is still required.

Sales tax filing frequency

The state assigns your frequency, usually based on expected volume. Smaller sellers often file quarterly or even annually. Larger ones file monthly. When you register, the state tells you your schedule and due dates, often the 20th of the following month, though dates vary.

FrequencyTypically assigned toDue
MonthlyHigher-volume sellersAround the 20th of the next month (varies)
QuarterlyModerate volumeAfter each quarter ends
AnnuallyVery low volumeAfter year end

Filing sales tax returns for ecommerce, step by step

  1. Pull your tax report for the period, by jurisdiction.
  2. Log into the state portal and open the return for that period.
  3. Enter gross sales, exempt sales, taxable sales and tax collected.
  4. Apply any vendor discount or credit the state offers for timely filing.
  5. Submit payment and save the confirmation.
  6. Record the payment in your books and clear the liability.

Late filing brings penalties and interest, and states can assess you for tax you should have collected. If you've missed periods, many states run voluntary disclosure programs that reduce penalties, so contact them before they contact you.

When to automate filing

Once you're registered in three or four states, manual filing eats hours. Filing services such as Avalara, TaxJar and Anrok exist for exactly this. Compare monthly fees against the hours you spend and the risk of errors. Also keep in mind that marketplaces like Amazon and Etsy collect and remit tax on sales made through their platforms in most states, so those orders usually don't belong on your own return the same way.

Common Mistakes That Cost Sellers Money

The expensive errors are predictable. Avoid these and you're ahead of most new sellers.

  • Collecting without a permit. It's illegal in most states, and you can't just refund it later and forget it.
  • Ignoring economic nexus. Crossing a threshold usually starts a clock, often requiring registration within weeks.
  • Using one rate for everyone. Destination rules mean different buyers pay different amounts.
  • Forgetting refunds. Refunded orders reduce the tax you owe for that period.
  • Treating collected tax as cash. It belongs to the state.
  • Skipping zero returns. They still carry penalties if missed.

Dropshippers face extra wrinkles since the supplier's location and resale certificates matter. If that's your model, our walkthrough on starting a dropshipping boutique covers the setup.

Get Tax Right Without Making It Your Full-Time Job

The routine is simple once it's running: register where you have nexus, let automation calculate rates by address, export a report each period, and file on your state's schedule. Set a calendar reminder for each due date and a weekly transfer into a tax savings account. For anything unusual, a CPA is cheap insurance.

If you're building a store and want checkout, order reporting and Stripe already wired together, Rovela generates a complete store from a plain-language conversation, with an admin dashboard and Stripe checkout included in one flat subscription. See Rovela's pricing or start at rovela.ai. You can also check IRS.gov for federal business tax basics, while sales tax itself stays a state matter.

Your dream store is one sentence away.