When voiding the check, mark the Delete checkbox beside invoices to be deleted. If the checkbox is unmarked, the invoice status will change to Unpaid.

If the Invoice has already been posted, you will need to post the reversals.