Solved

Shopify Partner
58 1 9

Hello Team,

Hope you are doing great!!

We are Webgility and have mutual customers. We are consuming the Shopify order/refund download API in our Webgility application.

Our mutual customers are experiencing an issue while downloading the Orders and their refunds. As we checked in API response and we are getting Order with the Tax amount of 1.47 but in its refunds Tax amount is less, that is 1.04 but on the store is showing similar to the orders.

I am attaching the screenshot of the store and response of the API, Could you please check and help us to resolve the customer issue on priority.

Please let us know if you require any information from our side.

Thank you!

Accepted Solution (1)
Shopify Staff
402 66 101

This is an accepted solution.

Hey @Webgility1

It looks like the difference of (\$0.43) between the total_tax in the refund_line_items (\$1.04) and the total tax on the order (\$1.47) is due to the difference in tax on the shipping label.

The total tax on order was 8.625%

The shipping label cost on the Order was \$4.90

8.625%  of 4.90 = 0.43.

On the refunds.json endpoint, if you check the order_adjustments array, you will see the order adjustment for Order ID 4560879616256 for a shipping refund of \$0.43. Order adjustments are generated to account for refunded shipping costs and  differences between calculated and actual refund amounts(docs) . Hope that helps!

| Shopify |
Replies 2 (2)
Shopify Staff
402 66 101

This is an accepted solution.

Hey @Webgility1

It looks like the difference of (\$0.43) between the total_tax in the refund_line_items (\$1.04) and the total tax on the order (\$1.47) is due to the difference in tax on the shipping label.

The total tax on order was 8.625%

The shipping label cost on the Order was \$4.90

8.625%  of 4.90 = 0.43.

On the refunds.json endpoint, if you check the order_adjustments array, you will see the order adjustment for Order ID 4560879616256 for a shipping refund of \$0.43. Order adjustments are generated to account for refunded shipping costs and  differences between calculated and actual refund amounts(docs) . Hope that helps!

| Shopify |
Shopify Partner
58 1 9

Hello Team,

Thank you for your valuable response. based on your response, We will check at our end and do the enhancement.

We will let you know if we need anything on this case.

Thank you!