Good ecommerce bookkeeping means recording every order at its gross sale value, splitting out fees, refunds, and taxes on their own lines, and reconciling that against what actually lands in your bank. Do it monthly on an accrual basis so your profit and loss statement shows true product economics, not just the netted deposits Shopify sends you. This guide walks the exact line-by-line build, with real fee math and a worked example.

Most "ecommerce bookkeeping" guides tell you to pick software, track your fees, and use the accrual method — then stop. This one goes further: it shows you the actual line-by-line profit and loss statement, walks a real month of numbers, and explains the two mistakes that quietly sink small Shopify stores. If you sell physical or print-on-demand products, this is the money side, done correctly.

This is general information, not tax advice. Rules change and vary by situation — consult a licensed CPA or tax professional before acting.

Why ecommerce bookkeeping is different

A brick-and-mortar shop mostly sees cash in and cash out. A Shopify store does not. Every deposit Shopify sends you is a net settlement that bundles sales, minus processing fees, minus refunds, plus or minus adjustments and chargebacks — settled on a rolling delay, not on the calendar month.

That one fact drives everything. If you book the deposit as "revenue," you understate your real sales, hide your fees entirely, and produce books that can't be reconciled at tax time. Proper ecommerce bookkeeping unbundles that deposit back into its parts.

The fix is the accrual (or sales) basis: record a sale when the order is placed, not when the cash clears. That is why most ecommerce sellers should use accrual rather than cash accounting — it matches revenue to the fees and product costs that belong with it. For the full picture of how the statement fits together, see our ecommerce P&L guide.

The profit and loss statement, line by line

Your P&L (also called an income statement) answers one question: did the store make money this period, and where did it go? Build it monthly, top to bottom, in this order.

  1. Gross sales — total order value for the month, booked before any fees or refunds.
  2. Less discounts — coupon codes, automatic discounts, sales.
  3. Less returns and refunds — a contra-revenue line that reduces revenue; it is not an expense.
  4. Net sales — gross sales minus discounts minus refunds. Your honest top line.
  5. Cost of goods sold (COGS) — the direct cost of the units you actually sold. For print-on-demand, that is the supplier's production charge plus their shipping to the customer, and often payment processing.
  6. Gross profit — net sales minus COGS. Divide by net sales for your gross margin %, the core measure of product economics.
  7. Operating expenses (OpEx) — everything else it takes to run: ad spend, your Shopify plan and apps, software, contractors, owner pay.
  8. Operating profit — gross profit minus OpEx. This tells you if the business, not just the product, works.

The one placement rule that matters: direct per-unit costs go in COGS; costs that run the business regardless of any single sale go in OpEx. The most common mistake here is burying ad spend in COGS. Do that and your gross margin looks inflated while your real risk — customer acquisition cost — disappears from view.

A worked month for a small print-on-demand store

Say you run a t-shirt store on Shopify and this month you take 300 orders at about $32 each. All figures below are illustrative — plug in your own.

The processing fee assumption comes from Shopify's own pricing, which lists online card rates commonly around 2.9% plus 30¢ per transaction on its lower-tier plans, per Shopify's guidance on payment fees as compiled by A2X. Verify the exact rate for your plan before you rely on it.

Line Amount
Gross sales (300 × ~$32) $9,600
Less discounts (a 10%-off code) −$480
Less refunds (9 orders) −$290
Net sales $8,830
COGS — production (300 × ~$12) −$3,600
COGS — processing (~2.9% + 30¢ × 300) −$346
Gross profit $4,884
OpEx — ad spend −$3,000
OpEx — Shopify plan + apps −$180
OpEx — tools −$90
OpEx — owner draw −$500
Operating profit $1,114

Now read it. Gross margin is $4,884 ÷ $8,830 = 55.3%, so the product itself is healthy. But ad spend eats most of that gross profit, leaving operating profit at $1,114 ÷ $8,830 = 12.6%. If ad costs rose twenty percent — another $600 — operating profit would nearly halve. That is the story a correct P&L is supposed to tell you, and the story a P&L with ads hidden in COGS never will.

Payout is not revenue

The deposit that hits your bank is netted and delayed. It almost never equals your sales for the same window. So book gross sales at the top of the P&L, record fees and refunds on their own lines, and treat the net payout as a cash consequence at the bottom — not as a revenue number.

A few fee mechanics worth getting right, drawn from A2X's breakdown of Shopify fees:

  • Refunds don't return the processing fee. Refund a $32 order and you still eat the roughly $1.23 fee you already paid. Track the refund as contra-revenue and leave the fee where it is.
  • Chargebacks carry a $15 US dispute fee on Shopify Payments, refunded to you only if you win the dispute.
  • Gift cards are a liability, not revenue, until the card is redeemed.

