You can not delete posted Invoices.
You can create a batch of Credit notes or Adjustments to reverse the effects of the Invoice posting.