Find likely duplicate payees
find_duplicate_payeesGroups payees with names that differ only by case, punctuation, or trailing store/reference numbers, then suggests a target and candidates for review before merging.
Instructions
Group payees whose names differ only by case, punctuation, or a trailing store/reference number — Trader Joe’s #123 and TRADER JOES 456, for example. Each group names a suggestedTarget (the most-used member) and the other candidates, plus the reason they were grouped.
Matching is exact once normalized, so an abbreviation and its expansion do NOT group: AMZN Mktp US*2H4 and Amazon are reported separately. An empty result therefore means "no name-shaped duplicates", not "no duplicates" — to find those, scan list_payees yourself and propose them to the user. The conservative rule is deliberate: a false positive here feeds an irreversible merge.
This only suggests; nothing is merged. Confirm a group really is one merchant before calling merge_payees. Transfer payees are never included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minGroupSize | No | Only report groups with at least this many payees. Defaults to 2. |