Row conservation
Four input invoices create four output invoice rows; original invoice IDs are unique. No invoice is dropped or duplicated by a many-to-one account join.
Worked example / Data integration
Four fictional invoices, three CRM accounts and two independently verified account mappings. See why three invoices link to CRM records and one remains unmatched, then download the exact input and output files.
The CRM uses C- identifiers; the billing system uses A- codes. A company name is descriptive, not an independently verified cross-system join key.
On a narrow screen, swipe within a table to view all columns.
| CRM account ID | Account name |
|---|---|
| C-104 | Harbor Supply Ltd |
| C-205 | Greenline Works |
| C-309 | Larch Studio |
| Invoice ID | Billing account ID | Amount (EUR) |
|---|---|---|
| INV-01 | A-700 | 125.50 |
| INV-02 | A-700 | 74.50 |
| INV-03 | A-701 | 40.00 |
| INV-04 | A-999 | 60.00 |
Download billing invoices CSV. Import IDs as text; amounts are EUR decimal values.
In this fictional project, an independently reviewed account register verifies that billing account A-700 is CRM account C-104 and A-701 is C-205. There is no approved relationship for A-999. Similar-looking names cannot establish a third mapping.
| Billing ID | CRM ID | Evidence | Decision |
|---|---|---|---|
| A-700 | C-104 | Approved account register | Confirmed |
| A-701 | C-205 | Approved account register | Confirmed |
Join on billing_account_id. Preserve the original invoice ID, amount and billing account. If the approved crosswalk has no match, leave the CRM ID blank and mark the invoice unmatched.
| Invoice | Billing ID | CRM ID | EUR | Result |
|---|---|---|---|---|
| INV-01 | A-700 | C-104 | 125.50 | Matched |
| INV-02 | A-700 | C-104 | 74.50 | Matched |
| INV-03 | A-701 | C-205 | 40.00 | Matched |
| INV-04 | A-999 | — | 60.00 | Unmatched |
Download reconciled invoices CSV.
| Invoice | Billing ID | EUR | Reason |
|---|---|---|---|
| INV-04 | A-999 | 60.00 | No approved account mapping |
Four input invoices create four output invoice rows; original invoice IDs are unique. No invoice is dropped or duplicated by a many-to-one account join.
EUR 300.00 input = EUR 240.00 matched (three invoices) + EUR 60.00 unmatched (one invoice). All source amounts are accounted for.
Billing account A-999 remains unmapped. CRM account C-309 has no invoice in this sample; the absence of an invoice does not make that CRM account invalid.
Real projects must also test crosswalk uniqueness, source-grain definitions, currencies, reversals, dates and possible many-to-many relationships. These simplified files are fictional and do not claim a customer outcome.
For deduplicating records within a CRM, see the CRM deduplication walkthrough; for a defined integration project see data integration and reconciliation.
Describe your sources, approximate counts, available identifiers and required reporting outcome. No confidential records are needed for an initial enquiry.
Discuss integration requirements