#trapov

1 messages · Page 1 of 1 (latest)

vital thunderBOT
silver knoll
#

👋 happy to help

#

it depends on the price's tax_behavior

#

if you don't want the tax to be applied to a certain item, you can set it's tax_behavior to included

calm jewel
#

could you give me an example?

#

Currently I'm passing incl and excl

#

I thought that's the only two options avaialable

silver knoll
#

that's exactly what I meant

#

if you pass include then there wouldn't be an extra "tax fee"

calm jewel
#

so I need to pass "included"

#

ok, will try it out

#

thank you

#

there is also a TaxRates option

#

when I don't set it the tax is not applied

silver knoll
#

yes you either need to pass automatic_tax or tax_rates

#

is this on an invoice? or Checkout Session?

calm jewel
#

the session

#

yeah it did the thing, I didn't set the taxrates option in the price_data object and it worked

silver knoll
#

perfect