Reconciliation is the monthly proof that your net payout equals gross sales minus refunds, discounts, and fees, plus or minus adjustments. If it doesn't tie out, something is miscategorized. Our walkthrough of Shopify accounting for small businesses shows where each figure lives, and what you can and can't do inside Shopify itself covers the platform's real limits.

Profit is not cash

Here is the trap that blindsides growing stores. Profit is booked on the sale date; cash moves on its own schedule. You can be profitable on paper and short on cash the same week.

The reason is timing. Ad spend leaves your card daily. Payouts arrive on a delay — often a couple of business days in the US, longer over weekends and for newer accounts. Print-on-demand suppliers charge you when the order is produced, which is right after the sale and usually before the matching payout lands. Money goes out faster than it comes back, and the faster you scale, the wider that float gap grows.

A quick sizing rule: hold a cash buffer of at least (daily ad + supplier spend) × (payout delay in days + a weekend cushion). Watch how many days pass between paying for an ad and the payout for that order clearing, and don't scale ad spend faster than payouts can refill the tank. For the deeper version, our piece on the advantages and disadvantages of cash flow forecasting is the natural next read.

Tax basics you can't skip

This is general information, not tax advice. Rules change and vary by situation — consult a licensed CPA or tax professional before acting.

Sales tax is state-and-local, and Shopify only does part of the job. Once you configure it, Shopify calculates and collects tax at checkout — but you still register, file, and remit to the state yourself. On your own storefront you are the seller of record, unlike Amazon or Etsy where the marketplace handles it. You also collect only where you have nexus — your home state, plus any state where sales volume crosses that state's economic-nexus threshold.

The 1099-K form reports gross payment volume to you and the IRS. Under the One Big Beautiful Bill, a processor issues one only when gross payments exceed $20,000 and transactions exceed 200, per the IRS FAQ on the reverted 1099-K threshold. Two traps: you owe income tax on profit whether or not you get the form, and the number on it is gross dollars, not your taxable income — which is exactly why reconciled books matter.

Estimated taxes come due quarterly because nothing is withheld from store profit, and sole proprietors also owe self-employment tax on top of income tax, per the IRS estimated tax overview. Clean books make these payments a lookup, not a scramble.

Should you DIY or hire out?

If you sell on one platform, have straightforward transactions, and can commit to a monthly close, DIY bookkeeping with software is reasonable. Once you add multiple channels, inventory across suppliers, or meaningful ad spend, the reconciliation work grows and a bookkeeper or automation tool (A2X, Link My Books, QuickBooks, Xero) usually pays for itself.

Whichever route you choose, the goal is the same: books that tie out and a P&L that tells the truth about product margin and acquisition cost. When you're ready to turn reconciled data into decisions, our guide to the Shopify accounting reports that actually matter shows which numbers to watch.

Bookkeeping tells you what happened last month. Knowing what each order actually earned — after ad spend, fees, and supplier costs — is a different job. PodVector connects your Shopify, Meta Ads, Google Ads, Printify, and Printful accounts and computes true per-order profit from live data. Victor, its AI operator, reads that data, surfaces where margin is leaking, and — with your approval — takes Shopify-side actions on your behalf. Victor reads your ad data and proposes moves, but does not touch your ad account.

FAQs

What is ecommerce bookkeeping?

It is the practice of recording every financial transaction in your online store — sales, discounts, refunds, fees, product costs, ad spend, and taxes — and reconciling those records against the money that actually moves through your bank and payment processor. For a Shopify store, it means unbundling each netted payout back into its parts so your profit and loss statement is accurate.

Should ecommerce sellers use cash or accrual accounting?

Most should use accrual (sales-basis) accounting. It records a sale when the order is placed and matches it to the fees and product costs that belong with it, giving a truer view of profitability than cash accounting, which only records money when it moves. Timing gaps between ad spend and delayed payouts make cash-basis books especially misleading for ad-driven stores.

Why doesn't my Shopify payout match my sales?

Because the payout is a net settlement, not a revenue figure. Shopify bundles sales, minus processing fees, minus refunds, plus or minus adjustments and chargebacks, then deposits the remainder on a rolling delay. Book gross sales at the top of your P&L and treat the payout as the cash result at the bottom.

Do I owe tax if I don't get a 1099-K?

Yes. You owe income tax on your profit regardless of whether any form is issued, per the IRS 1099-K guidance. The 1099-K threshold governs whether the form gets sent, not whether the income is taxable. This is general information, not tax advice — check with a CPA for your situation.

Where does ad spend go on the P&L?

In operating expenses, never in cost of goods sold. Ad spend is paid acquisition, not a direct product cost. Putting it in COGS inflates your gross margin and hides customer acquisition cost, which for most growing stores is the single biggest risk to profit.