An updated invoice can’t be deleted. An adjustment to the invoice to zero or a Credit Memo against the invoice is necessary, to remove it from the system.
DocLink: How to adjust an Accounts Receivable invoice or credit memo