Customer Entity Resolution in CRM & Accounting: Preventing DisplayName Collisions

Technical guide to deterministic entity resolution across HubSpot CRM, Shopify B2B, QuickBooks Online, and Xero using Tax IDs, corporate domains, and suffix stripping.

Mertio Engineering · Updated 2026-11-21

Customer Entity Resolution is the deterministic data-engineering process of linking records across disparate systems (HubSpot Companies, Shopify B2B Profiles, QuickBooks Customers, Xero Contacts) that refer to the same real-world legal business despite spelling, suffix ("Inc." vs "Incorporated"), or contact-email variations.

Accounting FormulaCanonical Match Priority: 1. Tax ID/VAT → 2. Registrable Corporate Domain → 3. Suffix-Stripped Legal Name → 4. Human Quarantine

Why Deterministic Pass Hierarchies Beat Black-Box Fuzzy Thresholds in Finance

  • Fuzzy Levenshtein distance alone can falsely merge "First National Systems" and "First National Services"—a catastrophic accounting error.
  • Corporate domain (`stripe.com`) + Tax ID matching provides mathematical certainty while quarantining genuinely ambiguous subsidiaries for human review.

Further reading: Read the full engineering breakdown →

What finance will ask

Why must free email providers be excluded from domain entity resolution?

Without a public-domain blocklist (`gmail.com`, `outlook.com`, `yahoo.com`), two unrelated small businesses using Gmail addresses would wrongly resolve to the same customer.

Close the deal.
Mertio keeps the books straight.

Start on the free plan with 5 synced invoices a month, or walk through every screen in the sandbox first.

Not ready to connect anything? Use the free finance toolkit: reconcile two CSV exports, age your receivables or make a PDF invoice, with no account.

Sandbox Start free