Tax (No Taxes applied)
Total Tax $0
Total Amount $100.0
Tax (Los Angeles County Tax 2.25%, CA State Tax 7.25%)
Total Tax 142.5
Total Amount 1642.5
From above orders having total Two Taxes
1) CA State Tax 7.25%
2) Los Angeles County Tax 2.25%
Total Amount $1600
Total Tax $142.5
We have one refund for above order of amount $200 and if we check refund data in REST API we do not get separate data for tax amount and product amount we refunded.
Hey @poojaz ,
I can verify that this is the expected behaviour. From our API documentation (https://shopify.dev/docs/admin-api/rest/reference/orders/refund), the "transaction" property of an order's refunds contains the "amount" field as the amount of money paid back from the merchant to the customer. This value can be anywhere from 0.01 to the total cost of the order. This money that is refunded also does go through any taxes before it is given to the customer.
I fail to see why or how the "amount" field of the refunds.transaction property would ever provide a tax breakdown. Could you provide a use case where you would need to have a tax breakdown within the refund? And how would this work in the scenario where a merchant gives a partial refund (e.g. let's say an edge case where there is a 0.01 refund), how would Shopify decide how much of that refund is broken down into tax and how much for the original price?
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution