Thanks for asking about retrieving a voided invoice, @neethal-futad-qa.
I can share with you the steps in getting the voided invoice. In QuickBooks Online (QBO), you can only recreate the invoice once voided. You can use the Audit log to take note of the details when re-entering the voided transaction.
Let me guide you on how:
Go to the Gear icon and choose Audit Log.
Select the Filter button to show only the data you need.
From the Date field, set the date the invoice was voided.
Choose your name or System Administrator on the User section.
Then, tick the radio button for Show only these events and check the box for Transactions.
From the Show dropdown, select Deleted/Voided Transactions.