Duplicate Customers in Business Central: Stop Them, Then Merge Safely

The order of work that stops invoices landing on the wrong customer: restrict creation, switch on checks, triage open documents, then merge with the built-in function after a rehearsal.

Stop new duplicates before you merge old ones. First restrict who can create customers, with permission sets, customer templates and a customer approval workflow. Second, switch on duplicate checks: the contact duplicate search and the warning on a VAT registration number already in use. Third, triage open documents: finish or move open orders, correct invoices posted to the wrong customer with a credit memo, and apply open entries. Then merge with Merge With on the customer card, after a backup and a rehearsal in a sandbox copy. Merging renames every reference, ledger entries included, to the surviving customer and cannot be undone. Add a small AL validation when your matching rule goes beyond the standard checks.

Why do duplicate customers lead to invoices on the wrong customer?

Because the person entering the order picks the first card that looks right. With two cards for the same company, orders split between them, so invoices go to an old address or a closed contact, statements and reminders show half the balance, the credit limit is checked against half the exposure, and a payment is applied to one card while the invoice it pays sits open on the other. Finance then chases a debt that was paid, and the customer receives a reminder they do not owe.

Merging the cards fixes the history, but it does not stop the next duplicate. That is why the order of work matters: close the routes that create duplicates first, then clean up, and only then merge.

Who should be allowed to create customers in Business Central?

Very few people. In most companies the duplicate list comes from many users with the right to create a customer under time pressure. Give insert rights on the customer table to the role that owns the customer master, usually credit control or finance, and let sales request new customers instead of creating them. Customer templates fill posting groups, payment terms and other defaults consistently, so the new card is right the first time.

For control without delay, enable the Customer Approval Workflow from the workflow templates, with the response that restricts use of the record until it is approved. The approver checks for an existing card before approving. Remember the routes that are not people: webshop connectors, CRM synchronisation, EDI and imports can all create customers. Where Dynamics 365 Sales is connected, the coupling and synchronisation rules that stop it multiplying customers are on credit hold and duplicate customers across Sales and Business Central.

Which duplicate checks does Business Central have, and what do they miss?

Two standard checks, both warnings rather than blocks. The contact duplicate search, set up on Marketing Setup with its duplicate search strings, finds likely duplicate contacts, and contacts can then be merged; it helps where customers are created from contacts. When a VAT registration number already used on another customer is entered, Business Central can show a message listing that customer; whether and how it appears depends on your setup and version, and the user can still continue.

What they miss: names spelled differently with no VAT number, which is common for private customers and small businesses; customers created by integrations; and any rule specific to your business, such as one customer per company registration number or per email domain. Those gaps are where a small validation earns its place.

Which duplicate customers should you merge, and which are separate customers?

Merge only cards for the same legal entity buying on the same terms. Two cards for one company created by mistake are duplicates. Branches of one group that order separately but are invoiced centrally are not: keep them as separate customers and point them to one bill-to customer. Two companies with different VAT or company registration numbers are separate customers, however similar the names. The general method for profiling duplicates and choosing which record survives is in our guide to fixing duplicate customer data in Dynamics 365, written for Dataverse; the same reasoning applies to Business Central cards.

SituationWhat to doWhy
Same company, two cards created by mistakeMerge into the card with the ledger historyOne balance, one credit limit, one statement
Branches that order separately, invoiced centrallyKeep separate, set a bill-to customerShip-to and order history stay per branch
Same name, different VAT or registration numberKeep separateDifferent legal entities
Old card no longer used, no open entriesMerge, or set Blocked to All with a note pointing to the survivorBlocking is reversible, merging is not

What do you do with open documents and invoices already posted to the wrong customer?

Clean up what is open before merging, so the merge does not carry errors onto the survivor. Open quotes, orders and blanket orders on the duplicate are either finished or moved; posted invoices that went to the wrong customer are reversed and reissued. Correct and Cancel on a posted sales invoice handle unpaid invoices: Correct posts a credit memo and opens a new invoice to fix, Cancel only reverses. For an invoice that is already paid or partly paid, post a corrective credit memo and deal with the payment application by hand.

Where the two cards really are the same company, there is often nothing to reverse: the invoice is on the right company, just on the wrong card, and the merge puts it in the right place. Note those open entries; after the merge, apply payments and credit memos on the survivor so the balance and the statement are clean.

What does merging do to ledger entries, and what can it not undo?

Merge With on the customer card opens the Merge Duplicate page, documented on merge duplicate customers, vendors or contacts. It lists the fields that differ, with Override to take the duplicate's value, and the related tables with record counts for each card. When you merge, the duplicate is renamed so that every field related to the customer, ledger entries and posted documents included, points to the surviving customer number. Where a related record would end up with the same key on both cards, such as a ship-to address code used on both, you resolve the conflict with Remove Duplicate or Rename Duplicate first. Only users with the MERGE DUPLICATES permission set can merge.

  • It cannot be undone. Microsoft states this plainly, so the rehearsal and the restore point matter.
  • Posted documents now carry the survivor number, but the name and address printed on them stay as they were posted, and documents already sent to the customer are not changed.
  • Open entries from both cards sit on one customer but are not applied to each other; that is a separate step.
  • Systems outside Business Central that store the old customer number, or a coupling to an account in Dynamics 365 Sales, are not updated by the merge; decide what happens to them before merging.

