Skip to main content
AboutResources888.999.0280Schedule a Call
E-CommerceE-Commerce

Bookkeeping for Ecommerce: Clean Books, Real Margins, Better Cash Flow

Ecommerce bookkeeping is not standard small business accounting. Platform payouts, refunds, multi-channel inventory, and sales tax nexus create unique complexity that requires specialized processes to get right.

By Lorenzo Nourafchan | June 15, 2025 | 12 min read

Key Takeaways

Platform payouts from Shopify or Amazon bundle revenue, refunds, fees, and sales tax together. Recording deposits as sales is one of the fastest ways to create inaccurate financials.

True ecommerce gross margin should include variable costs tied to each sale, including merchant fees and outbound shipping, which typically represent 8 to 15 percent of revenue.

Sales tax nexus obligations can apply in 20 or more states once an ecommerce brand exceeds $100,000 in sales or 200 transactions in a given state.

Inventory accounting with landed costs, including freight, duties, and 3PL fees, is essential for knowing actual product profitability at the SKU level.

DIY bookkeeping works until approximately $500,000 in annual revenue or the addition of a second sales channel, after which specialized support prevents expensive cleanup.

Why Does Ecommerce Bookkeeping Require a Specialized Approach?

Ecommerce bookkeeping is fundamentally different from traditional small business accounting, and the difference is not just about volume. The core challenge is that ecommerce transactions are not simple. A single Shopify payout deposited in your bank account might represent 200 individual customer orders, 12 refunds, $3,400 in merchant processing fees, $1,800 in collected sales tax, and a $500 Shopify subscription fee, all netted into one deposit. Recording that deposit as revenue is not just sloppy accounting. It overstates revenue by the amount of the refunds, fees, and sales tax, understates expenses because the fees are buried in the deposit, and creates a sales tax liability on the balance sheet that does not appear anywhere in your records.

The same complexity multiplies across every dimension of an ecommerce business. Inventory passes through multiple locations, from supplier to freight forwarder to customs to 3PL warehouse to customer doorstep, accumulating costs at each stage that must be captured in the cost basis. Sales tax obligations trigger in any state where the business has economic nexus, which for most growing ecommerce brands means 15 to 25 or more states, each with its own rates, filing frequencies, and exemption rules. Returns and chargebacks create reverse transactions that affect revenue, inventory, and cash in different periods depending on when the return is initiated, when the product is received back, and when the refund is processed.

A general bookkeeper who understands debits, credits, and bank reconciliation can maintain accurate books for a law firm, a consulting practice, or a local retailer. Ecommerce requires a bookkeeper or accounting team that understands platform-specific payout structures, multi-channel inventory accounting, landed cost calculations, economic nexus rules, and the specific chart of accounts design that makes ecommerce financial statements useful for decision-making. Without that specialization, the books may balance, in the sense that debits equal credits, but the financial statements will not accurately reflect the business's economics.

How Do You Properly Reconcile Platform Payouts?

Platform payout reconciliation is the single most important ecommerce bookkeeping process, and it is the one most frequently done incorrectly. Every major ecommerce platform, including Shopify, Amazon, WooCommerce, Walmart Marketplace, and Etsy, settles transactions in batches rather than individually. The settlement includes the gross transaction amount, minus refunds processed during the settlement period, minus platform fees (referral fees, fulfillment fees, subscription fees), minus merchant processing fees, plus or minus any adjustments for chargebacks, reserves, or promotional credits. The net amount is what hits your bank account.

Proper payout reconciliation breaks each settlement into its component parts and records each one to the correct account. Gross revenue is recorded at the full amount the customer paid, before any deductions. Refunds and returns are recorded as contra-revenue, reducing gross revenue to arrive at net revenue. Platform fees are recorded as selling expenses or cost of sales, depending on how your chart of accounts is structured. Merchant processing fees are recorded as a separate expense line. Sales tax collected is recorded as a liability, not as revenue, because it is money held in trust for the taxing jurisdiction and must be remitted on a defined schedule.

For a brand selling on both Shopify DTC and Amazon, this means maintaining separate reconciliation processes for each platform because the fee structures, settlement timing, and reporting formats are different. Shopify settles daily or every few days depending on the payment provider, and the settlement report is available in the Shopify admin. Amazon settles biweekly for most sellers, with a detailed settlement report that breaks out product sales, shipping revenue, FBA fees, referral fees, refunds, and various other line items. Each platform's settlement report must be reconciled to the corresponding bank deposits, and any discrepancies must be investigated and resolved.

The brands that do this well use accounting integration tools like A2X, Link My Books, or Webgility that automatically parse settlement reports and create the appropriate journal entries in QuickBooks, Xero, or another accounting system. These tools cost $20 to $300 per month depending on transaction volume, and they eliminate the manual work of breaking down each settlement. For a brand processing 1,000 or more orders per month, manual payout reconciliation is impractical, and the likelihood of errors increases with every additional order.

How Should You Track Inventory and Calculate True COGS?

