I hear your sentiments about the deleted transaction in QuickBooks. I'm here to explain how to retrieve them.
You can use the Audit log to retrieve the details of the deleted invoice and recreate it. This report assists you in keeping track of transactions that have been added, deleted, or modified, as well as user entries. It shows the history of changes made to individual transactions. It can be customized by narrowing the data with the Filter tool.
Navigate to the Gear icon.
Select Audit Log.
Select the appropriate User, Date, and Events filter from the Filter drop-down menu.
Click the Apply button.
Track down the deleted transaction.
Use the browser's search function.
On your keyboard, press Ctrl + F.
Enter a keyword associated with the deleted banking transactions.
6. Click View in the History column.
7. The EVENT column contains all the information required for the transaction.
Then, re-create the transaction using the information displayed. Change the status of the transactions in the register back to R, which stands for Reconciled.
If there are transactions that you've previously filed but have since changed, deleted, or added, this causes adjustments on your VAT. Read this article to ensure that no VAT (or credits) are missed or duplicated: VAT exceptions and reports in QuickBooks Online.
Furthermore, I recommend consulting your accountant for further guidance with your VAT returns and additional assistance to help your books be accurate.