provide apps with information about line item level discounts or refunds. So we have to guess. We take the total amount discounted, or the total amount refunded, and we amortize it over the line items and their actual amounts paid. So the amounts, when added up over the line items of an order, will work out to the total discount/refund, but the individual line item totals may or may not be accurate. We do tricks like back-calculating taxes to determine the actual price of an item, but there's only so much we can do when Shopify simply doesn't give us the information.