Inventory accounting in ecommerce is more complex than in traditional retail because product passes through multiple stages and locations before reaching the customer, and each stage adds cost that must be captured in the inventory cost basis. The true cost of a product is not just the price you paid the supplier. It is the landed cost, which includes the purchase price, inbound freight from the supplier to the port or warehouse, customs duties and tariffs for imported goods, inspection or quality control costs, 3PL receiving and warehousing fees, and any kitting, bundling, or repackaging costs incurred before the product is ready for sale.

Consider a brand importing candles from a manufacturer in Portugal. The unit cost from the supplier is $6.00. Ocean freight adds $0.80 per unit. Customs duties at 5.3 percent add $0.32. The 3PL charges $0.25 per unit for receiving and storage. The total landed cost is $7.37 per unit, not $6.00. If the brand sells each candle for $24.00 and records COGS at $6.00, the reported gross margin is 75 percent. If COGS is recorded at the true landed cost of $7.37, the gross margin is 69.3 percent. That 5.7-percentage-point difference might not sound dramatic, but on $2M in annual revenue it represents $114,000 in margin that the financial statements claim exists but does not. Pricing decisions, marketing budgets, and growth plans built on the inflated margin will eventually collide with reality.

For multi-SKU businesses, inventory tracking at the SKU level is essential for understanding which products are profitable and which are not. Aggregate COGS numbers hide the reality that some products generate 65 percent margins while others generate 30 percent margins, and the mix between high-margin and low-margin products determines whether the overall business is healthy. SKU-level tracking also supports better purchasing decisions, because knowing that Product A turns inventory 8 times per year at a 62 percent margin while Product B turns 3 times per year at a 35 percent margin makes the reorder decision obvious.

Inventory valuation methods matter for financial reporting accuracy and tax compliance. Most ecommerce brands use either FIFO (first in, first out) or weighted average cost. FIFO assumes that the oldest inventory is sold first, which means COGS reflects older, often lower purchase prices, and ending inventory reflects more recent, often higher prices. Weighted average recalculates the unit cost with each new purchase, smoothing out price fluctuations. Either method is acceptable, but the choice must be applied consistently, and the valuation must be supported by detailed purchase records that tie the cost basis to actual invoices and shipping documents.

What Is the Right Way to Calculate Ecommerce Gross Margin?

Traditional gross margin, calculated as revenue minus COGS divided by revenue, understates the true cost of generating each sale in an ecommerce business. The reason is that ecommerce has significant variable costs tied to each transaction that do not appear in the standard COGS calculation but behave economically like cost of goods sold. These costs include merchant processing fees (typically 2.5 to 3.5 percent of the transaction amount), platform referral fees (8 to 15 percent on Amazon, depending on category), and outbound shipping costs (either absorbed by the brand as free shipping or partially offset by shipping revenue charged to the customer).

A more useful metric for ecommerce is contribution margin, which subtracts all variable costs from revenue before arriving at the margin that remains to cover fixed costs and generate profit. For a brand selling a $50 product with a landed COGS of $15, $1.50 in merchant fees, $4.50 in Amazon referral fees, and $6.00 in outbound shipping, the contribution margin per unit is $23.00, or 46 percent. The traditional gross margin calculation would show 70 percent ($50 minus $15 divided by $50), which dramatically overstates the margin available to cover fixed costs.

Structuring your chart of accounts to separately track each of these variable cost categories allows you to calculate both traditional gross margin and contribution margin from your financial statements without manual adjustment. This structure typically includes separate expense accounts for product COGS (landed cost), merchant and payment processing fees, platform referral and selling fees, outbound shipping and fulfillment, and return and chargeback costs. When these accounts are maintained accurately each month, you can see the true profitability of each dollar of revenue and make informed decisions about pricing, channel mix, and marketing spend.

How Do You Manage Multi-State Sales Tax Compliance?

Sales tax is the area of ecommerce bookkeeping that creates the most acute compliance risk, and the penalty for getting it wrong can be severe. Since the 2018 Supreme Court decision in South Dakota v. Wayfair, states have been empowered to require out-of-state sellers to collect and remit sales tax based on economic nexus, which is typically defined as $100,000 in sales or 200 transactions in the state during a 12-month period. For a growing ecommerce brand, crossing the nexus threshold in multiple states happens quickly and often without the operator realizing it.

Consider a brand based in California doing $1.5M in annual DTC revenue. If 8 percent of sales go to customers in Texas, that is $120,000, which exceeds the Texas economic nexus threshold. If 7 percent go to New York ($105,000), that exceeds the New York threshold. If 6 percent go to Florida ($90,000), that is below the Florida threshold for now but will likely cross it within a few months of continued growth. At $1.5M in revenue, a brand can easily have nexus obligations in 15 to 20 states.

Each state has its own registration requirements, filing frequency (monthly, quarterly, or annually), tax rates (ranging from 0 percent in Oregon to over 10 percent in some California and Tennessee jurisdictions when local rates are included), and product taxability rules (some states exempt certain product categories while others do not). Managing this manually is impractical for any brand selling in more than three or four states. Automation tools like TaxJar, Avalara, or Anrok integrate with ecommerce platforms to calculate the correct tax at checkout, maintain records of tax collected, and generate the data needed for filing returns.

