If you'd like to delete a generated invoice but don't know how, here's how to do it: From Management > Sales invoices > the invoice in question > the three dots > Delete invoice. You should now be able to delete the transaction.