It is not possible to delete an already issued invoice, due to the accounting standards. Instead, you have to issue a credit note. To do this, select the invoice from the invoice list and select "create credit note". Issuing the credit note will mark the invoice as no longer payable.