I'll provide information on how you can prevent the invoice from marking as paid immediately.
In this case, the Automatically Apply credits feature could be turned on. This feature automatically applies credits to the open invoices in QuickBooks. We can turn it off to stop the program from paying your transactions automatically.
Here's how:
Go to the Gear icon.
Select Account and Settings.
Click the Advanced tab.
Look for the Automation section, then press Automatically apply credits.