Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Refunds downloading with the incorrect tax amount.

Solved

Refunds downloading with the incorrect tax amount.

Webgility1
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.

 

API URL - https://alo-brands.myshopify.com/admin/api/2020-01/orders/4560879616256.json

 

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

 

Thank you!

@Webgility1 

Accepted Solution (1)

Luke_K
Shopify Staff
402 66 102

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 |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!

View solution in original post

Replies 2 (2)

Luke_K
Shopify Staff
402 66 102

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 |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
Webgility1
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!

@Webgility1