We are creating an order with v3/orders and refunding with v1/orders/{orderId}/returns . All on E-Commerce api/REST api
The order has taxes & service charge applied. The issue is while we can refund items to finally set the order to $0, the "Reporting - Sales Overview" shows negative "Net Sales" (Equal to tax+service charge). My guess is if we are able to correctly refund tax and service charge as their own types (during refund we are artificially increasing amount of the line item). The flow we have is pretty lengthy and I think we are doing this incorrectly. What is the correct way to refund the whole order and refund line items?