Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Tax Override - How to get the tax of a specific product?

Tax Override - How to get the tax of a specific product?

ValleyEats
Shopify Partner
5 0 7

CONTEXT: I'm looking for a way to get the tax info of specific products through either the REST or GraphQL API's. From my understanding you  can have either; no tax, full tax, or a tax override. I am mostly concerned about the tax override cases because finding out whether or not tax is applied is no issue the issue is knowing how much. I know to apply a tax override you must place products into a manual collection with the tax override applied, so the question is.

QUESTION: How can I get the specific tax applied to a product(s) through one of the two API's, is their a specific resource that I can query to get this info or is this feature simply not available? If not available, how should one go about billing through an app that can't know the tax amount of items before placing the order? And lastly, if this feature is not implemented is it planned to be and when or why not if no?

Replies 4 (4)

Tobias82
Shopify Partner
2 0 1

Still no solution for this? I need to export price excl. taxes and the customer works with reduced and full tax rate. So i need the tax rate to calculate the net price.  Is there really no way to get the tax rate over the API?

ValleyEats
Shopify Partner
5 0 7

Unfortunately I never found a solution for this oversight with the API. I haven't worked on Shopify integration for close to a year so I can't say with 100% certainty that this is still the case but I contacted the Shopify developers and the answer was that no that information is not accessible. I don't know your particular requirements but I toyed with the idea of adding the information as metadata on the items themselves or storing it externally in a lookup table but that doesn't work with third party vendors or large inventories. In the end I was forced to charge full or no tax based on the taxable flag on the item. Sorry I don't have better news.

Tobias82
Shopify Partner
2 0 1

Thank you for your reply ValleyEats. I came to the same conclusion. There is no way right now. I worked around it by defining the Prodct Categories which are with reduced tax. The customer can only have reduced products in those categories but he doesn't have to manage a individual metafield per product.

PavelKoongo
Shopify Partner
2 0 2

Any update?