You can delete and recreate both the payment and invoice and link it to the correct estimate,
@M Bader.
To begin with, if an invoice was paid but linked to the wrong estimate, QuickBooks Online (QBO) doesn't provide a direct way to change the estimate link after the invoice has been created and paid. To correct this, you'll need to delete both the payment and invoice, then create a new one linked to the correct estimate.
Here's how:
- Go to the My Apps menu, then select the Customer Hub tab.
- Select the Customer tab and navigate to the customer.

- Look for the incorrect payment, then beside the View/Edit drop-down, click Delete. Do this the same for the invoice.

You can now create a new invoice linked to the correct estimate then re-enter the payment afterwards using the original payment date.
If you have follow-up questions, feel free to leave a comment.