Define an authoritative source for each field and each stage of the workflow before wiring two systems together. That source is the field's system of record, or source of truth: the value is created and corrected there, and every other system holds a copy. Your CRM and your ERP may both show a customer's legal name. Only one of them may change it, and the change reaches the other under a written rule.
The rule covers master data, the reference records that many processes reuse, such as customers, products and suppliers. It also covers transaction data that changes with every sale, such as order and payment status.
Write down who owns each field
| Information | System of record (example) | When the systems disagree |
|---|---|---|
| Account manager | CRM | Other systems receive a read-only copy. |
| Verified billing name | ERP | Conflicting changes go to review. |
| Sales opportunity stage | CRM | Kept separate from the order's fulfilment state. |
| Available stock | Inventory system | Rechecked before an order is committed. |
| Invoice settlement | Financial payment record | Marked paid only from a payment the bank or the payment provider confirmed. |
For each row, record four more things: the direction of the exchange, the delay you accept, who corrects errors and whether the value's history is kept. Then agree what happens when a source is down: show the last known value with the time it was updated, pause the action, or queue it. You can download this table as a sheet to fill in.
Keep identifiers apart from editable fields
Map each customer's CRM identifier to its ERP identifier in a fixed mapping table. Email addresses, phone numbers and names change, so none of them can be the only permanent key. Review duplicate customers, branches and separate legal entities with whoever owns the data before you merge anything. Two similar names are no reason to merge two records.
If a customer changes its legal name after invoices were issued, those invoices keep the old name. The change goes through a finance step that your accountant approves.
How we drew the line in our e-invoicing connector
We built a connector for linking billing systems to Jordan's national e-invoicing system, and we wrote the boundary into its documentation. The billing system decides when an invoice is issued, paid, refunded or voided, and it stays the source of truth for the invoice's lines and amounts. The connector sends what the billing system has approved and stores the national system's answer: the invoice status, its QR code and its UUID.
The technical guide from Jordan's Income and Sales Tax Department (ISTD) covers this case. If an accepted invoice is resent with the same number and UUID, the national system answers ALREADY_SUBMITTED and returns the original QR code, so no duplicate is created. That is why our connector always retries with the same pair. A stable identifier gives you the same protection between a CRM and an ERP.
Test late, repeated and out-of-order events
Integration events can arrive late, more than once or out of order. Stripe, for example, does not guarantee that events arrive in the order they were generated. It advises against using an event's timestamp to decide order or spot duplicates, and tells you to track event IDs instead. Before go-live, run these tests:
- Update a customer in the system of record, then deliver an older update. The newer value stays.
- Deliver the same event twice. You get one customer and one order.
- Cut the connection while an order is being created, then retry. There is still one order.
- Deliver "order paid" before "order created". The payment event waits until the order exists, or the system fetches the order from its source. No approved state moves backwards.
- Change the legal name in the CRM after an invoice is issued. The change goes to review and the invoice stays as issued.
- Take one system offline. The other shows the last value with its update time, or pauses the action and alerts the owner.
Give every exception an owner
Keep one queue where someone can see each conflict: the record, both values, the rule that stopped it and how long it has waited. Route each error to the person who can fix it. Our e-invoicing connector labels each error with who can fix it. It marks a setup error, such as wrong credentials, for the account administrator. It marks a data error for whoever entered the data, who fixes it at the source before it is sent again. The billing system decides who sees each label.
Reconcile after go-live
A successful API call tells you the message arrived. You still need to check that the record it produced is right. During the first month, compare sample records, totals and open exceptions between the two systems every week, and log each difference with whoever approved the fix. Keep credentials and unneeded personal data out of the logs, and give the integration account only the permissions it uses.
Put the translation between the two systems in one layer, so that each system keeps its own data model. Microsoft's Azure Architecture Center calls this the anti-corruption layer pattern: an adapter layer between subsystems that give the same data different meanings.
If you need help writing the ownership table and building the connection, tell us about the connection you need through our systems integration service. For how events travel between systems, read webhooks versus polling for integrations. Our SaaS data export specification lists what a full export must contain when one of the systems is a product you rent. Custom business systems covers the case where exceptions need a system of their own.




