1. Home
  2. Insights
  3. Chart of Accounts for E-commerce: A Template for Shopify and Amazon Sellers

IndustriesChart of Accounts for E-commerce: A Template for Shopify and Amazon Sellers

A chart of accounts built for online sellers: clearing accounts per channel, landed inventory cost, fulfillment, platform fees and returns, with the reason for every line and setup steps in QuickBooks Online.

By Umaima WaheedUpdated

The short answer6 min read

An e-commerce chart of accounts needs a clearing account for each sales channel (Shopify, Amazon, Stripe, PayPal), inventory on the balance sheet with landed cost, and cost of goods sold split into product cost, inbound freight, fulfillment and platform fees. Track refunds and discounts in their own accounts so you can see gross sales, net sales and true contribution per order.

Read the full answer

Online sellers often have two P&Ls: the one in their head ("we did $80k in November!") and the one in QuickBooks ("revenue: $61,412.03, for some reason"). The difference is fees, refunds, discounts and payout timing, all squashed together because the chart of accounts had nowhere better to put them.

This template gives every one of those things its own home. It works for Shopify, Amazon, WooCommerce and wholesale on the side. Every line comes with the reason it exists.

New to the topic? Start with our e-commerce accounting basics.

Three rules for an e-commerce chart of accounts

  1. Record sales gross, then subtract. Gross sales, then discounts, refunds and fees as separate lines. Never just record the payout.
  2. One clearing account per channel. Each platform holds your money for a while before paying out. A clearing account per channel lets you reconcile each one.
  3. Inventory is an asset until it sells. Buying stock isn't an expense. It becomes cost of goods sold when the product ships to a customer. Our guide to e-commerce inventory and COGS explains this in detail.

The template

Turn on account numbers in QuickBooks Online (Settings, Account and settings, Advanced).

Assets (1000s)

NumberAccountWhy it's there
1000Operating CheckingDay-to-day account
1050Savings or ReserveCash set aside
1100Shopify ClearingShopify Payments sales waiting to pay out
1110Amazon ClearingAmazon settlements waiting to pay out
1120Stripe ClearingSee how to reconcile Stripe payouts
1130PayPal ClearingPayPal balance
1150Amazon Reserve (optional)Amounts Amazon holds back
1200Accounts Receivable, WholesaleInvoices to wholesale or retail buyers
1300Inventory AssetProducts on hand, at landed cost
1310Inventory in TransitStock you've paid for that hasn't arrived
1320Inventory DepositsDeposits paid to manufacturers before goods ship
1400Prepaid ExpensesAnnual apps or insurance paid ahead

Liabilities (2000s)

NumberAccountWhy it's there
2000Accounts PayableBills owed to suppliers and 3PLs
2100Credit Cards (one per card)Reconciled separately
2200Gift Cards OutstandingGift cards sold but not yet redeemed
2250Customer Deposits and Pre-ordersPaid for, not yet shipped
2300Sales Tax CollectedMoney collected from customers that belongs to the states, held until it's paid over
2400Payroll LiabilitiesAmounts owed to your payroll provider
2500Loans and Financing (one per loan)Including revenue-based financing

Equity (3000s)

NumberAccountWhy it's there
3000Owner's Equity or Common StockWhat owners put in
3100Owner Draws or DistributionsWhat owners take out
3900Retained EarningsProfit kept over time

Income (4000s)

NumberAccountWhy it's there
4000Product Sales, ShopifyGross sales by channel
4010Product Sales, AmazonGross sales by channel
4020Product Sales, WholesaleInvoiced sales to stores
4100Shipping IncomeWhat customers paid for shipping
4800DiscountsPromo codes and markdowns, as a negative line
4900Refunds and ReturnsMoney returned to customers, as a negative line

Prefer fewer accounts? Use one Product Sales account and track channels with classes instead.

Cost of Goods Sold (5000s)

NumberAccountWhy it's there
5000Product CostCost of units sold, at landed cost
5100Inbound Freight and DutiesIf you don't fold them into landed cost
5200Fulfillment and 3PL FeesPick, pack and storage tied to orders
5300Outbound ShippingPostage and labels
5400PackagingBoxes, mailers, inserts
5500Marketplace FeesAmazon referral and FBA fees, and similar
5600Payment Processing FeesShopify Payments, Stripe, PayPal fees
5700Inventory Adjustments and ShrinkageDamaged, lost or written-off stock