How do you rehearse and run the merge safely?

Rehearse every pair in a sandbox copy of production first, created from the Business Central admin center, and check the result as finance would: customer balances, aged receivables, statements, credit limits and any integration that reads customers. Then merge in production in small batches outside working hours, with a known restore point for the environment and a log of what merged into what, the date and who approved it.

After each batch, apply open entries on the survivors, review credit limits that were set on two cards, and resend any statement that went out with a split balance. Months after a migration, the same work is part of a wider master data triage described on Business Central post-migration audit and stabilisation.

When is a small AL validation worth adding?

When your rule for a duplicate goes beyond what the standard checks see, and the cost of a wrong customer is high. Typical rules: one customer per company registration number, one per normalised name and postcode, or one per email domain for business customers. A small per-tenant extension can check new and changed customers against the rule and either stop the save or ask for a reason, and because it runs on the table, it also covers customers created through APIs and integrations.

Keep it small and explicit: the rule, the message, a way for the customer master owner to override it with a recorded reason. Do not try to build fuzzy matching inside Business Central; run that as a periodic report instead. Extensions like this are part of Business Central AL development.

What are the steps to stop duplicate customers and merge them safely?

Restrict, approve, check, list, triage, rehearse, merge, validate. The first three stop new duplicates; the next four clean up the old ones; the last closes the gap the standard checks leave.

  • Restrict who can create customers: Give insert rights on customers to the few roles that own the customer master, usually credit control or finance, and make everyone else request a new customer.
  • Create from templates with approval: Use customer templates for each customer type, and enable the Customer Approval Workflow so a new customer cannot be used until someone has checked it is not a duplicate.
  • Switch on duplicate checks: Turn on the contact duplicate search on Marketing Setup and tune its search strings, use the VAT registration number warning, and find which integrations or imports create customers and how they match.
  • List the duplicates and choose survivors: List candidate pairs by VAT or company registration number, normalised name with postcode and email domain, and agree for each pair which customer survives, usually the one with the ledger history and open documents.
  • Triage open documents: Finish or move open quotes and orders on the duplicate, correct invoices posted to the wrong customer with Correct, Cancel or a corrective credit memo, and note open entries that will need applying after the merge.
  • Rehearse the merge in a sandbox copy: In a sandbox copy of production, run Merge With for each pair, resolve conflicts with Remove Duplicate or Rename Duplicate, and check balances, statements and integrations afterwards.
  • Merge in production in logged batches: With a known restore point, merge in small batches outside working hours, record what merged into what, then apply open entries and review credit limits on the survivors.
  • Add a validation where the standard checks stop: Where your matching rule goes beyond the standard checks, add a small AL extension that checks new and changed customers against it, including those created through integrations.

What does Solzet deliver for duplicate customers in Business Central?

Solzet sets the controls and does the cleanup with your finance team. We restrict customer creation, configure templates and the customer approval workflow, switch on and tune the duplicate checks, find the integrations that create customers, list the duplicates and agree survivors with credit control, triage open documents and wrong invoices, rehearse every merge in a sandbox copy and run them in logged batches, and add a small AL validation where your rule needs one. Our own senior consultants and AL developers do the work. The service line is Dynamics 365 Business Central.

Where customer relationships are managed in a CRM next to Business Central, buyers who would rather not carry Microsoft licensing for it can choose a custom CRM. We recommend the right solution: Dynamics 365 (Customer Engagement, Business Central or Finance and Operations), Power Platform, or a custom-built CRM. One team for CRM, ERP and the integration between them.

What do people ask us?

How do I merge duplicate customers in Business Central?

Open the customer you want to keep, choose Merge With, select the duplicate, choose which differing values to keep with Override, resolve any conflicts with Remove Duplicate or Rename Duplicate, and merge. You need the MERGE DUPLICATES permission set.

What happens to ledger entries when customers are merged?

The duplicate is renamed so that ledger entries, posted documents and every other record related to it point to the surviving customer number. Open entries are not applied to each other automatically, and the name printed on posted documents stays as posted.

Can a customer merge be undone in Business Central?

No. Microsoft states that merging cannot be undone. Rehearse in a sandbox copy of production, keep a restore point, and log what merged into what.

How do I stop users creating duplicate customers?

Limit who can create customers, use customer templates, enable the Customer Approval Workflow so new customers are checked before use, turn on the contact duplicate search, and add a small AL validation if your rule needs more than the standard checks.

How do I fix an invoice posted to the wrong customer?

If it is unpaid, use Correct or Cancel on the posted sales invoice. If it is paid or partly paid, post a corrective credit memo and fix the payment application. If both cards are really the same company, merging them may be enough.

Should branches of one company be merged into one customer?

Usually not. Keep branches that order separately as their own customers and point them to one bill-to customer, so ship-to and order history stay per branch while invoicing is central.

Does Solzet clean up duplicate customers in Business Central?

Yes. We set the controls that stop new duplicates, agree survivors with finance, triage open documents, rehearse each merge in a sandbox copy and run them in logged batches.

Which solution is right for your business?

Tell us what you need. A senior consultant replies within one business day with a recommendation (Customer Engagement, Business Central, Finance and Operations, Power Platform or a custom-built CRM), not a sales script.