The bookkeeping component of sales tax management requires three separate tracking elements: tax collected from customers (recorded as a liability when collected), tax owed to each jurisdiction (calculated based on nexus analysis and transaction data), and tax remitted with filed returns (reducing the liability when paid). When these three elements are maintained accurately, your balance sheet shows the correct sales tax liability at any point in time, and your cash flow forecast accounts for upcoming remittance obligations. When they are not maintained, liabilities accumulate invisibly on the balance sheet, and the business discovers it owes $30,000 to $100,000 or more in back taxes, penalties, and interest when a state finally sends a notice.

What Does a Proper Monthly Close Process Look Like for Ecommerce?

The monthly close for an ecommerce business follows the same general sequence as any business, but each step has ecommerce-specific complexity that must be addressed. A well-designed ecommerce close process can be completed in 10 to 15 business days and produces financial statements that accurately reflect the month's activity.

Days 1 through 3 focus on transaction reconciliation. All platform payouts from the prior month are reconciled to bank deposits. All payment processor settlements (Stripe, PayPal, Square, Affirm) are reconciled. Credit card and bank account reconciliations are completed. Any discrepancies between platform reports and bank records are investigated and resolved.

Days 4 through 7 focus on COGS and inventory. Purchase invoices from the prior month are recorded with full landed cost calculations. Inventory adjustments for shrinkage, damage, or write-offs are recorded. COGS is calculated based on units sold and the applicable costing method. Inventory counts, either physical or from the 3PL system, are reconciled to the general ledger balance.

Days 8 through 10 focus on accruals and adjustments. Payroll is recorded, including any accrued wages or benefits. Prepaid expenses are amortized. Accrued liabilities, including estimated sales tax, return reserves, and any other month-end accruals, are updated. Advertising spend from platforms like Meta, Google, and TikTok is reconciled to actual charges.

Days 11 through 15 focus on review and reporting. Financial statements are prepared, including the income statement, balance sheet, and cash flow statement. Key metrics are calculated, including gross margin, contribution margin, customer acquisition cost, and return rate. A variance analysis compares actual results to the budget or prior period and documents the drivers of any significant variances. The statements and supporting analysis are distributed to the owner, management team, or board.

When Should You Hire Professional Ecommerce Bookkeeping Support?

DIY bookkeeping is a viable approach in the earliest stages of an ecommerce business, typically from launch through approximately $500,000 in annual revenue on a single sales channel. At this stage, transaction volume is manageable, inventory may be straightforward, and sales tax nexus may apply in only a handful of states. The founder or a part-time bookkeeper can maintain the books using a platform integration tool and a standard accounting system.

The tipping point arrives when any of the following conditions emerge: monthly transaction volume exceeds 500 to 1,000 orders, making manual reconciliation impractical. The brand adds a second sales channel, such as Amazon alongside Shopify DTC, creating separate payout structures that must be reconciled independently. Inventory expands to include imported products with landed cost calculations, or the business transitions from self-fulfillment to a 3PL provider. Sales tax nexus obligations apply in more than five states. The business is preparing for a fundraise, a bank loan, or a potential acquisition that requires financials capable of withstanding investor or lender scrutiny.

At each of these inflection points, the cost of maintaining accurate books in-house increases, while the cost of errors increases even faster. A misclassified $50,000 in merchant fees overstates revenue by $50,000 and understates expenses by $50,000, a $100,000 swing in reported profitability. An unregistered sales tax obligation that accumulates for 18 months can result in $20,000 to $80,000 in back taxes, penalties, and interest. An inventory valuation error that understates COGS by 10 percent inflates reported profit by the same amount, which may lead to tax overpayment or, worse, business decisions based on margins that do not exist.

Professional ecommerce bookkeeping typically costs $1,000 to $3,500 per month depending on transaction volume, number of channels, and complexity. For context, that is roughly the same as one day of ad spend for a brand spending $30,000 per month on paid acquisition. The return on investment comes from accurate financial statements that prevent costly errors, tax compliance that avoids penalties, and the management visibility needed to make profitable decisions about inventory, pricing, marketing, and growth.

Northstar Financial works with ecommerce brands from early-stage DTC operations to multi-channel businesses doing $10M or more in annual revenue. Our team understands platform payout structures, inventory accounting with landed costs, multi-state sales tax compliance, and the specific chart of accounts design that makes ecommerce financials useful for decision-making. Whether you need a full outsourced bookkeeping engagement or a review and restructuring of your existing books, we build the financial foundation that growing ecommerce brands need to scale profitably.

LN

Lorenzo Nourafchan

Founder & CEO, Northstar Financial

Lorenzo Nourafchanis the Founder & CEO of Northstar Financial Advisory.

Need help with this?

Schedule a free strategy call with our team to discuss how Northstar can help your business.

Schedule a Strategy Call

Or call us directly: 888.999.0280