If an invoice is in a completed status you would have to set the invoice back to outstanding use the Maintenance facility under Settings.


When the invoice is marked back to Outstanding, delete the lines off the invoice and archive the sales order.


or


To cancel the order, raise a Customer Return for