E-commerce Accounting: Orders, Payments, Refunds, and Documents

Running an online store involves much more than listing products and processing payments. Behind every sale is a series of accounting events that must be recorded accurately to keep your books clean, your tax reporting correct, and your business decisions informed. Whether you are a freelancer selling digital downloads, a small company shipping physical goods, an e-resident operating across borders, or a growing team with multiple sales channels, the principles of e-commerce accounting remain the same: capture every order, match every payment, handle refunds properly, and keep supporting documents organised.

This guide walks through the core workflows of e-commerce accounting. It focuses on practical steps and common pitfalls, without diving into jurisdiction-specific tax rates or legal deadlines. Always confirm local requirements with a professional advisor.

Why E-commerce Accounting Is Different

Traditional retail accounting often involves a physical point of sale, immediate payment, and a simple receipt. E-commerce adds layers of complexity:

  • Delayed payments: A customer may order today, pay via a payment processor tomorrow, and receive the goods next week. Each step affects your books differently.
  • Multiple payment methods: Credit cards, bank transfers, digital wallets, and buy-now-pay-later options each have their own timing and fees.
  • Cross-border sales: Currency conversion, VAT/GST rules, and import duties can apply.
  • High volume, low value: Many small transactions require efficient, automated recording.
  • Refunds and chargebacks: Returns are a normal part of online selling and must be accounted for correctly.

Because of these factors, e-commerce accounting is less about manual data entry and more about designing a reliable system that captures information at the right moment.

Recording Orders and Revenue

An order is a commitment to sell, but it is not yet revenue. Under most accounting frameworks, revenue is recognised when the goods or services are delivered, not when the order is placed. However, for practical bookkeeping, many small e-commerce businesses record a sale when payment is received. The key is consistency and compliance with your local accounting standards.

Order Management

When an order arrives, you should capture:

  • Order number and date
  • Customer details (name, billing and shipping address)
  • Products or services ordered, quantities, and prices
  • Discounts, shipping charges, and taxes collected
  • Payment method and status

This information typically lives in your e-commerce platform, but it must flow into your accounting system. For example, a freelancer selling a digital template might receive an order via an online marketplace. The marketplace may collect payment and later transfer the net amount. In your books, you need to record the gross sale, the marketplace fees, and the net cash received.

Revenue Recognition

If you sell physical goods, revenue is usually recognised upon shipment or delivery. If you sell services or digital products, revenue may be recognised upon delivery or over time, depending on the terms. For subscription-based e-commerce, revenue is often recognised ratably over the subscription period.

A common mistake is to record revenue only when the payout from a payment processor hits your bank account. This can distort your monthly results and make it harder to match costs with income. Instead, record the sale when it occurs and treat the processor payout as a transfer of funds.

Matching Payments and Fees

Payment processors are convenient but they add a layer of accounting work. When a customer pays, the processor may hold the funds for a period, deduct fees, and then deposit the remainder into your bank account.

Gross vs. Net Recording

You have two main options:

  1. Gross method: Record the full sale amount as revenue, then record the processor fee as an expense. This gives you a clear view of your true revenue and costs.
  2. Net method: Record only the net amount deposited as revenue. This is simpler but obscures the cost of accepting payments.

Most accountants recommend the gross method because it provides better transparency and aligns with standard accounting principles.

Example: A Single Order

Suppose a customer orders a product for €100. The payment processor charges a fee of €2.50. The net deposit is €97.50.

Under the gross method, you would record:

  • Debit: Accounts Receivable (or Cash) €100
  • Credit: Sales Revenue €100
  • Debit: Payment Processing Fees €2.50
  • Credit: Accounts Receivable (or Cash) €2.50

When the €97.50 lands in your bank, you record the transfer from the processor clearing account to your bank account. The result: revenue of €100, expense of €2.50, and cash of €97.50.

Reconciliations

Reconciling processor payouts to individual orders is essential. If you have hundreds of orders per month, manual matching is impractical. Use your e-commerce platform's reports or a reconciliation tool to group orders by payout. Then compare the total expected net amount to the actual bank deposit. Investigate any discrepancies immediately—they could indicate missing orders, duplicate charges, or fraud.

