There are three reasons why an invoice may appear as paid even though the client has not yet paid it. I'll lay down the steps on how to fix it, crucialcar.
The invoice was entered with a 0 amount by mistake instead of the correct amount.
The Automatically Apply Credits feature is enabled. It automatically marks the invoice as paid.
Another user in your QuickBooks Online company marked it as paid.
Solution 1: Review the invoice.
Open the invoice and double-check the amount.
Change the amount if needed.
Then, click Save again to reflect the changes.
Solution 2: Disable the Automatically Apply credits feature.
Go to the Gear icon in the upper-right corner.
Select Accountand Settings.
In the Advanced tab, go to the Automation section. Turn off the AutomaticallyApply credits feature. This way, QuickBooks won't apply any available credits to the next invoice you create or send for the same customer.
Click Done. Then, save to reflect the changes.
Here's how you can remove the payment linked to the invoice.
Go to Sales and select All Sales.
Open the payment you want to delete.
Click More.
Select Delete.
Solution 3: See who made changes to your books using the Audit log feature.
Go to Settings.
select Audit log.
Use the fields on the page to choose the appropriate User, Date, or Events filter to narrow the results.
I've gathered two resources about applying credits to invoices and customising sales forms: