Step 1: Click on the Sales>Invoices option.
Step 2: Click on Actions option on the main screen.
Step 3 : Click on Bulk Actions.
Step 4: Select the invoice with the blue tick which you have to merge.
Step 5: Down you will see the Merge option. Click on that you can merge accordingly.