Introducing Financial Audit Bench Read the post →

E-Commerce Accounting: Inventory, Sales Tax, Multichannel

E-commerce accounting is the discipline of tracking revenue, cost of goods sold, inventory value, and tax obligations for businesses that sell products online. It works by recording gross sales from each channel, matching the cost of inventory to the period in which it sells, reserving for expected returns, and collecting and remitting sales tax in every state where the seller has nexus. It differs from traditional retail accounting because sales happen across multiple platforms at once, revenue recognition timing can be complex, and sales tax obligations now extend into nearly every U.S. state for sellers who cross economic nexus thresholds. Getting these three pillars right, inventory, revenue recognition, and sales tax, is what separates a business that scales cleanly from one that faces costly corrections at audit time.

Why E-Commerce Accounting Is Different

A brick-and-mortar retailer typically sells in one state, recognizes revenue at the register, and tracks one inventory location. An online seller faces a fundamentally different environment.

Inventory may sit in a third-party fulfillment center in six states at once, creating sales tax nexus in states the seller never intended to touch. Revenue flows in from Amazon, Shopify, and wholesale portals, each with different payout timing, platform fees, and refund rates. Return rates for online apparel commonly run 20 to 40 percent and for electronics roughly 8 to 15 percent, well above in-store return rates for many categories (industry estimate; actual rates vary by product and retailer). Standard cash-basis bookkeeping cannot handle this complexity, and the IRS does not allow it for many businesses that carry inventory above certain thresholds.

Accrual vs. Cash: Which Method Applies

Under IRS Publication 334, businesses whose average annual gross receipts over the prior three tax years exceed the small business taxpayer threshold must generally use accrual accounting and account for inventory. That inflation-adjusted threshold is $32 million for tax years beginning in 2026, up from $31 million in 2025 (codified under IRC Section 448 and IRC Section 471). Businesses below that threshold have more flexibility, including the option to treat inventory as non-incidental materials and supplies or to conform to their financial accounting treatment, but most e-commerce businesses with meaningful stock still benefit from accrual accounting because it matches the cost of goods sold to the period in which those goods were sold. That match is the foundation of accurate margin reporting.

Inventory Costing: The Three Methods That Matter

E-commerce accounting lives and dies on how a business assigns cost to the inventory it sells. The IRS permits four primary methods: specific identification, first-in first-out (FIFO), last-in first-out (LIFO), and weighted average cost. In practice, most online retailers use one of three.

FIFO (First-In, First-Out)

FIFO assumes the oldest inventory is sold first. During periods of rising costs, FIFO produces lower cost of goods sold and higher reported profits because cheaper, older costs flow to the income statement. For e-commerce businesses with perishable or trend-sensitive inventory, FIFO often mirrors actual physical flow, which is why auditors and lenders generally view it favorably.

LIFO (Last-In, First-Out)

LIFO assumes the most recently acquired goods are sold first. During inflationary periods, this produces higher COGS and lower taxable income, a real tax deferral for businesses with growing inventory layers. To adopt LIFO, you must file IRS Form 970 with the tax return for the first year you use the method, and once adopted you cannot switch away from it without IRS consent. LIFO also carries a book conformity requirement: if you use LIFO for tax, you must generally use it in your financial statements as well. Note that LIFO is not permitted under IFRS, which matters for any company with foreign investors or international reporting obligations.

Weighted Average Cost

Weighted average divides total inventory cost by total units on hand. This smooths out price fluctuations and works well for businesses selling commoditized products where individual unit tracking is impractical, such as a seller moving thousands of identical components through Amazon FBA.

Cost of Goods Sold Formula

Regardless of the method chosen, the basic COGS calculation is:

Beginning Inventory + Purchases During the Period – Ending Inventory = Cost of Goods Sold

The choice of inventory method changes what dollar amount sits in ending inventory and therefore how much flows to COGS. A business cannot choose the method retroactively after seeing the year’s results. This is a common audit finding for early-stage online sellers who have been informally tracking inventory and then formalize their books for a lender or investor.

Revenue Recognition Under ASC 606

For companies preparing financial statements under U.S. GAAP, revenue recognition is governed by FASB ASC 606, the five-step framework created by ASU 2014-09 that replaced the old industry-specific guidance. For most product-based e-commerce businesses, the five steps resolve quickly: a purchase order is the contract, delivering the product is the performance obligation, and revenue is recognized when control transfers to the customer, typically at shipment or delivery depending on the shipping terms.

Where E-Commerce Gets Complicated

