Skip to article
Analytics & Business

Ecommerce Accounting and Bookkeeping: The Complete Guide for Online Sellers

Understand chart of accounts, revenue recognition, inventory valuation, tax reserves, and the SOP that separates profitable businesses from chaotic ones. Includes a spreadsheet template.

SW

StoreWiz Team

Dec 27, 2025 · 14 min read

Ecommerce Accounting and Bookkeeping: The Complete Guide for Online Sellers

TL;DR

Ecommerce accounting is not the same as traditional bookkeeping. You need to track sales tax across 46+ states, reconcile payments from Shopify, Amazon, and PayPal on different schedules, account for COGS with landed costs, and handle inventory as an asset on your balance sheet. Most sellers overpay taxes or underpay them (triggering audits) because they treat revenue as income without subtracting returns, chargebacks, and marketplace fees first. This guide covers the exact chart of accounts, reconciliation workflows, and tax obligations every online seller needs.

If you sell products online, your bookkeeping is more complicated than a typical small business. You have multiple payment processors depositing money on different schedules, sales tax obligations in states you have never visited, inventory sitting in warehouses that counts as an asset until it ships, and returns that reverse revenue weeks after the original sale.

Get it wrong and the consequences are real: overpaying estimated taxes by thousands, triggering state sales tax audits, or discovering at year-end that your “profitable” business actually lost money once you account for inventory shrinkage and uncollected receivables.

This guide walks you through the complete accounting and bookkeeping framework for ecommerce sellers — from setting up your chart of accounts to reconciling payments, tracking COGS, and staying compliant with sales tax in 2026.

Why Ecommerce Accounting Is Different From Traditional Bookkeeping

A local retail store has one cash register, one location, and one set of tax rules. An ecommerce seller has none of those luxuries. Here is what makes online seller bookkeeping fundamentally different:

FactorTraditional RetailEcommerce
Sales Tax1 state, 1 rate46 states, 12,000+ jurisdictions
Payment TimingSame-day deposits2-14 day delays across processors
ReturnsImmediate in-store30-60 day windows, cross-period
Revenue RecognitionPoint of saleWhen shipped? When delivered? When charged?
FeesCard processing onlyPlatform fees, marketplace commissions, app subscriptions, shipping labels

These differences mean you cannot just hand your Shopify CSV to a generalist bookkeeper and expect accurate financials. You need an ecommerce-specific approach.

Setting Up Your Ecommerce Chart of Accounts

Your chart of accounts is the backbone of your bookkeeping. Most accounting software comes with a generic template that misses critical ecommerce categories. Here is the recommended structure:

Revenue Accounts

Cost of Goods Sold (COGS) Accounts

Operating Expense Accounts

Common Mistake

Do not lump all advertising into one account. When tax time comes, you need to know exactly how much you spent on each platform. Separating ad spend by channel also lets you calculate true ROAS per platform in your P&L.

COGS and Inventory Accounting for Ecommerce

Inventory accounting is where most ecommerce sellers make their biggest mistakes. Inventory is an asset, not an expense. You do not expense inventory when you buy it — you expense it when you sell it. This distinction matters enormously for taxes and profitability reporting.

The Inventory-to-COGS Flow

Step 1: Purchase inventory → Debit: Inventory Asset / Credit: Cash (or AP)

Step 2: Sell a unit → Debit: COGS / Credit: Inventory Asset

Step 3: Record revenue → Debit: Cash (or AR) / Credit: Revenue

Inventory Valuation Methods

The IRS requires you to use a consistent valuation method. The three options:

MethodHow It WorksBest ForTax Impact
FIFOFirst units purchased are first expensedMost ecommerce sellersHigher taxable income when costs rise
LIFOLast units purchased are first expensedRare for ecommerceLower taxable income when costs rise
Weighted AverageAverage cost across all unitsHigh-SKU stores with frequent reordersSmooths out cost fluctuations

Calculating Landed Cost

Your true COGS is the landed cost — everything it takes to get the product into your warehouse ready to ship:

  1. 1.Product purchase price (ex-factory or FOB)
  2. 2.International freight (ocean, air, or courier)
  3. 3.Customs duties and import taxes
  4. 4.Domestic freight (port to warehouse)
  5. 5.Inspection and quality control costs
  6. 6.Packaging and labeling
  7. 7.Warehousing prep fees (if using 3PL or FBA)

Example Calculation

Product cost: $8.00 + Freight: $1.80 + Duties: $0.64 + Packaging: $0.75 + 3PL prep: $0.40 = Landed cost: $11.59. That is 45% higher than the raw product price. If you only track the $8.00 in your books, your profit calculations are wrong on every single order.

Payment Reconciliation: Matching Deposits to Sales

This is the most time-consuming part of ecommerce bookkeeping. The money that hits your bank account does not match your sales. Here is why:

Step-by-Step Reconciliation Process

  1. 1.Record gross revenue at the order level (what the customer paid, including shipping and tax collected)
  2. 2.Record fees separately — do not just book the net deposit as revenue
  3. 3.Match deposits to payout reports from each processor (Shopify, Amazon, PayPal)
  4. 4.Record returns as contra-revenue when processed (not when the customer initiates)
  5. 5.Reconcile sales tax collected against sales tax owed (they differ due to returns and platform-remitted tax)
  6. 6.Run a monthly bank reconciliation to catch any discrepancies

Pro Tip

Create a “clearing account” for each payment processor. When a sale happens, book revenue and debit the clearing account. When the deposit arrives, credit the clearing account and debit cash. Any remaining balance in the clearing account represents fees, returns, or holds — making discrepancies immediately visible.

Sales Tax Compliance for Online Sellers

