QB Issue Resolution:

You will have to delete the deposit first. Then delete the customer payment. Change the invoice, reenter the customer payment & finally reenter the deposit.

 

if the deposit is already reconciled, it is going to affect your bank rec., also.

Resolution for Issue 'Changing the invoiced customer after payment has been received' available: Yes (Solved).
Source: Intuit Community forum.

Changing the invoiced customer after payment has been received: this issue or error code is a known issue in Quickbooks Online (QBO) and/or Quickbooks. Support for this issue is available either by self-service or paid support options. Experts are available to resolve your Quickbooks issue to ensure minimal downtime and continue running your business. First try to resolve the issue yourself by looking for a resolution described below. If it is a complex issue or you are unable to solve the issue, you may contact us by clicking here or by using other support options.

Support for bank rec
Quickbooks Repair Pro will resolve it efficiently and affordably. Guaranteed resolution of your issue, or you pay nothing!

Error Recovery for bank rec [Canada]
E-Tech is the #1 Quickbooks data migration and Conversion service provider.

Get 50% off Quickbooks Online

Click Here for 50% off!

Additional Support Options: