CarrierService cart/order total price after discount apply

Shopify Expert
25 1 4

- The POST data from the shopify callback does not contain the total cart/order amount after discount applied.
It only gives items(line items in the cart) with the base price. This makes it impossible to properly calculate shipping options based on correct price range. 

I can get total of order using line item sum but if discount applie then total value of order changed.