How to connect your online store to accounting
Urška Božič, Frontend developer
What the integration should transfer
When an order comes into your online store, something should also happen in accounting. A good integration handles these automatically:
- customers, created as partners in the accounting software, with no duplicate entries,
- invoices, issued from the order with all line items, discounts, and shipping,
- payments, so accounting knows what was paid by card and what is still waiting for a bank transfer or cash on delivery,
- refunds, which become credit notes instead of manual corrections,
- stock levels, which flow the other way, from the ERP or accounting software back to the store.
Three ways to connect
A ready-made plugin. Most online stores have plugins that transfer orders into well-known accounting software. They’re the fastest and cheapest option as long as your process is standard: one store, one way of issuing invoices, few exceptions.
File export and import. The store exports orders to a file, and accounting imports it. It’s cheap, but it’s still manual and the data arrives late. It works if you only have a few orders.
A custom integration through an API. It makes sense when you connect several systems, have wholesale customers with special terms, or have rules a plugin doesn’t know. Data moves in a few seconds, and we monitor the integration so we know when something doesn’t go through.
What to watch out for
Who issues the invoice. Only one system should issue the invoice, either the store or the accounting software. If both do, you get duplicate numbering and mismatches that accounting only finds at month-end close.
Tax rates and rounding. The store and the accounting software must treat VAT rates the same way and round the same way. A difference of a few cents per invoice quickly adds up to a mismatch nobody can explain.
Payment methods. Card, PayPal, cash on delivery, and bank transfer are booked differently in accounting. The integration has to know where each one goes.
E-invoices. If you also sell to businesses, the integration should issue and send the e-invoice automatically, instead of someone preparing it separately.
Transfer errors. Every integration fails sometimes: the API is down or a piece of data is missing. What matters is that the transfer retries on its own, and that someone who can fix the problem hears about it before the customer notices.
How to start
First, write down what people retype today and how many times a day. Then, for each piece of data, decide which system is the source of truth: stock in the ERP, invoices in the accounting software, orders in the store. We wrote more about this in the article A short guide to system integration.
The project for Unseal shows what this looks like in practice: we connected an online store, CRM, ERP, accounting software, and e-invoicing. If you are thinking about a similar integration, see our system integration service or get in touch.