It's a pleasure to see you here in the Community. Yes! @gioreq1 is correct and let me provide you some additional information about recovering a deleted invoices in QuickBooks Online (QBO).
Recovering or restoring deleted transactions is a great option! However, this is currently unavailable in QBO. You'll need to recreate them manually and use the Audit Log to get the details of the deleted invoices. Here's how:
1. Click the Gear icon at the top, then pick AuditLog under Tools. 2. On the Filter drop-down, choose the appropriate User, Date and Events filter, then Apply. 3. Locate the deleted transaction. To easily find deleted transactions, use the browser search Ctrl + F and type deleted. 4. Select View under HISTORY column. 5. Under the EVENT column, you'll see all the information.