To connect an ERP, a CRM, point-of-sale tills and an accounting package, start with an inventory of data flows, before you pick a single connector. Each flow gets one line: what data leaves which system, for which target, on what trigger, how often, who owns it, and what happens when it fails. Next, decide which system is the system of record for each piece of data. The connection method comes last, chosen flow by flow between the vendor's native connector, an integration platform and custom API work.
Systems that don't talk to each other eat into the time of specific people. An accountant copies till totals every morning, a controller reconciles two extracts before each committee, and a salesperson re-enters in the ERP a customer the CRM already holds. Those hours go into copying instead of analysis, and every re-keying is one more chance of a typo. The numbers end up disagreeing, and every management meeting opens with an argument over which revenue or stock figure is right.
What does your last software contract say about interfaces?
Dig out the last software contract you signed, or the last acceptance sign-off for a project that touched your systems, and look for three answers. Who maintains the interface when either application moves to a new version? Who gets the alert when a transfer fails, and how fast must they act? Were you given the description of the data exchanged (fields, formats, code mappings)?
If the answers aren't there, you have found your first risk. An interface with no named owner tends to break quietly at the first upgrade of either application. From now on, those three points become contract requirements for every new connector.
Which flows should you list before choosing a connector?
A flow is data moving from one system to another for a business reason: the day's sales into accounting, or a customer signed in the CRM who has to exist in the ERP before anyone can invoice them. List every one, including the flows that currently run on an Excel file sent by email. Those are exactly the ones the integration is supposed to replace.
Here is the inventory template. Copy it into a spreadsheet and use one line per flow and per direction, which means a two-way exchange takes two lines, often with two different owners.
| Flow | Source | Target | Trigger | Frequency | Owner | Error handling |
|---|---|---|---|---|---|---|
| Business name and data carried | System that creates the data | System that receives it | Close, approval, creation or fixed time | Real time, hourly, daily | Business person and their backup | Where rejects go, who fixes them, how to resend without duplicates |
The last column decides how reliable everything else is, and it is often the one left blank. A reject that lands in a visible queue with a readable reason gets fixed. A reject buried in a technical log gets found through an accounting variance.
Which application is the system of record for each piece of data?
The inventory shows you data that lives in several systems at once, and that is where discrepancies start. To avoid them, one system creates and changes each object, and the others receive a copy they don't edit. A price changed directly on a till gets overwritten at the next sync, or worse, the till keeps selling at a price nobody approved.
This common split is a starting point to discuss with your department heads.
| Data | System of record | Who changes it | Copies |
|---|---|---|---|
| Prospect, contact, opportunity | CRM | Sales team | ERP at signature |
| Billed customer (tax ID, payment terms) | ERP | Sales administration | CRM, POS |
| Item, recipe, selling price | ERP | Product or offer manager | Tills, ordering site, CRM |
| Stock | ERP | Receipts and sales | Dashboards |
| Till receipt | POS | The sale itself | Accounting, ERP, CRM |
| Customer and supplier invoices | ERP | Billing, accounts payable | Accounting |
| Journal entry | Accounting | Accounting | Management control |
Customers and prices cause most of the arguments. A customer is often born in the CRM before becoming a billable account in the ERP, and that handover has to be a flow fired by a specific event, such as the contract signature. Prices should leave from one place, however many channels display them.
Native connector, integration platform or custom API: how do you choose?
A native connector comes from the vendor of one of the two applications and links that specific pair. An integration platform (middleware, or iPaaS when it is sold as an online service) sits in the middle and routes data according to rules you configure. Custom API work links systems through code written for you, or through a scheduled file exchange, its simplest form.
| Criterion | Native connector | Integration platform | Custom API |
|---|---|---|---|
| Good fit | A common pair of applications, standard data | Several systems sharing the same data | A rule specific to your business, a system with no connector |
| Time to go live | Shortest, mostly configuration | Medium, configuration per flow | Longest: specify, build, test |
| Business-specific rules | Whatever the vendor planned | Through configuration, sometimes some code | Whatever the specification says |
| Version upgrades | Vendor, check the contract | Platform, for its own connectors | You or the contractor, per the contract |
| Errors and replay | Often minimal, test it | Usually included | Missing unless specified |
| Dependency | On the vendor | On the platform, which holds the rules | On the code and its documentation |
| Spend profile | Licence or add-on | Subscription by volume or connections | Build, then maintenance |
Check first whether a native connector exists, and test its error handling by cutting the connection in the middle of a transfer. An integration platform pulls ahead once three or four systems exchange the same data, because each extra point-to-point link adds one more interface to maintain. Custom API work fits rules nobody else has, provided the documentation and the code are handed over to you. Our systems integration page covers all three routes.
In what order should you connect the flows?
Start with the flow that carries money and gets re-keyed most often, usually sales into accounting. Mistakes there cost money directly and the time saved shows in the first week. A one-way flow is also easier to make reliable, and it gets the team used to running checks.
Reference data flowing down to other systems comes next (items, prices, billed customers), followed by quantity flows such as stock consumption. Two-way exchanges, like syncing customers between CRM and ERP, come last, as they depend on having settled the system of record object by object. Our article on process-based architecture follows the same logic.
What should happen when a flow fails?
Every flow fails at some point, through a network outage, an upgrade or an unknown item code. Four mechanisms turn a silent failure into an incident handled the same day.
A reject queue holds every refused record with its reason, visible to the flow's owner. A completeness check compares what should have arrived with what did, in count and in value, for instance as many till closes as open outlets. A unique key per record (outlet, date, close number) stops a transfer resent after an outage from creating a duplicate. Finally, the alert goes to a named person and their backup, since a shared mailbox rarely gets read on a weekend evening.
Each of these is tested during acceptance by triggering every case on purpose. Our article on Morocco's DGI e-invoicing and your existing systems applies the same principle to structured invoices.
Where should a 24-outlet restaurant chain start?
A quick-service restaurant chain runs 24 outlets in Casablanca, Rabat and Marrakech, with tills managed from a cloud POS application. The company and the figures are invented for illustration. Purchasing and central stock run in an ERP, accounting in a separate package, and the loyalty app sits on a CRM.
Every morning, an accountant downloads each outlet's till close and keys in the totals by payment method. The outlets open seven days a week, which makes 168 closes a week. At ten minutes each, that is 1,680 minutes, or 28 hours a week. Morocco's Labour Code sets normal working time outside agriculture at 44 hours a week, which puts the keying at close to two thirds of a full-time job. Prices are entered twice, and stock ignores sales until the monthly count.
| Flow | Source | Target | Trigger | Frequency | Owner | Error handling |
|---|---|---|---|---|---|---|
| Menu and prices | ERP | Tills | Approved price change | Before opening | Offer manager | Outlet not updated is flagged, previous menu kept |
| Sales by payment method | Tills | Accounting | Till close | Daily | Sales accountant | 24 closes expected, totals compared, missing close held |
| Ingredient consumption | Tills | ERP | Till close | Daily | Stock manager | Item without a recipe rejected and listed |
| Loyalty points | Tills | CRM | Receipt with an identified customer | Real time | Loyalty manager | Resent without duplicates using the receipt number |
The ERP becomes the system of record for items, recipes and prices, and the POS application stops accepting local price edits. Management connects sales to accounting first, the flow with the heaviest keying. The POS vendor offers a native connector to the accounting package, which the team tests by cutting one outlet's connection during a close. A daily completeness check replaces the keying. Prices and consumption, which share the item master, then go through an integration platform, and loyalty waits for the third phase.
A few weeks later, the Marrakech outlet loses its connection on a Tuesday evening, during the close. On Wednesday morning, the check shows 23 closes received out of 24, before anything is imported. The missing close arrives once the connection is back, and its key stops it from being counted twice.
Who runs the flows once they are live?
Each owner named in the inventory reviews their reject queue and completeness check at the pace of their flow. IT keeps the inventory up to date and checks at every version upgrade that no flow breaks.
The executive committee needs one monthly indicator: the number of rejects left untreated for more than two working days (a threshold to set for your own flows). As your application portfolio grows, our business applications team can build and document these flows.
FAQ
- Should we move to a single ERP to get rid of interfaces?
A single ERP cuts the number of interfaces without removing them, since the tills, the bank, the ordering site or the loyalty app remain separate systems. Replacement is a decision to make for other reasons, and the flow inventory helps either way, because it describes what any future system will have to take over.
- Does everything need to sync in real time?
Not necessarily. Frequency depends on how the data is used. Sales headed for accounting are fine with a daily transfer after the close. A loyalty balance shown to a customer, on the other hand, has to be current at the till. Real time makes error handling harder, so keep it for flows where a delay actually gets in someone's way.
- Is a daily Excel export sent by email an integration?
It is a flow, and it deserves its line in the inventory. It depends on one person, though, has no completeness check and no protection against duplicates, and stops when that person is on leave. For a daily flow, files dropped automatically on a server and checked on arrival can be enough.
- Does loyalty data moving from the tills to the CRM raise a compliance question?
Yes, as soon as a customer is identified at the till. Their name or phone number is personal data under Morocco's Law 09-08, whose article 12 requires prior declaration of the processing to the CNDP, the data protection authority, or its authorisation in certain cases. Check that this flow and the CRM receiving it are covered by your declaration. If the CRM is hosted outside Morocco, the transfer also falls under articles 43 and 44 of the law, which may require CNDP authorisation.
Sources
- Moroccan Labour Code, article 184 (adala.justice.gov.ma, French text)
- Law 09-08 on personal data protection, articles 1, 12, 43 and 44 (adala.justice.gov.ma, French text)
Last verified: 2 November 2026.
In the restaurant chain example, the 168 till closes re-keyed every week take up 28 hours of work. Map your own re-keying with us during a free audit of your interfaces.





