If an order has two lines, the first one the product was delivered to the customer after the purchase (carry out) but the other is not delivered yet, it's currently not possible to cancel that line. The only way to achieve this scenario from POS is voiding the line, however, this is not desirable process considering a fraud perspective.

This functionality is available for call center, so the experience should be the same at POS, allow to cancel a customer order which status is partially invoiced status.