Skip to main content

Integration guide for accounting systems: start with one order

Integration guide for accounting systems: start with one order

It is the last working day of the month and the numbers don't add up. There is an order in the webshop that never made it into the books. A payment was processed days late. And there is a credit note that someone has to adjust by hand in three systems. Together, those irritations hit your cash flow, your customer service and the month-end close. This integration guide for accounting systems walks through the integration in the sequence I would build it in.

A good integration moves the right data at the right moment and comes with clear agreements on what happens when something fails. With several sales channels, your day-to-day operations show how well that is arranged.

Follow one order into the ledger

My sequence: the business process first, the API documentation after that. Follow one order from the moment the customer checks out until it is processed in the books. Then add the exceptions, because in practice that is what you deal with: returns, partial deliveries, discount codes, failed direct debits and invoices that someone creates by hand.

In many organisations the question of which system leads for a specific piece of data remains unanswered. That is where duplicate customer records, mismatched VAT amounts and invoices with the wrong status come from.

A check you can do today: for orders, customers, payments and invoices, write down where they originate and which system holds the final truth. Add who is allowed to change them. A flowchart with systems, data fields and owners is often enough to show the biggest bottlenecks. With that chart you can judge whether a standard connection is enough or whether you need custom development.

Turn the wish into one concrete goal

"We want invoices to be sent across automatically." That is how an accounting integration often starts, and as a brief it is too broad. First name the business problem you want gone.

Perhaps checking orders costs the finance team hours every week. Perhaps account managers can't see whether a customer has paid. Or revenue and VAT are only reliable at the end of the month, which makes it hard to manage on up-to-date figures. Each of those problems calls for a different set-up.

Translate that problem into a concrete goal, such as creating sales invoices automatically, reporting payment statuses back, processing daily revenue per payment provider or synchronising debtors. Then decide on the frequency. My starting point is hourly or nightly processing, and I only move to real time when someone demonstrably needs that speed. For some processes such a batch is more reliable and cheaper.

Give every piece of data one owner

The most important design choice is often the least spectacular one: which system is in charge, whether that is your webshop, ERP, CRM or accounting package. For order and product information that is usually the sales or ERP system. For ledger accounts, VAT codes and financial periods, the accounting package usually leads. Things go wrong as soon as two systems are allowed to overwrite the same data and nobody has set rules for it.

Take a customer who changes their company name in the customer portal. The change goes straight to the books, where the finance department had made a correction in the meantime. Without an agreement on which system leads here, an automatic sync can overwrite correct data this way.

My rule is one owner per type of data and an integration that runs in one direction. A one-way integration is often easier to maintain and less error-prone. I only build two-way synchronisation when both systems genuinely need to exchange current changes. You give up some flexibility, and in return you get an integration where everyone knows which version of the truth applies.

Agree the posting rules with finance

An integration that runs without errors can still post revenue to the wrong ledger account. That is why I would take the financial rules out of scattered scripts and out of one employee's head and put them in writing, somewhere both finance and the developer can read them.

Record how you assign revenue to ledger accounts, which VAT code belongs to which situation and how you process shipping costs, discounts, gift cards, prepayments and transaction fees. Give returns a rule of their own. A refund is not always the same as a credit note, and that difference can matter for your reporting and VAT return.

If you sell in several countries, this matters even more. Different VAT rates, currencies and invoicing requirements call for a set-up that stays auditable, with an integration that handles this complexity in a structured way.

So involve someone from finance in the design and the acceptance test. Whether the data is financially correct is something a person in your own organisation has to assess.

Make every failed posting rerunnable

No integration runs forever without incidents. Think of an API that is temporarily unreachable, a token that expires, an accounting period that is already closed or a required field that is missing. How the integration deals with that decides how much stress it causes you.

Before an integration goes live, I insist on this:

  • A log of every run, showing which message was offered when and why something was rejected.
  • A failed run that you can execute again, with the integration recognising duplicate invoices and entries.
  • Alerts to the right person, with the order number and the cause included.

A technical error message sent to a general email address rarely helps. Agree which errors escalate immediately, and make sure someone notices as soon as anything blocks revenue processing or invoicing.

This is also the point to set out agreements on maintenance. Who checks the error queue and restarts failed runs, and who investigates recurring discrepancies? Without an owner, an integration is technically present and operationally unmanaged.

Test with the messy orders you actually get

A test in which one standard order produces a neat invoice proves little. Use the scenarios you actually run into: an order with several VAT rates, a partial refund, a failed payment that succeeds later, a foreign customer and an order with a discount or shipping costs.

Then look at the outcome in the books. Are amounts rounded as expected? Is the revenue on the right account, is the payment status correct and are duplicate requests recognised? Compare the results with the agreements in your financial set-up.

Only switch off the old way of working after a limited trial period, for example by first running the integration alongside your existing bookkeeping process. That extra checking is temporary and shows errors before they stall your month-end close.

Integration guide for accounting systems: plan post-launch maintenance

After go-live, everything keeps moving. Accounting packages change, APIs get new versions and your own processes evolve. Perhaps you add a payment provider, open a new sales channel or start invoicing subscriptions differently. If the integration isn't prepared for that, technical debt quietly builds up.

Plan periodic checks on error messages, processing times, invoice counts and differences between sales and financial reports. When a problem comes back, find out why it happens. A VAT code that keeps going missing, for example, calls for a structural improvement in the source data, and with it goes the manual correction someone kept making.

Record the data flows, financial rules, connections in use and maintenance tasks somewhere the people involved can find them. When an employee leaves or you switch suppliers, that documentation keeps you in control of a business-critical process.

Standard or custom: count your exceptions

A standard integration is a good choice when your process largely matches the available features and you have few exceptions. You are usually up and running sooner and the maintenance costs are predictable. Check in advance which ways of working the package enforces, because standard software sometimes imposes a process that sits badly with your organisation.

Custom development makes sense when you have specific order logic, multiple data sources, unusual invoicing or high volumes. If you need to connect an internal platform to an accounting package, a targeted API integration is often the better route. Such an integration follows your order logic, so the daily workarounds around the limitations of a standard plugin disappear.

My rule of thumb uses the order trail from the first step. Count the exceptions in it that someone has to correct by hand: the more there are, the sooner custom development pays off. How much weight the higher investment for custom work carries depends on the complexity of your process, your growth plans and what an error costs you.

Your next step: pick a recent order with a return or a discount and follow it from checkout to the ledger. Note at each step which system leads and where someone steps in by hand. If you would like someone to look at it with you, LJPc reviews the integration in the context of the development, hosting and maintenance around it.

Stay up to date with recent developments! Subscribe and receive our newsletter Signing up...