Handling Refunds and Chargebacks

Refunds are a normal part of e-commerce. They reduce revenue and may also reverse payment processor fees. Chargebacks, on the other hand, are disputed payments that are forcibly reversed by the customer's bank. Both require careful accounting.

Refunds

When you issue a refund, you should:

  • Reverse the original sale (or record a contra-revenue entry)
  • Reverse any sales tax collected, if applicable
  • Record the refund of payment processor fees, if the processor returns them
  • Update inventory if the goods are returned

For example, if a customer returns a €100 item and you refund the full amount, you would debit Sales Returns and Allowances €100 and credit Cash (or Accounts Receivable) €100. If the processor also returns the €2.50 fee, you would reverse that expense as well.

Chargebacks

A chargeback occurs when a customer disputes a charge with their bank. The bank may withdraw the funds from your account and charge a dispute fee. Accounting for chargebacks is similar to refunds, but you may not recover the product. You should record the loss of revenue, the chargeback fee, and any related costs. If you later win the dispute, reverse the entries.

Documentation

Keep records of all refunds and chargebacks: the original order, the reason for the refund, communication with the customer, and the processor's transaction details. This documentation supports your tax filings and helps you analyse return rates.

Documents and Compliance

E-commerce generates a mountain of documents: order confirmations, invoices, credit notes, shipping labels, customs forms, and payment receipts. Proper document management is not just good practice—it is often a legal requirement.

Invoices

In many jurisdictions, you must issue an invoice for each sale. An e-commerce invoice typically includes:

  • Your business name, address, and tax ID
  • Customer name and address
  • Invoice number and date
  • Description of goods or services
  • Quantity, unit price, and total
  • Applicable taxes (e.g., VAT/GST)
  • Payment terms

If you sell cross-border, you may need to include additional information, such as the customer's tax ID for reverse-charge VAT. Always check local rules.

Credit Notes

When you refund a customer, you should issue a credit note. This document references the original invoice and shows the amount being credited. Credit notes are essential for VAT reporting and for keeping your sales records accurate.

Record Retention

Most tax authorities require you to keep accounting records for a certain number of years. The exact period varies by country. Store documents securely, preferably digitally, with backups. Ensure they are readable and easily retrievable in case of an audit.

E-residents and Cross-Border Considerations

E-residents often operate businesses that sell internationally. This means dealing with multiple currencies, VAT/GST registration thresholds, and place-of-supply rules. While e-residency itself does not change your accounting obligations, it does mean you must be extra careful about which country's rules apply. Keep clear records of the customer's location and the tax treatment applied to each sale.

Streamlining Your E-commerce Accounting

Manual spreadsheets can work for a handful of orders, but as you grow, automation becomes necessary. Here are some practical steps:

  • Integrate your systems: Connect your e-commerce platform, payment processors, and accounting software to reduce manual entry.
  • Use a chart of accounts tailored to e-commerce: Include accounts for sales, sales returns, payment processing fees, chargebacks, shipping income, and cost of goods sold.
  • Reconcile regularly: Weekly or monthly reconciliations prevent small errors from becoming big problems.
  • Track inventory: If you sell physical goods, maintain accurate inventory records to calculate cost of goods sold and avoid stockouts.
  • Monitor key metrics: Gross margin, average order value, refund rate, and customer acquisition cost are easier to track when your books are clean.
  • Separate business and personal finances: This is especially important for freelancers and sole traders.

For e-residents and growing teams, cloud-based accounting software can help manage these tasks across borders. Arvekram.com is one example of Estonian accounting software designed for freelancers, companies, e-residents, and growing teams, offering tools to handle orders, payments, and documents in one place. However, the choice of software depends on your specific needs and local requirements.

Conclusion

E-commerce accounting is a discipline of capturing the right data at the right time. By recording orders when they occur, matching payments and fees accurately, handling refunds and chargebacks properly, and keeping documents organised, you build a financial foundation that supports growth. Whether you are a solo freelancer or a team scaling across borders, these practices will help you stay compliant and make better business decisions.

This article provides general information and is not a substitute for professional accounting, tax, or legal advice. Always consult a qualified advisor for your specific situation.