The same customer exists three times
How you'll know: "Acme Co", "Acme Co." and "ACME" in your customer list, each with part of the invoice history.
Fix: Match customers on an ID or email stored on both sides, not on the display name. Merge the copies in QuickBooks first, then fix the matching rule so they don't come back.