After creating an invoice, it will only be marked as paid once the invoice payment is recorded via Receive payment. I'm here to help you to revert invoice to unpaid in QuickBooks Online.
I'll show you how:
Go to Sales and choose Invoices.
Select the Invoice transaction you want to mark as unpaid. Then, select Edit Invoices button.
3. Click the Payment made hyperlink in the upper right corner.