Why e-commerce accounting differs from the usual
With an ordinary invoice one transaction matches one payment. In an online shop there are hundreds of small orders, and you receive money not per order but as a combined payout from the payment provider, already net of fees, with returns, and sometimes delayed by days. So the bank statement and the shop sales report almost never match one to one.
Correct accounting here means three things reconciled at once: what you sold (revenue), what you received (cash) and what you are still owed or must refund (liabilities).
The order journey and its postings
| Event | What it means in accounting |
|---|---|
| Customer places an order | Sales document (invoice or receipt), revenue and VAT |
| Customer pays | Receivable from the payment provider or cash in the bank |
| Provider withholds a fee | Cost of payment services |
| Goods are shipped | Stock written off, delivery costs |
| Customer returns goods | Credit note or return entry, refund |
| Provider pays out | A bank receipt covering several orders |
On issuing sales documents and correcting errors, see credit notes and card payments and e-commerce accounting.
Example: a payout that does not match the orders
An illustrative example with rounded figures. In a week the shop has 40 paid orders totalling 2,000 EUR. The payment provider withholds a 60 EUR fee, and two returns worth 90 EUR in total are refunded. The bank receipt is 1,850 EUR.
- Revenue: 2,000 EUR (unchanged, because the sale happened).
- Fee: 60 EUR – an expense, not a reduction of revenue.
- Returns: 90 EUR – shown through a credit note or return entry.
- Bank receipt: 2,000 − 60 − 90 = 1,850 EUR.
If only the 1,850 EUR receipt were recorded, information about the fee and returns would be lost and the VAT calculation would be wrong.
VAT in an online shop
When selling to consumers in Latvia you apply the Latvian VAT rate for the type of goods (VAT rates). Selling to private individuals in other EU countries (distance sales of goods) is different. Since 1 July 2021 there has been a single EU threshold of 10,000 EUR (excluding VAT) for total distance sales to all other EU countries: up to it you may apply your own country's VAT, and once it is exceeded the place of supply becomes the buyer's country and that country's VAT rate applies. You can handle this through the EU One Stop Shop (OSS), filing one quarterly return for all countries; see the OSS article.
The rules differ for sales to EU versus non-EU countries and by value of goods, so check current guidance on the VID website (vid.gov.lv) before deciding.
Monthly reconciliation: checking that it all matches
The key control in e-commerce is a monthly reconciliation of three sources: the shop report, the payment provider report and the bank statement. Each tells part of the story, and together they must agree with the books.
- Shop: total sales, returns, delivery income and VAT by country.
- Payment provider: payments received, fees withheld, refunds and payouts to the bank.
- Bank: actual receipts covering several orders.
- Accounting: sales, fees, returns and the receivable from the provider, which should be near zero or justified at month end.
If something does not match, it is usually one of four things: orders paid in one month but paid out in the next; returns made after the period end; fees withheld in another period; or payments made but orders cancelled. Document these differences instead of hiding them.
What to keep for every order
To justify VAT and revenue, keep order data: order number and date, customer country, goods and price, VAT rate, delivery cost and payment method. When selling in other EU countries you must be able to show why a particular country and rate were applied, so the order data that proves it should be kept like other accounting documents.
It also helps to record return reasons and their effect on VAT. A high return rate is a business signal too: the problem may be product descriptions, sizing or delivery.
Payments and delivery
- Treat the payment provider balance as a separate account reconciled to payouts, not to individual orders.
- Record fees separately from sales – they are costs.
- Delivery charged to the customer is revenue with the same VAT treatment as the goods.
- Register returns in the period they occur, referencing the original order.
- Currency – if you sell in non-euro currencies, account for the rate (see currency accounts and exchange differences).
Common mistakes
- Booking only the payout instead of sales, fees and returns separately.
- Applying Latvian VAT to every country after the 10,000 EUR threshold is exceeded.
- Not keeping order data that justifies the VAT country (buyer location).
- Forgetting returns that land in the next period.
- Not comparing the shop report with the books every month.
How Finolto helps in e-commerce
Finolto can receive data from sales channels, tills and payment providers, match bank transactions to invoices and prepare the VAT return from postings. It also has stock accounting and till data. See the integrations page for the specific connections.
The software prepares and checks data, but the VAT country, rates and OSS decisions are confirmed and filed with VID by you or your accountant. See the product page.
Frequently asked questions about e-commerce accounting
Does an online shop need a cash register?
It depends on the payment method and form of business. Check the cash register requirements on the VID website and likumi.lv, because rules differ for cash, non-cash and distance sales.
Must the shop register for VAT?
The registration threshold is 50,000 EUR of annual turnover, but you can register voluntarily or sooner if your transactions require it. If you sell in other EU countries, also read the OSS rules.
How do I account for fees withheld by a payment provider?
Record sales at the full amount and the fee as a separate expense. Then the money in your account matches the sales report and VAT is calculated on the right amount.
What happens with returns?
A return is shown with a credit note or another return document that cites the original order. It reduces sales and VAT in the period the return happens.
When do I start applying the buyer's country VAT?
When EU distance sales to private individuals exceed 10,000 EUR (excluding VAT) in a calendar year. Check current conditions on the VID website and in the OSS article.