Article

Connecting your online store to your ERP and accounting

Decide, record by record, which system owns the truth and how often each record moves; the right connector follows from that.

The short answer

Your store takes orders; your ERP or accounting system runs stock, invoicing and the books. For each type of record, decide which system owns it, which way it moves and how quickly: usually orders, customers and payments flow in to the ERP, and items, prices and stock flow out to the store. Skip that map and you get duplicate customers, oversold stock and a painful month-end.

What actually needs to flow

We fill this in with every client before choosing any tool.

RecordUsual ownerDirectionHow often
Items, SKUs, descriptionsERPERP to storeOn change
Prices and price listsERPERP to storeOn change
Available stockERPERP to storeNear real time for fast sellers, scheduled for the rest
OrdersStoreStore to ERPNear real time
Customers and addressesStore (new), ERP (billing terms)Store to ERPWith each order
Taxes chargedStore (at checkout)Store to ERP, as chargedWith each order
Payments and payoutsPayment processorProcessor to ERPDaily
Refunds and returnsStore or ERP (agree which)Both waysOn event
Fulfillment and trackingERP or shipping toolBack to storeOn shipment
Two rules save most of the pain. Every item needs one shared identifier (usually the SKU) in both systems, and the ERP should record the tax the customer was actually charged, not recalculate it.

Three ways to connect

Ready-made connector

Many ERPs offer one. Fastest start; check what it syncs, how often, and who maintains it.

Integration platform

A subscription service with configurable, low-code flows: more flexible, but another subscription and failure point.

Custom integration

Code against each API, hosted and monitored; fits bundles, multi-warehouse, B2B price lists; costs more.

Example: ERPNext's store connectors

ERPNext has a Shopify connector (now delivered through a separate ecommerce integrations app) that creates sales orders from Shopify orders and pushes stock levels from mapped warehouses back to Shopify on an hourly schedule (ERPNext documentation). Its WooCommerce integration is simpler, one-way from store to ERP, and is marked as deprecated in version 15 (ERPNext documentation).

Whichever you choose, plan for missed messages: Shopify warns that webhooks can be missed (handler failures, downtime) and recommends periodic reconciliation jobs (Shopify). That holds for every platform.

The US details that trip people up

DetailWhat to do
Sales tax by jurisdictionNo federal VAT: states, often localities too, set sales and use tax by your nexus and the customer's location. The store or a tax service calculates it; map each tax line to its ERP account; test an order per state, including tax-exempt and resale customers.
Payouts net of feesProcessors deposit lump sums by ACH after fees, refunds and chargebacks. Use a processor clearing account and post fees separately, or the bank never reconciles (bank feeds and ERP reconciliation).
CurrenciesSelling in currencies besides USD? Decide where exchange differences go and whether foreign payouts land in a matching account.
Multilingual contentPlan how translated names and descriptions are stored and synced, not as an afterthought.
Personal informationCustomer data now sits in several systems; send each only what it needs. The FTC expects reasonable security and honest privacy practices; state laws (CCPA as amended by the CPRA, Texas Data Privacy and Security Act) add rights and service-provider duties (FTC guidance).

Check current tax rules with your tax adviser. This is general information, not legal advice.

What usually goes wrong

SKU mismatches

"TSHIRT-BLK-M" in the store, "TS-BK-MED" in the ERP: orders fail or create stray items.

Duplicate customers

Guest checkouts create one per order. Agree a matching rule (usually email) before go-live.

Overselling

Hourly sync, sold out in twenty minutes. Sync fast movers more often or keep a buffer.

Lost refunds

Store refunds without ERP credit notes overstate revenue and tax.

Silent failures

A Friday-night sync failure goes unnoticed. Every integration needs an error queue, alert and owner.

Rather talk it through? If your team is re-keying orders or chasing stock mismatches, we can map your flows and recommend the lightest connection that will hold up. Talk to a Promatics specialist

When to bring in help

Set up a connector yourself if you haveBring in a professional for
One store, one warehouseSeveral warehouses or sales channels
A modest catalogB2B and B2C pricing, bundles or kits
Simple tax (one or two states)Cross-border sales; a custom or heavily modified ERP
Someone who checks error logsVolumes where an hour of broken sync costs real money
Time to test with real orders firstNo one in-house to own it after launch

Our system integration service designs the ownership map, builds or configures the connection, tests awkward cases (partial refunds, split shipments, tax-exempt customers) and monitors it. Rebuilding the store? See eCommerce development.

Planning checklist

Ownership and identifiers

  • Every record type has an agreed owner system and direction.
  • Every item has one shared identifier used in both systems.
  • A customer matching rule is agreed (for example, email address).

Money and tax

  • Each sales tax line maps to the correct state or local tax account.
  • Payouts post through a processor clearing account, with fees recorded separately.
  • Refunds and chargebacks create the right credit notes or entries.

Operations

  • Stock sync frequency suits your fastest-selling items.
  • Split shipments, backorders and returns have been tested.
  • Multilingual product content, if needed, has a home and a sync rule.

Reliability

  • Failed records land in a visible queue with an alert.
  • A scheduled reconciliation check compares store orders with ERP orders.
  • A named person owns the integration and knows the manual fallback.

Sources and further reading

Product capabilities and guidance change. These are the primary sources this article relies on, checked on the review date above.

  1. Webhooks overview, Shopify Developer Documentation
  2. Shopify Integration, ERPNext documentation (Frappe)
  3. WooCommerce Integration, ERPNext documentation (Frappe)
  4. Privacy and security guidance for businesses, Federal Trade Commission

This article is general information, not legal, accounting or security advice for your specific situation. Examples are hypothetical unless stated otherwise.

Talk to Promatics

Stop re-keying web orders into your ERP

A disconnected store and back office wear a team down. We map your order, stock, tax and payout flows and say plainly which connection fits.

  • We map every flow before recommending a connector
  • State and local sales tax handled deliberately
  • Monitoring and a named owner after go-live