How to connect your ERP to your accounting software (without double entry)
Retyping invoices from one system into another wastes hours and creates mismatches. Here is how API and webhook integrations work, what to sync, and a security checklist before you connect anything.
FFINTRON Team··3 min read
Most growing businesses run more than one system. Sales might live in an ERP such as Oracle, SAP, Odoo or Dynamics, the online shop in Shopify, and the books somewhere else. When nobody connects them, someone retypes every invoice, and the figures never quite agree.
An integration lets the systems talk directly. Done well, an invoice is entered once and appears everywhere, correctly, within seconds.
Two ways systems talk
Method
How it works
Good for
API
System A sends a request to system B: "create this customer", "give me today's invoices".
Sending documents, reading reports, nightly syncs
Webhook
System B tells system A the moment something happens: "invoice SI-0042 was just posted".
Real-time updates without constant checking
Most good integrations use both: the API to send and read, webhooks to hear about changes straight away.
Decide what to sync, and in which direction
Before any code is written, agree on who owns each piece of data:
Customers and suppliers: usually the ERP or CRM is the master, and accounting receives copies.
Items and prices: owned by whoever manages the catalogue.
Invoices: created where the sale happens, posted into accounting.
Payments and balances: owned by accounting, read by the other systems.
One owner per record avoids the classic problem of two systems overwriting each other.
Use the other system's own ids
Each system numbers records differently. Instead of storing a mapping table, a good accounting API lets you send the ERP's own id once (for example ext:erp:9001) and use it from then on. Updating a customer becomes one call: "create or update customer 9001", whether or not it exists yet.
Make retries safe
Networks fail. If a request times out, did the invoice post or not? Sending it again could post it twice. The fix is an idempotency key: send your own document number with every request, and the accounting system returns the first answer if it sees the same key again, without creating anything new.
Keep your controls
An integration should not be a back door. Check that:
Each connected system gets its own key, so you can switch one off without stopping the others.
Each key can do only what it needs: a reporting tool reads, it never posts.
Approval workflows and locked periods still apply to documents that arrive through the API.
Every call is logged with which key made it, and every change appears in the audit trail.
Keys can be limited to the other system's IP addresses and given an end date.
Webhooks are signed, so the receiving system can prove a message really came from your accounting.
A simple rollout plan
List the records to sync and who owns each.
Make a read-only key and test reading customers and reports.
Sync masters (customers, suppliers, items) using the ERP's ids.
Send invoices and receipts with idempotency keys.
Add webhooks so the ERP hears about postings and payments.
Watch the request log for errors during the first weeks.
How FINTRON does it
FINTRON's API and webhooks follow every point above. Your admin makes a key per system and ticks, module by module, what it may do: masters, accounting, inventory, orders, prices, reports, CRM, procurement, payroll or approvals. Webhooks are signed and retried for a day, writes accept idempotency keys and your own ids, and the developer guide includes ready code in cURL, PHP, Node.js, Python and C#. Start a free trial or ask our team to switch on API and webhooks for your workspace.