HubSpot native Xero Data Sync breaks contact data because Xero and HubSpot model customers in completely different ways. Xero stores one Contact record per billing entity with a single primary email, while HubSpot separates Companies (deduped by domain) from individual Contacts (deduped strictly by Email). When bi-directional sync runs on the Email field, an AP update in Xero can overwrite a sales buyer email in HubSpot, and any client using two or three email addresses spawns duplicate contact records.
How it works in practice
Pause your native Xero Contact sync before cleaning data
In HubSpot, open Settings > Integrations > Connected Apps > Xero > Contact sync and pause the sync. Cleaning up duplicates while a bi-directional sync is still active will cause Xero to recreate or overwrite records mid-cleanup.
Switch the Email field mapping out of bi-directional mode
Open your Xero Data Sync field mappings in HubSpot. Set conflict resolution so HubSpot wins on contact identity fields, or switch the Contact sync direction to one-way (HubSpot to Xero) so finance edits in Xero cannot overwrite a sales buyer email in HubSpot.
Check sync rules for blank values and missing domains
Verify that empty fields in Xero are blocked from overwriting populated HubSpot properties. Export your HubSpot Companies without a Company Domain Name and backfill their real domains so HubSpot stops creating duplicate companies.
Merge duplicate contacts using Secondary Emails instead of deleting
In HubSpot, go to CRM > Contacts > Actions > Manage duplicates. When one person uses two or three email addresses (for example a founder email and a billing alias), merge them into one contact record so the extra addresses live in HubSpot Secondary Emails without losing deal or email history.
Separate billing contacts from sales contacts long term
Tag finance recipients with a dedicated association label (such as Billing Contact) or link Xero Contacts strictly to HubSpot Companies rather than overwriting your sales champion contact record.
Side-by-side breakdown
| Data Model Concept | How HubSpot Works | How Xero Works | What Breaks Under Bi-Directional Sync |
|---|---|---|---|
| Primary unique key | Email address on Contacts; Domain name on Companies | Internal ContactID and exact Contact Name string | Changing a billing email in Xero overwrites an existing HubSpot person email instead of creating a separate AP contact |
| Company vs. Person | Companies and Contacts are separate CRM objects with many-to-many associations | One Contact object represents the company plus one Primary Person and optional extra persons | Sales champion in HubSpot gets swapped out for the client AP clerk stored as Primary Person in Xero |
| Multiple emails for one buyer | Supported via Secondary Email on a single Contact record | Primary email plus up to 5 Contact Persons on the same billing Contact | Each extra email or alias creates a brand new duplicate Contact in HubSpot when synced without strict filtering |
| Missing domain on accounting records | Creates a new Company when domain is blank and name differs slightly (Inc vs LLC) | No domain field on standard Xero Contacts | HubSpot accumulates duplicate Company shells alongside the real sales Company |
How Xero Overwrites a Different Person Email Inside HubSpot
This bug looks surreal the first time a RevOps admin sees it in an audit log. You have a HubSpot contact for Sarah Chen (sarah@northwind.io), your VP of Operations buyer who has 40 logged sales emails and three associated deals. Finance opens Northwind in Xero and updates the primary contact email to ap@northwind.io so invoices reach accounts payable. Twenty minutes later, Sarah Chen contact record in HubSpot has its primary email changed to ap@northwind.io.
Once that happens, the damage cascades fast. Sarah emails stop logging to her record because her real address is no longer primary. Marketing workflows start emailing ap@northwind.io as if it were Sarah. If Sarah fills out a web form next week with sarah@northwind.io, HubSpot sees an unknown email and creates a brand new duplicate contact with zero historical deals.
The root cause is structural, not a one-off typo. Xero only exposes one primary contact slot per organization record to HubSpot Data Sync. When Data Sync links that Xero Contact to a HubSpot Contact by internal sync ID, any change to the primary email in Xero pushes down as an update to that exact HubSpot Contact ID, even if finance typed a completely different person name and email.
Why Clients With 2 or 3 Emails Spawn Duplicate HubSpot Contacts
Teams migrating into HubSpot or connecting Xero to an older portal hit the mirror-image problem: duplicate contacts multiplying every week. A typical B2B client interacts with you through at least two addresses, such as a personal work email during sales and a shared inbox like finance@client.com or billing@client.com during invoicing. Some small business owners also email from a Gmail address on their phone and a domain address from their laptop.
Because HubSpot deduplicates contacts strictly on exact email match, syncing every Xero contact person or invoice email creates a separate HubSpot contact for each address. Worse, Xero Contacts do not carry a native website domain property. When HubSpot tries to associate those new billing contacts to a Company, a slight naming difference (Acme Ltd in Xero vs. Acme Limited in HubSpot) spawns a duplicate Company record too.
Locking Down Native HubSpot Data Sync Settings
If you want to keep using HubSpot native Xero Data Sync, you need to narrow what it is allowed to touch. Do not leave Contact sync running bi-directionally across your entire database.
First, add a sync filter in HubSpot so only contacts who actually belong to billing (for example, contacts on a list called Sync to Xero or contacts with Association Label = Billing Contact) sync between the two apps. Your 12,000 marketing leads should never be exposed to an accounting sync.
Second, change the sync direction on Contact properties so HubSpot is the source of truth for names and emails, or turn off Contact sync altogether and sync only Companies and Invoices if your Data Hub tier allows it. Note that custom field mappings in HubSpot Data Sync require Data Hub Starter or higher.
Third, inspect your HubSpot Contact audit trail (Property History on the Email property) to find contacts whose email was recently overwritten by the Xero integration. Restore the real person email on the original record, then create a dedicated AP contact (or add the billing inbox as a separate contact associated with the same Company).
The Cleaner Architecture: Map Xero Contacts to HubSpot Companies, Not People
At a B2B company, an accounting customer in Xero is a legal entity (a Company), not an individual human being. Treating Xero Contacts as HubSpot Contacts is what forces a sales buyer and an AP clerk to fight over the same CRM record.
A company-first connector solves both problems at the root. Instead of mutating individual HubSpot Contact emails, it links each HubSpot Company 1:1 to its Xero Contact using domain matching, legal-suffix normalization (matching Northwind Ltd to Northwind Limited), and saved per-ledger contact IDs. Your sales contacts stay untouched inside HubSpot, while billing emails live separately at the company or invoice level.
Mertio is built around that exact 1:1 Company-to-Xero Contact model. It never overwrites your HubSpot Contact emails. It also blocks duplicate contact creation and gives you a collision guard screen to review any ambiguous match before an invoice goes out.
Further reading: Read the full engineering breakdown →
What finance will ask
Can I recover a HubSpot contact email after Xero sync overwrote it?
Yes. Open the affected Contact in HubSpot, hover over the Email property in the left sidebar, and click Details (Property History). HubSpot logs every historical value along with the integration that changed it, so you can restore the original email address and move the AP address to a separate billing contact.
Why does HubSpot create a duplicate contact when a client uses a second email address?
HubSpot uses the primary Email property as the unique identifier for contacts. Unless the second address is already stored under Additional Emails (Secondary Emails) on the existing contact record, any sync or form submission using the second email creates a new contact.
Does HubSpot Data Sync let me map Xero Contacts to HubSpot Companies instead of Contacts?
HubSpot native Xero Data Sync focuses primarily on Contact, Product, and Invoice syncs, which is why B2B teams with multi-contact accounts run into primary-email clashes. To keep human contacts untouched, restrict the native Contact sync with a billing-only list filter or use a company-first bridge like Mertio.
How do I stop Xero sync from creating duplicate HubSpot Companies?
Make sure every active HubSpot Company has its real Company Domain Name populated and avoid syncing Xero Contacts that have no email domain. When domain matching is missing, minor legal suffix differences like Inc, LLC, or Ltd trigger duplicate company creation.