Returns and refund reserves. Under ASC 606, a seller cannot recognize revenue for units expected to be returned. A refund liability must be recorded equal to expected returns, and a corresponding asset is recognized for the right to recover returned goods. If your return rate is 15 percent and you recognize 100 percent of revenue at shipment, your financials are overstated. This is a frequent adjustment item in quality-of-earnings analyses for e-commerce companies going through a sale or investment.

Gift cards and store credits. Unearned revenue from gift cards must sit on the balance sheet until the customer redeems them. Breakage, meaning the portion expected to never be redeemed, can be recognized proportionally as gift cards are used, but requires a reasonable and documented estimate.

Bundled products and subscriptions. Businesses selling subscription boxes or bundled product-plus-service offerings must allocate the transaction price to each distinct performance obligation based on relative standalone selling prices. For a box subscription that also includes access to a members-only portal, the accounting team needs to separate product revenue from service revenue.

Tax treatment timing. Under the IRC Section 451(b) applicable financial statement (AFS) income inclusion rule added by the Tax Cuts and Jobs Act, an accrual-basis taxpayer with an AFS must recognize revenue for federal income tax purposes no later than when it is taken into account in that financial statement. Advance payments can generally be deferred no more than one year under Section 451(c). The practical implication is that your book revenue recognition policy drives your tax timing, so changes to accounting estimates ripple through the tax provision.

E-Commerce Sales Tax: Economic Nexus and Marketplace Facilitators

Sales tax is where e-commerce accounting diverges most sharply from traditional retail, and where the compliance burden has grown fastest since 2018.

The Wayfair Decision and Economic Nexus

In *South Dakota v. Wayfair, Inc.* (2018), the Supreme Court held that states may require out-of-state sellers to collect and remit sales tax based on economic activity alone, without a physical presence in the state. That ruling effectively opened every U.S. state to sales tax obligations for online sellers who cross each state’s nexus threshold.

The most common threshold is $100,000 in annual sales into the state, though California and Texas use a $500,000 revenue-only test. New York uses a dual test that requires more than $500,000 in sales and more than 100 transactions before nexus attaches. Kansas sets its threshold at $100,000 in sales. Many states originally paired the revenue test with a 200-transaction test, but that second prong is disappearing. Illinois removed it on January 1, 2026, and Kentucky removed it on August 1, 2026. By mid-2026, roughly two dozen sales-tax states rely solely on a revenue test, a trend that continues to narrow the population of sellers who can avoid registration by keeping transaction counts low.

The practical implication: a seller moving $150,000 in product into a state that uses only the $100,000 revenue test is obligated to register, collect, and remit, regardless of how many individual orders made up that volume.

Marketplace Facilitator Laws

Every U.S. state that imposes a statewide sales tax now has a marketplace facilitator law requiring platforms such as Amazon, Walmart Marketplace, and eBay to collect and remit sales tax on behalf of their third-party sellers. Amazon, for example, collects and remits as a marketplace facilitator in all 45 states with a statewide sales tax plus the District of Columbia. This shifts the compliance burden for marketplace transactions from the individual seller to the platform.

What marketplace facilitator laws do not cover:

  • Sales made directly through the seller’s own website (Shopify, WooCommerce, or a custom storefront)
  • Wholesale or B2B sales made outside the marketplace
  • States where inventory stored in a fulfillment center creates physical nexus independent of economic nexus thresholds

Amazon FBA is a prime example of the last point. When Amazon receives your inventory at its warehouse in, say, Pennsylvania, your business has a physical presence in Pennsylvania. This can create nexus before you cross the economic nexus threshold in that state, and it may obligate you to register even if Amazon is collecting tax on your behalf for marketplace transactions. Many sellers are unaware of this until an accountant or tax advisor maps their FBA inventory locations to state registration requirements.

What Multichannel Sellers Must Do

A business selling on Amazon, through its own Shopify store, and at occasional trade shows faces potential nexus in dozens of states. The compliance checklist looks like this:

  1. Map where inventory physically resides and where employees or contractors operate.
  2. Calculate trailing 12-month sales into each state and compare against that state’s current revenue threshold.
  3. Register in every state where nexus is triggered, even if a marketplace is remitting on your behalf for platform sales, because your direct-channel sales in that state may require separate filing.
  4. Configure your sales channel to collect the right rate by jurisdiction (state, county, city, and special district rates all stack).
  5. File returns on the schedule required by each state, which may be monthly, quarterly, or annually depending on sales volume.

Tax automation software, such as Avalara or TaxJar, can handle rate calculation and filing management, but those tools are only as accurate as the nexus analysis and registration foundation underneath them. Getting that foundation right typically requires professional guidance, especially in the first year a business scales past the $100,000 threshold in multiple states. Modus’s tax advisory practice works with growing online retailers to map nexus exposure and design a registration and filing cadence that keeps compliance current as the business scales.