Contribution margin = net sales minus all of the 5000s. For a direct-to-consumer brand, that's often the most useful number on the page.

Operating expenses (6000s)

NumberAccountWhy it's there
6000Advertising, Paid SocialAds by platform if you like (6010, 6020)
6100Advertising, Marketplace AdsSponsored product ads
6200Influencers and AffiliatesPartner payouts
6300Salaries and WagesTeam pay
6350Payroll Costs and BenefitsEmployer costs
6400Software and AppsStore platform, apps, email tools
6500Product Photography and ContentCreative production
6600Professional FeesAccountant, legal
6700Rent and Warehouse (if not 3PL)Your own space
6800Bank FeesNon-processing bank charges

Landed cost in one paragraph

Landed cost is what a product really cost you by the time it reached your warehouse: the factory price plus freight, duties, customs brokerage and inbound handling. If those extras go straight to expenses, your gross margin looks better than it is in the months you receive stock and worse in the months you don't. Folding them into the inventory value spreads them across the units as they sell. Ask your accountant which method to use, and stick with it.

How to set it up in QuickBooks Online, step by step

  1. Export your current chart of accounts as a backup.
  2. Turn on account numbers.
  3. Create a clearing account per channel (type: Bank).
  4. Rename and add accounts to match the template. Rename where possible to keep history.
  5. Decide how sales get in. Most sellers use a connector app that posts one summary per payout or per day into the clearing account rather than every order. See A2X vs Link My Books and our list of e-commerce accounting tools.
  6. Map the connector to these accounts: sales, shipping income, discounts, refunds, fees and sales tax collected each to their own line.
  7. Record payouts as transfers from clearing to checking in the bank feed, not as income.
  8. Set up inventory. If you track units in an inventory app, post COGS monthly from that app's report. If QuickBooks tracks inventory, set each product's cost and accounts.
  9. Reconcile each clearing account monthly to the channel's balance report.

Channel-specific walkthroughs: Shopify payouts reconciliation and Amazon seller accounting.

Common e-commerce mistakes

  • Payouts recorded as sales. Fees and refunds disappear, and revenue is understated.
  • Inventory purchases expensed. Profit swings wildly with every stock order.
  • One "Fees" account for everything. You can't tell if Amazon or the payment processor got more expensive.
  • Advertising in COGS. Muddles contribution margin. Keep ads below the line unless you have a specific reason.
  • No clearing accounts. Nothing reconciles and month-end turns into guesswork.

When to get help

ABFI's e-commerce accounting clients get this structure, connector mapping, landed cost and a monthly close with every channel reconciled.

Comparing options first? See the best e-commerce bookkeeping services.

Keep reading

Sources

  1. Intuit, QuickBooks Online Help, search "Turn on account numbers" and "Track inventory", quickbooks.intuit.com/learn-support. Checked November 6, 2026.
  2. Shopify Help Center, "Payouts for Shopify Payments", help.shopify.com/en/manual/payments/shopify-payments/payouts. Checked November 6, 2026.
  3. Amazon Seller Central Help, "Payments reports" (in Seller Central, search Help for "Payments reports"), sellercentral.amazon.com. Checked November 6, 2026.

Questions owners ask

Do I need a clearing account for Shopify?

Yes, if you want gross sales, fees and refunds to show correctly. It's also the only way to reconcile Shopify to your bank cleanly.

Is inventory an expense for an online store?

Not when you buy it. Inventory is an asset until the product sells, then its cost moves to cost of goods sold.

Should Amazon fees be COGS?

Most sellers put marketplace and fulfillment fees in cost of goods sold, because they're tied to each sale. That makes contribution margin meaningful.

Should I track sales by channel with accounts or classes?

Either works. Separate accounts are simple when you have two or three channels. Classes are tidier when you have many.

What's the difference between gross and net sales?

Gross sales are what customers were charged before discounts and refunds. Net sales are what's left after them.

Want every channel reconciled, every month?

ABFI sets up an e-commerce chart of accounts, connectors and inventory in your QuickBooks, then closes your books monthly. Start with a complimentary Business Accounting Diagnostic.

Start with one call

Talk with ABFI about your books. Bring your questions and your messiest account, and we'll help determine which approach fits.

Or call (804) 391-4002