Duplicate Counterparties and SKUs in 1C Sync: Causes and Prevention
Why 1C exchanges create duplicate customers and products, how to merge them safely and stop repeats: directory owners, external IDs, tax IDs.
“Bahor LLC”, “LLC Bahor”, “Bahor MChJ” and “Bahor (market)” — one customer or four? To a person, one. To a data exchange that compares names, four. Duplicate counterparties and products are the most common cause of mismatches between 1C and operational systems: a customer’s debt is split across several cards, product stock is split between two items, and sales reports stop adding up.
This article belongs to the 1C, Payme, Click and marketplaces section. The overall setup is described in running 1C alongside a cloud system.
Where duplicates come from
| Cause | Example |
|---|---|
| Two places to create records | A new outlet is created both by the rep in the app and by the accountant in 1C |
| Matching by name | "Water 1,5 L" and "Water 1.5L" are treated as different products |
| No mandatory identifiers | A customer without a tax ID, a product without a barcode |
| Re-sending | A connection glitch sends a document twice and creates it twice |
| Manual Excel imports | Import without checking for existing records |
How to find existing duplicates
- Legal-entity customers: group by tax ID (STIR). Two records with one tax ID are almost certainly duplicates.
- Outlets without a tax ID: group by phone, then by address and coordinates.
- Products: group by barcode, then by normalised name.
- Name normalisation: strip quotes, LLC/MChJ abbreviations and extra spaces, use one letter case, then compare.
The result is a table of “main record / duplicates / number of documents”. A person reviews it, not a script.
How to merge safely
- Choose the main record
- Move details
- Re-point documents
- Mark the duplicate
- Update exchange mappings
- The main record is the one with the most documents and complete details.
- Missing details (phone, address, tax ID) are copied into the main record.
- The duplicates’ documents are re-pointed to the main record.
- The duplicate is marked for deletion.
- In the exchange’s ID mapping table, the duplicate points to the main record so old references don’t recreate it.
Merge before the exchange goes live or outside working hours, with a database backup.
How to stop it happening again
- One owner per directory. Records can only be created in the owning system; the other only receives them.
- External IDs. Every object has an ID stored in both systems; the exchange matches by ID, tax ID or barcode, never by name.
- Mandatory fields. Tax ID for legal entities, phone for outlets, barcode for products.
- Check on creation. If an outlet with that phone or tax ID exists, the system offers it instead of creating a new one.
- Idempotent exchange. Re-sending the same document updates it rather than creating a copy.
- An error log with an owner. Exchange errors are reviewed daily, not at month-end close.
Mini-checklist for the 1C specialist
- A directory ownership table exists, signed off by the CFO.
- Manual creation in 1C is closed for objects owned by the other system.
- The exchange doesn’t create a record if a matching tax ID or barcode is found.
- An external ID is stored for every object.
- Re-loading the same package doesn’t change the number of records.
- The error log is reviewed daily.
More on working alongside 1C at Mirasoft and 1C; the list of connections is on the integrations page.
FAQ
Can we just delete the duplicate in 1C?
Not if documents already reference it. First mark the duplicate, move its documents to the main record, and only then delete it. Otherwise the history of settlements and sales breaks.
How do we find duplicates in a large directory?
Group legal entities by tax ID (STIR), outlets by phone and address, products by barcode. Then check similar names after normalising them: strip quotes, legal-form abbreviations and extra spaces.
Who should own the directories?
A named person per directory: usually the commercial team for customers and prices, accounting or purchasing for suppliers, the range manager for products. Without an owner, duplicates return within a month.
We’ll show how this process runs in Mirasoft on your own data, in 30 minutes.
- On your own catalogue and routes
- Run by an implementation engineer, not a salesperson
- No commitment, no prepayment





- +200
“We don’t show slides. We take one of your real orders and run it from the sales rep to the warehouse and 1C, so you see exactly where money leaks.”— Mirasoft implementation team