How to retrieve the canceled invoice on Web?

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.