Hey there, accounting_guy.
You can edit the invoice and change the customer name to the correct one. This won't affect the invoice and payment transactions since you'll only change the customer name. Here's how to do it:
- Find and open the invoice transaction.
- In the Invoice window, modify the customer name.
- Click Save and close.
Just in case you apply this payment to the wrong invoice, you can check out this article to learn how to fix it: How to fix a payment applied to the wrong customer invoice.
You may consider checking this reference for your future task when you're ready to assess your business financials: Reconcile an account in QuickBooks Online.
Stay in touch with me if there are other things you need to manage in QuickBooks. I'm always right here to help you. Stay safe!