question

wolong avatar image
wolong asked wolong commented

taxableAmountRates elements missing from Refund

I am trying to calculate refund item tax, if the items have different tax rates. How would I get the refunded tax and taxable amount per tax rate?
taxableAmountRates seem like the right field on refund resource to get that information. But it's not returned from the refund resource from the API.
Thank you!
REST API
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wolong avatar image wolong commented ·
Fundamentally, my question is about how to correlate payment refund with tax rate? Any pointer is appreciated.
0 Likes 0 ·

1 Answer

Miguel avatar image
Miguel Deactivated answered wolong commented
You can find the associated tax rate of a retuned item with the following request:
/v3/merchants/{mId}/refunds?expand=lineItems,taxRates
This will give you the tax rates associated with the refunded items.
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

wolong avatar image wolong commented ·
That's it! Thank you very much for the answer! I was looking through the API reference but this was not documented.
0 Likes 0 ·

Welcome to the
Clover Developer Community