To cancel multiple invoices please follow below steps.
Step 1: Go to the invoices >> Click on actions button >> Select bulk actions.
Step 2: Select the invoices >> Click on more option >> Select cancel invoice option.
Step 3: Give the confirmation to cancel the invoice.
Note : You can only cancel 50 invoices at a time with the help of bulk action.