How is a partial refund calculated when only some items come back?
Customer returned 2 of 5 items from an order that had a discount code and free shipping. The refund screen suggests an amount I can't reproduce by hand. How does it split the discount and tax across the line items?