Since the 2018 South Dakota v. Wayfair decision, states can require online sellers to collect sales tax even without a physical presence. The trigger is economic nexus — exceeding a revenue or transaction threshold in a state.

Where You Have Nexus

You have sales tax obligations in a state if any of these apply:

Marketplace Facilitator Laws

As of 2026, nearly every state with sales tax has marketplace facilitator laws. This means Amazon, Walmart, Etsy, and similar platforms collect and remit sales tax on your behalf for orders placed through their marketplace.

However, you are still responsible for:

Warning

FBA sellers have physical nexus in every state where Amazon stores your inventory. Amazon distributes your products across dozens of fulfillment centers. You may have nexus in 20+ states without realizing it. Check your FBA inventory placement reports quarterly.

How Often to Do Your Books: The Ecommerce Schedule

The frequency depends on your revenue. Here is a practical schedule:

TaskUnder $50K/mo$50K–$250K/mo$250K+/mo
Bank reconciliationMonthlyWeeklyDaily
P&L reviewMonthlyWeeklyWeekly
Inventory countQuarterlyMonthlyMonthly
Sales tax filingQuarterlyMonthlyMonthly
Cash flow forecastMonthlyWeeklyWeekly

Best Accounting Tools and Software for Ecommerce

No single tool handles everything. Here is the recommended stack:

Accounting Software

Ecommerce-Specific Add-Ons

The challenge with this approach is managing multiple tools and ensuring data flows correctly between them. Platforms like StoreWiz are beginning to consolidate these functions — auto-categorizing expenses, syncing revenue data, and tracking per-SKU profitability without needing four separate subscriptions.

7 Common Ecommerce Bookkeeping Mistakes to Avoid

  1. 1.
    Booking net deposits as revenue. Your Shopify payout is NOT your revenue. It is revenue minus fees, refunds, and chargebacks. Always book gross revenue and record deductions separately.
  2. 2.
    Expensing inventory purchases immediately. A $50,000 inventory order is an asset, not an expense. Expensing it in the month of purchase destroys your P&L accuracy and may understate taxable income.
  3. 3.
    Ignoring sales tax obligations. States are getting aggressive about enforcement. Penalties include back taxes, interest (often 10-12% annually), and fines.
  4. 4.
    Mixing personal and business expenses. This is the fastest way to trigger an audit. Use separate bank accounts and credit cards for your business.
  5. 5.
    Not reconciling Amazon payouts. Amazon deducts dozens of fee types. Without reconciling, you will never know your true Amazon profitability.
  6. 6.
    Forgetting to account for inventory shrinkage. Damaged goods, lost shipments, and warehouse miscounts reduce your inventory value. Adjust quarterly.
  7. 7.
    Waiting until year-end to do books. Twelve months of unreconciled transactions takes 40+ hours to clean up. Monthly bookkeeping takes 2-4 hours.

Key Takeaways

  • Set up ecommerce-specific chart of accounts with separate revenue, COGS, and expense categories per channel
  • Inventory is an asset until sold — use FIFO valuation and calculate landed costs, not just purchase price
  • Reconcile payment processor deposits to gross revenue, booking fees and returns separately
  • Sales tax nexus applies in every state where you have inventory, employees, or exceed economic thresholds
  • Marketplace facilitator laws cover Amazon and Walmart sales but not your own Shopify store
  • Do monthly bookkeeping — annual catch-ups cost 10x more time and lead to errors
  • Use A2X or similar connectors to bridge Shopify/Amazon payouts to your accounting software

Frequently Asked Questions

Do I need a CPA or can I do ecommerce bookkeeping myself?

You can handle day-to-day bookkeeping yourself with QuickBooks and A2X, especially under $500K/year. However, you should hire an ecommerce-specialized CPA for tax planning, sales tax compliance setup, and annual tax filing. A generalist CPA often misses ecommerce-specific deductions and inventory accounting nuances. Budget $2,000–$5,000/year for a good ecommerce CPA.

How do I handle returns that cross accounting periods?

Book returns when the refund is processed, not when the customer initiates the return. If a sale was recorded in January and the refund processes in February, the return hits February's books. For year-end reporting, estimate a return reserve based on your historical return rate (typically 15–30% for apparel, 5–10% for other categories).

Should I use cash basis or accrual basis accounting?

If you have inventory, the IRS generally requires accrual basis for businesses over $27 million in gross receipts (as of 2026). Below that threshold, many ecommerce sellers use a hybrid approach: accrual for inventory and COGS, cash for operating expenses. Your CPA should determine the best method for your tax situation.

How do I account for Amazon FBA fees?

Amazon bundles dozens of fee types into their settlement reports: referral fees, FBA fulfillment fees, storage fees, advertising costs, reimbursements, and more. Use A2X to automatically break these into separate accounting categories. Referral fees and FBA fulfillment fees are COGS. Storage fees and advertising are operating expenses. Reimbursements should offset the original fee category.

What records do I need to keep and for how long?

Keep all financial records for at least 7 years (the IRS can audit up to 6 years back in cases of significant underreporting). This includes bank statements, payment processor reports, supplier invoices, shipping receipts, sales tax filings, inventory counts, and all accounting software backups. Store digital copies in cloud storage with regular backups.

SW

Written by StoreWiz Team

Accounting

The StoreWiz team writes about ecommerce automation, AI operations, and growth strategies for modern online sellers. Our insights come from building technology that helps brands scale without scaling headcount.

Stay Ahead

Get pricing & growth strategies in your inbox

Join 2,000+ ecommerce operators getting weekly insights on autonomous commerce, pricing tactics, and AI growth.

No spam. Unsubscribe anytime.