How to cancel an invoice in web?

Please go to the ‘Invoices’ section in the sales category. In all transactions, on the right, there is an ‘Actions’ tab. Click on More (3 dots) next to 'Send’ for the invoice you want to cancel, and then select the last option in red, which is ‘Cancel Invoice.’