Thanks for sharing your concern here in the Community, @user56885.
I"d be happy to provide some details on how you can deduct the overpayment to your employees next paycheck.
You can subtract the number of hours accordingly from the employee's next paycheck to reflect the overpayment.
Here are some articles that you can refer about to dealing with payroll issues in QuickBooks Online:
If you need additional assistance with this process, you may reach out to our Customer Care Team. They have the ability to run a remote-viewing session that can walk you through the steps.
This should get you on the right track.
Please know that I got you covered should you have any other concerns with QuickBooks Online. Have a good one.
I don't know if this is feasible for you or not, but I always edit the original pay cheque to contain all of the correct information for that payroll. Then I create an 'Advance' item, either + or -, whichever way it works out, for the difference in the net pay that the adjustment creates. The net pay cannot change on that cheque, as it has already been issued. But if you put the net pay difference to an 'Advance', then on the next payroll, you simply reverse whatever 'Advance' you created on the first pay cheque. Of course, the employee should receive a revised paystub explaining what took place.