Multichannel Accounting: Keeping the Books Clean

Selling across multiple channels creates a reconciliation problem. Amazon deposits a net settlement every two weeks that bundles gross sales, refunds, platform fees, FBA storage fees, and advertising charges into a single number. Shopify payouts similarly net down from gross sales. If a business books these deposits as revenue, it is understating gross sales, overstating margins, and losing visibility into which channel is actually profitable.

Best Practice: Gross-Up Every Channel

Each channel’s revenue should be recorded at gross sales, with marketplace fees, shipping costs, and platform charges recorded as separate expense line items. This preserves the margin analysis that management and investors need. It also produces accurate revenue figures for financial statement purposes, since GAAP requires gross revenue presentation unless the business is acting purely as an agent.

Reconciling to Tax Forms

Amazon, Walmart, Shopify, and other platforms issue Form 1099-K reporting gross payment volume for sellers above the reporting threshold, which the One Big Beautiful Bill Act of 2025 restored to more than $20,000 and more than 200 transactions for 2025 and later years. Box 1a reports gross sales before fees, refunds, and shipping, so it will exceed the net cash the platform actually deposits. The IRS matches those forms to tax returns, so if a business’s reported gross revenue is significantly lower than the 1099-K amounts, an inquiry is likely. Proper gross-up accounting and a clear reconciliation from 1099-K to the income statement eliminate that risk.

Integration and Automation

The accounting stack for a mid-market e-commerce business typically includes an ERP or accounting platform (QuickBooks, NetSuite, or similar), a connector tool that maps each channel’s data to the chart of accounts, and a sales tax automation layer. Getting this stack configured correctly at the start of a fiscal year is far less expensive than reconstructing it during an audit or diligence process.

Modus’s advisory team helps e-commerce CFOs and controllers evaluate and implement accounting infrastructure scaled to multichannel complexity. AI-native workflows can accelerate the reconciliation process and reduce the manual touch points that create errors in high-transaction environments.

Frequently Asked Questions

What accounting method do e-commerce businesses have to use?

E-commerce businesses with average annual gross receipts over the small business taxpayer threshold, which is $32 million for tax years beginning in 2026 (indexed for inflation), must generally use accrual accounting and account for inventory under IRS rules. Smaller businesses have more flexibility, but accrual accounting is strongly recommended for any seller carrying meaningful inventory because it properly matches cost of goods sold to the period in which inventory is sold.

How does marketplace facilitator sales tax affect my filing obligations?

Marketplace facilitator laws require platforms like Amazon and Walmart Marketplace to collect and remit sales tax on your behalf for transactions made on their platform. However, you may still have registration and filing obligations in states where you have nexus, especially if you also sell through your own website, store inventory in fulfillment centers, or make wholesale sales. Do not assume that Amazon collecting tax on marketplace sales eliminates all of your state sales tax obligations.

What is economic nexus and when does it apply to online sellers?

Economic nexus is a threshold of in-state sales that obligates an out-of-state seller to collect and remit that state’s sales tax, based on the 2018 *South Dakota v. Wayfair* Supreme Court ruling. The most common threshold is $100,000 in annual sales into a state. Many states have eliminated the secondary 200-transaction test, so a small number of large orders can trigger nexus just as readily as a high volume of smaller orders.

Which inventory costing method is best for an e-commerce business?

There is no universally best method. FIFO is common for businesses with trend-sensitive or perishable inventory because it often mirrors physical flow and is accepted under both GAAP and IFRS. LIFO can produce tax savings during inflationary periods but requires IRS approval and is prohibited under IFRS. Weighted average works well for sellers of commoditized, undifferentiated products. The most important rule is consistency: pick a method, document it in your accounting policy, and apply it every year without switching unless you receive IRS consent.

How should e-commerce businesses handle sales returns in their accounting?

Under FASB ASC 606, businesses must estimate expected returns and record a refund liability rather than recognizing full revenue at the point of sale. A corresponding asset is recorded for the right to recover returned goods. The revenue adjustment should be based on historical return rates by product category, updated each reporting period. Understating return reserves is a common adjustment in quality-of-earnings reviews and financial statement audits of e-commerce companies.

Does selling on multiple platforms create additional accounting complexity?

Yes, and the complexity grows with each channel. Each platform reports and remits payouts differently, netting out fees, refunds, and charges in ways that can mask true gross revenue. Best practice is to record gross sales from each channel separately, with platform fees and fulfillment costs as distinct line items. This produces accurate revenue figures, supports channel-level profitability analysis, and reconciles cleanly to the 1099-K forms each platform issues for tax reporting purposes.

Filed under: Industry Accounting Retail & E-commerce