Can we get taxLines in CalculatedExchangeLineItem?

Hi,

I am wondering if there is a reason why taxLines is not included in the CalculatedExchangeLineItem type, and if not, I would like to request that it be added.

Context: I manage a returns app called Frate Returns. When we create returns for Merchants, we send them a webhook of the return & exchange data so that they can create the corresponding return authorization on their ERP (NetSuite for example). For exchanges, they must map this webhook data into a new Sales Order on NetSuite, where they must enter the detailed tax breakdown, and “total tax” as a $ amount is not sufficient. They require the tax jurisdiction breakdown (e.g., the info we find in the TaxLine object).

So, to the Shopify Support Community, I am wondering if you could help add this field to the API to make exchange accounting easier for our Merchants. Or if you could provide some insight as to why this cannot be added. Any insights are appreciated!

Cheers,
Jake

1 Like

Hey @Jake_Goodman , that’s a good call out. I can see this being useful for your use case. I’ll pass this on as a feature request for you.

Not really a workaround, but the details are available after the return is created through sales agreements. That could help updating the ERP after the return is complete.