Stripe: Can TaxJar handle exempt sales tax calculations for my products?

Yes, our SmartCalcs API can provide sales tax calculations for our supported product tax categories as long as you have set up your product tax codes in Stripe.

You can assign a tax code to your products stored in Stripe by setting the tax_code metadata value on the product objects. 

  • The value associated with the metadata field tax_code will be passed directly to the tax provider.

Please note, the  tax_code metadata property can be set either in the Dashboard or using the API.

  • To use the Dashboard, navigate to a product page, click the Edit button under Metadata and add a value for tax_code.
  • To use the API, perform an update product request like the one below (this is in Ruby): 
# Set your secret key: remember to change this to your live secret key in production 
# See your keys here: https://dashboard.stripe.com/account/apikeys 
Stripe.api_key = "sk_test_4eC39HqLyjWDarjtT1zdp7dc" 

Stripe::Product.update('pr_1BRElB2eZvKYlo2Coe8wr2mO', { 
    metadata: { 
       'tax_code' => 'AB230',
     }, 
})
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.