A strong ecommerce accounting setup guide starts where many online retailers run into trouble: the figure paid into the bank is rarely the figure you earned. Marketplace commissions, payment processing fees, refunds, shipping, discounts and VAT can all sit between a customer placing an order and cash arriving in your account. If those movements are not separated properly, your Xero reports can look tidy while telling you the wrong story.
For a growing UK ecommerce business, accounting should do more than meet filing deadlines. The right setup gives you real business insight into margin, cashflow and VAT exposure, without adding hours of manual work each week. It turns Xero into a connected finance foundation rather than a place to code bank transactions after the fact.
Start with the commercial picture, not the software
Before choosing apps or importing historical data, map how money and stock move through the business. A Shopify store using Stripe, Amazon and a fulfilment partner has different accounting requirements from a subscription brand selling through WooCommerce, even if both use Xero.
Document each sales channel, payment provider, marketplace, bank account, currency and stock location. Then identify where refunds are approved, how shipping is charged, whether gift cards or store credit are offered, and who is responsible for purchasing inventory. This process exposes the gaps that commonly create unreliable books later.
It also helps define what the management team needs to see. A founder may need weekly sales and cash visibility. A finance manager may need channel profitability, aged supplier balances and a clear VAT position. Build the chart of accounts and reporting structure around those decisions, rather than accepting a generic template.
Separate sales from settlements
A payment processor or marketplace settlement is not a sale. It is a payment of money owed to you, less fees and adjustments. Treating every Stripe, PayPal or Amazon deposit as turnover can overstate revenue, hide costs and make reconciliations difficult.
A better approach is to post individual order activity, or a daily summary where transaction volumes justify it, to a clearing account. Sales, VAT, refunds, discounts and processing fees are recorded separately. The settlement then clears against that balance when it reaches the bank.
This provides an auditable bridge between order data, provider reports and bank receipts. It is particularly valuable at month end, when sales made near the reporting date may not settle until the following month.
Build a chart of accounts that answers useful questions
Your chart of accounts should be detailed enough to show how the business performs, but not so fragmented that coding becomes inconsistent. Ecommerce businesses often benefit from separate income accounts for major sales channels where those channels have distinct economics. For example, direct website sales, marketplace sales and wholesale revenue may merit separate tracking.
Costs should reflect the areas that affect margin and operational control. Product costs, merchant fees, marketplace commissions, postage, fulfilment fees, advertising, packaging and returns can usually be separated without making the process cumbersome. If advertising is a major growth lever, tracking paid social, search and affiliate spend individually may be worthwhile.
The trade-off is maintenance. A small business with one sales channel does not need twenty income codes. Conversely, a multi-channel retailer should not rely on a single sales account simply because it is easier to post transactions. The right level of detail depends on the decisions you need to make and the reliability of the data feeding Xero.
Tracking categories can add another layer, such as brand, sales channel or territory. Use them carefully. Xero tracking is powerful when it answers a specific reporting question, but inconsistent use will quickly undermine the reports it is meant to improve.
Connect Xero to your sales stack with clear rules
A well-planned Xero integration reduces manual entry, but automation only helps when the mapping is right. Choose an ecommerce connector that can bring in order data, fees, refunds, payouts and tax treatment at the right level of detail for your business.
Some businesses need every order posted to Xero because they require customer-level information or detailed reconciliation. Others are better served by daily summary journals, particularly where there are thousands of low-value transactions. Summary posting keeps the ledger manageable, provided the supporting reports are retained and the totals reconcile to the selling platform.
Set clear posting rules before switching the connection on. Decide which nominal accounts receive each transaction type, which clearing account each provider uses, how discounts are recorded and how overseas sales are treated. Test a normal order, a partial refund, a full refund, a chargeback and a settlement with fees before relying on the automation.
Do not assume an app’s default VAT mapping matches your position. Tax treatment depends on what you sell, where customers are based, whether you are registered for VAT, and whether a marketplace is deemed to be the supplier for VAT purposes. The rules can be complex for exports, digital services and marketplace transactions, so this is an area where tailored advice is worth seeking.
Treat VAT as a live operational process
VAT errors are often created at checkout or in the sales integration, then discovered months later during a return. Your setup should make it possible to reconcile VAT from the underlying sales data to Xero, rather than hoping the return looks reasonable.
Confirm your VAT scheme, registration date and filing frequency in Xero. Ensure the VAT rate applied to product sales, delivery charges, refunds and fees reflects the actual supply. If you sell both standard-rated and zero-rated goods, or trade internationally, product and destination rules must be carefully configured.
For businesses using the Flat Rate Scheme, consider whether the scheme remains commercially suitable as sales, purchases and input VAT change. For businesses on the standard scheme, retain evidence that supports the VAT treatment of each channel. A clean audit trail is useful not only for compliance but also for confidence in your margin reporting.
Put stock, cost of sales and cashflow in the same conversation
Ecommerce growth can look profitable while consuming cash. Buying stock in advance, paying deposits to suppliers and waiting for marketplace settlements can all create pressure that a basic profit and loss report does not fully explain.
If inventory is material to the business, decide how stock will be valued and how cost of sales will be recognised. A stock management system may need to feed Xero with purchase and inventory movements, while detailed stock records remain in the operational platform. The objective is not to force every warehouse movement into Xero. It is to ensure the financial records accurately reflect stock on hand, purchases and the cost of goods sold.
Review gross margin by product range or channel where possible. A channel with high headline sales may be less attractive once advertising, fulfilment, returns and commission are included. This is the kind of insight that supports better purchasing and pricing decisions.
Cashflow forecasting should account for supplier payment terms, expected settlements, VAT liabilities, payroll, advertising commitments and planned stock purchases. Updating this forecast regularly gives directors time to act before a cash shortfall becomes urgent.
Create a monthly close that keeps the data trustworthy
Automation does not remove the need for review. It makes a disciplined close faster and more reliable. Each month, reconcile bank accounts, payment provider clearing accounts, marketplace statements, outstanding payouts, supplier balances and VAT control accounts. Review unusual refunds, negative clearing-account balances and old unreconciled items rather than carrying them forward.
Management reporting should follow the close. Compare actual performance with budget, prior month and the same period last year where useful. Look beyond revenue to contribution margin, operating costs, cash position and inventory commitments. A concise reporting pack is more valuable when it explains the drivers behind the numbers and identifies decisions that need attention.
For businesses without an internal finance team, an outsourced finance partner can provide this structure without the overhead of hiring a full department. eCloud Experts helps ecommerce businesses build Xero processes that combine accurate bookkeeping, VAT compliance, automation and practical commercial reporting.
Make ownership and documentation part of the setup
The best ecommerce accounting setup can still fail if nobody owns it. Assign responsibility for approving apps, reviewing exceptions, uploading supplier bills and completing monthly reconciliations. Keep a short process document that explains data flows, account mappings, VAT assumptions and the actions to take when a settlement does not reconcile.
Review the setup when the business changes. Adding a marketplace, entering a new country, introducing subscriptions or changing fulfilment providers can alter both the data flow and the accounting treatment. Small adjustments made early are far easier than correcting a year of misposted transactions.
Good ecommerce accounting is not about creating more finance admin. It is about building a system that gives you less time managing finances and more time building your business, with numbers you can use confidently when the next decision matters.




