E-commerce accounting: A complete guide for online sellers
Running an online store means tracking sales, fees, and tax so you always know your real profit.

Written by Marcus James—Business editor and content specialist. Read Marcus' full bio
Published Monday 21 September 2026
Table of contents
Key takeaways
- E-commerce accounting means recording the sales, fees, refunds, inventory, and tax that move through your online store, so you can see your true profit.
- Online payouts arrive bundled, so a bank deposit isn't your revenue; you need to separate gross sales from platform fees and refunds.
- Sales tax depends on where you have economic nexus, and income from selling online is taxable whether or not a platform sends you a form.
- The right software and a simple monthly routine keep your books accurate and make tax time far less stressful.
What is e-commerce accounting?
E-commerce accounting is the practice of recording, organizing, and reconciling all the money that moves through your online store. It covers your sales, the fees each platform takes, refunds, shipping, sales tax you collect, and the cost of the products you sell.
Done well, it answers one question clearly: how much are you actually making? For a solo seller on Etsy, eBay, or Shopify, that clarity is what tells you whether a product line is worth restocking and how much to set aside for tax. It also shows which costs eat into each sale, so you can price your products with confidence instead of guessing.
How is e-commerce accounting different from regular bookkeeping?
Regular bookkeeping often deals with one bank account and simple invoices. Online selling adds layers that a standard setup can miss:
- Bundled payouts: Platforms deposit a net figure after taking their cut, so one deposit hides several transactions.
- Multiple sales channels: You might sell on Shopify and a marketplace at once, each with its own fees and reports.
- Sales tax you collect: Money you gather for tax passes through your account but isn't income.
- Inventory across channels: The same stock can sell in more than one place, so tracking what you have gets harder.
Cash vs accrual accounting: Which method fits your store?
Your accounting method decides when you record income and expenses. The two main options are cash and accrual, and the right one depends on how you sell.
Cash accounting records money when it actually lands in or leaves your account. It's simpler and suits sellers with little or no inventory, such as someone selling digital downloads or print-on-demand items.
Accrual accounting records income when you make a sale and expenses when you incur them, even if the cash moves later. It usually fits inventory-based sellers better because it matches the cost of a product to the sale that earned the money, giving a truer picture of profit.
The Internal Revenue Service (IRS) lets most small sellers choose either method, though businesses that carry significant inventory may need accrual. If you're unsure which applies to you, a quick check with a tax professional can settle it early.
How to set up bookkeeping for your online store
Solid online store bookkeeping starts with a few foundations that keep your records clean from day one. Work through these five steps in order:
1. Open a separate business bank account
Mixing personal and business money is one of the fastest ways to lose track of profit. Open a dedicated account and route all store income and expenses through it, so every transaction has a clear home.
2. Connect your sales channels and payment processors
Link each place you sell and get paid, including Shopify, Etsy, eBay, Amazon, WooCommerce, Stripe, and PayPal. Pulling this data into one place is the heart of accurate shopify accounting and saves you from copying figures by hand.
3. Choose your accounting software
Pick a tool that imports your bank feed, connects to your sales channels, and handles inventory and sales tax. The right software turns hours of manual entry into a short review each week.
4. Set a regular reconciliation routine
Reconciling means matching the transactions in your books against what actually hit your bank account. Set a fixed time each week or month to do it, because small gaps are easy to fix now and painful to untangle at tax time.
5. Keep digital records of receipts and invoices
Save a digital copy of every receipt, supplier bill, and customer invoice. Good invoicing habits and organized records back up your numbers and make deductions simple to claim.
Tracking inventory and cost of goods sold
If you buy or make physical products, inventory accounting online store work is where much of your profit is decided. The key figure is cost of goods sold (COGS): what it cost you to buy or make the products you actually sold in a period.
To get COGS right, you first need to value your inventory. Two simple methods cover most solo sellers.
- FIFO (first in, first out): This assumes you sell your oldest stock first, which often reflects how physical goods move.
- Weighted average cost: This spreads the cost of all similar units evenly, which suits sellers who buy the same item in batches at different prices.
One figure sellers often forget is landed cost: the product price plus shipping, duties, and fees to get the item to you. An eBay reseller who ignores inbound shipping will overstate profit on every sale, so fold those costs into what each item truly costs you.
Reconciling payouts, platform fees, and refunds
A payout is rarely the same as your sales. Platforms like Shopify, Stripe, PayPal, and marketplaces deposit a net amount after subtracting their fees, refunds, and sometimes the sales tax they collected on your behalf.
Treating that deposit as revenue is a common and costly error. To reconcile a bundled payout correctly, break it back into its parts and match each one to your records.
- Gross sales: Record the full value of what customers paid before any deductions.
- Platform and processing fees: Log these as business expenses you can deduct.
- Refunds and chargebacks: Subtract money returned to customers from your income.
- Shipping charged and paid: Track what you collected for shipping against what you spent.
- Sales tax collected: Set this aside as money you owe, not money you earned.
Once each part is recorded, the net figure left over should match the deposit in your bank account. For a Shopify store owner, doing this each time a payout arrives keeps your books tied to reality. Catching a mismatch early also means you can query a missing payout or a duplicated fee while the details are still fresh.
Tax obligations for online sellers
Selling online brings two separate tax duties: collecting sales tax from customers and paying tax on your own income. They work differently, so it helps to take them one at a time.
Sales tax and economic nexus
Most US states require online sellers to collect sales tax once they pass that state's economic nexus threshold, a sales or transaction level each state sets on its own. This rule follows the 2018 Supreme Court decision in South Dakota v. Wayfair.
Many states set a common threshold around $100,000 in sales or 200 transactions, but it varies, so check every state where you have customers. Marketplace facilitator laws mean large marketplaces often collect and remit sales tax for you, though you still need to know where you have obligations.
Income tax and self-employment tax
Income from selling online is taxable whether or not you receive a Form 1099-K. Self-employed sellers report business income and expenses on Schedule C and pay self-employment tax of 15.3% (12.4% for Social Security plus 2.9% for Medicare) on top of income tax.
For 2026, a platform must send you a Form 1099-K only when your gross payments top $20,000 and you have more than 200 transactions, a threshold restored by the One Big Beautiful Bill. You can read the current rules on the IRS Form 1099-K page. Because tax isn't withheld from your sales, many sellers make estimated quarterly payments to avoid a large bill.
Financial reports every online seller should track
Three core reports turn your bookkeeping into decisions you can act on. You don't need an accounting degree to read them, just a habit of checking them regularly.
- Income statement: Also called a profit and loss statement, it shows your revenue minus expenses over a period, so you can see whether you're making money.
- Balance sheet: This is a snapshot of what you own and owe on a given date, including inventory and any outstanding bills.
- Cash flow statement: This tracks the cash flow moving in and out, which matters when your money is tied up in stock.
Common e-commerce accounting mistakes to avoid
Most bookkeeping trouble comes from a handful of repeat mistakes. Spotting them early keeps your records clean and your profit figures honest.
- Recording gross deposits as revenue: A bundled payout isn't your sales figure, so record the full sale and the fees separately.
- Ignoring platform fees: Fees add up fast and are deductible, so log every one.
- Mixing personal and business money: Separate accounts keep your records clear and defensible.
- Forgetting sales tax: Money you collect for tax isn't income, so set it aside.
- Not tracking inventory: Without inventory records, your COGS and profit are guesswork.
- Leaving the books until tax time: A year of unsorted transactions is far harder than a few minutes each week.
How to choose e-commerce accounting software
The right ecommerce bookkeeping software should do the repetitive work for you and fit the way you sell. The goal isn't the longest feature list; it's the tool that keeps your books current with the least effort. When you compare options, look for a short list of practical features.
- Bank feeds: Automatic imports save you from typing in every transaction.
- Sales-channel integrations: Direct links to your stores and payment processors keep data in one place.
- Inventory tracking: Built-in stock and COGS tracking protects your profit figures.
- Sales-tax handling: Tools that help you track tax by state ease a real headache.
- Clear reporting: Simple income, balance, and cash flow reports help you decide with confidence.
- Ease of use: A tool you understand is one you'll actually keep up with.
If you want to compare capabilities side by side, review the accounting software features that matter most for an online store before you commit.
Simplify your online store finances with Xero
Keeping your sales, fees, inventory, and tax in one clear view shouldn't eat your evenings. Xero brings your online store finances together, connects to your bank feed and sales channels, and automates the routine work so you can focus on selling.
Start today and get 90% off for six months.
FAQs on e-commerce accounting
Here are quick answers to the questions online sellers might ask about keeping their books in order.
Do you need special accounting software for your online store?
You don't strictly need it, but software that connects to your sales channels and bank feed saves hours and cuts errors. Manual spreadsheets get risky once you sell across more than one platform.
What's the difference between economic nexus and marketplace facilitator laws?
Economic nexus is your sales threshold that triggers your own tax collection duty. Marketplace facilitator laws mean large platforms like Amazon and Etsy often collect and remit sales tax on your behalf, so you don't have to. You still need to know your economic nexus in every state because if a marketplace doesn't collect for you (or you sell outside marketplaces), you're responsible. Check your platform's tax settings to see which states it handles.
What counts as inventory for COGS, and what doesn't?
Inventory includes physical products you buy or make to sell. Cost of goods sold (COGS) is only the cost of items you actually sold in a period – not your entire stock. Don't forget landed costs: the product price plus inbound shipping, duties, and fees to get items to you. Packaging, labels, and office supplies you use but don't sell go in operating expenses, not COGS.
What if a platform doesn't send me a Form 1099-K?
You still owe tax on your income whether or not you get a 1099-K. Report all sales on your Schedule C tax return, including those below the $20,000/200-transaction threshold. Keep your own records (bank statements, platform reports, invoices) as backup. If the IRS ever questions your numbers, your records – not the 1099-K – prove what you earned.
Get 90% off for 6 months
Get 90% off for 6 months on any Xero plan.