--- title: "Find and resolve duplicate item code errors in Pricebook" slug: "find-and-resolve-duplicate-item-code-errors-in-pricebook" updated: 2026-10-15T01:17:07Z published: 2026-10-15T01:17:07Z canonical: "help.servicetitan.com/find-and-resolve-duplicate-item-code-errors-in-pricebook" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.servicetitan.com/llms.txt > Use this file to discover all available pages before exploring further. # Find and resolve duplicate item code errors in Pricebook ## Overview Every Pricebook item, materials, services, equipment, and other direct costs, must have a unique code. If an item code already exists anywhere in your Pricebook, whether the item is active or inactive, ServiceTitan will block adding that same code and display a duplicate-code error. Find the duplicate and free the code so you can add or import the new item. --- ### #### Who uses this feature - Administrators and managers - Applies to all business types ## Find and resolve duplicate item code error in Pricebook 1. Go to the navigation bar and click **Pricebook** ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/icon-gnav-pricebook-inactive.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) . 2. Add a [service](/construction/docs/add-services-to-your-pricebook), [material](/construction/docs/add-materials-to-your-pricebook-1), or [equipment](/construction/docs/add-equipment-to-your-pricebook-2) item using the desired code. 3. If the code is duplicate, you’ll see the *Fix Duplicates* error message. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-82pd6ce2.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) 4. Click **View Duplicates** in the error message. 5. The *Code Duplicates* pop-up shows all items with that code, active or inactive. 6. Resolve the duplicate: 1. Click **Autofix** to automatically change the existing duplicate codes. This adds a number to the code, for example, code *A* changes to *A 1. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-feeta4xw.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D)* 2. Click an item name to open it in a new tab and manually edit its code. Save your changes. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-xlxa4mz7.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) 7. After the old item’s code is changed, finish creating the new item with the original code and click **Save**. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-gzuqjnqw.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) ## Bulk resolve duplicates when importing a Pricebook If you’re [importing the Pricebook using Excel](/construction/docs/import-and-export-your-pricebook-1#import-your-pricebook) and the import shows duplicate-code errors, here are common scenarios where you might find the duplicate item and how to fix it: - **Scenario 1:** The same code appears in different sheets, for example, the code used in both *Materials* and *Equipment* sheets. - **Fix:** Open the Excel file, use **Ctrl+F** to find the code across all sheets and change one of the items’ codes so they differ. - **Scenario 2:** Duplicate is an inactive item. - **Fix:** [Export your pricebook](/construction/docs/import-and-export-your-pricebook-1#export-your-pricebook) with *Include inactive* selected, find the code, edit the old item’s code, save, then re-import. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-exxki5zf.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) - **Scenario 3:** Removing a code from one item and assigning it to another in the same import can fail. These are two distinct actions. - **Fix:** Break into two imports: first update the original item’s code (import 1), then import the new item with the desired code (import 2). - **Scenario 4:** If you still can’t find the code in question: - Find the item’s Item ID in the Excel export row. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-mi9vl9gv.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) - In ServiceTitan, [edit the item](/construction/docs/edit-pricebook-items#view-and-edit-all-details-of-an-item) and check the numeric ID in the URL. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/find-and-resolve-duplicate-item-code-errors-in-pricebook-image-y64o1ljc.png?sv=2026-02-06&spr=https&st=2026-10-31T02%3A36%3A53Z&se=2026-10-31T03%3A36%3A53Z&sr=c&sp=r&sig=l5Yr11pRIU6JCNsvv3F7xqBRttGB5xS7c28t80xgWwg%3D) - If the ID on the edit page doesn’t match the Excel ID, another item still has the code. Find and update that item first. If you have any further questions or issues, please [contact ServiceTitan support](/construction/docs/contact-servicetitan-technical-support). ## Want to learn more? - See [Pricebook troubleshooting](/construction/docs/pricebook-home)