On the Sales Dashboard,
Navigate to the Cancelled section >> Select the invoice you wish to retrieve, and then click on the Restore option and Proceed to generate the new invoice.