#harry_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1302950978177335389
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! hmm do you have an example of the tax you're talking about? are you referring to tax that you as the merchant model on your charge(like sales tax) or the tax/VAT that Stripe applies to the fee itself?
Check this screenshot, I want the tax to be calculated only on $100 not on the $103.30 ($3.30 is processing fee I added separately as an invoice item)
I see. That's not really possible, tax is always calculated on the subtotal of the Invoice
Even if I added it separately as in before creating this subscription?
yes even then; the invoice is subtotalled (including pulling in any invoice items pending) and that is the total the tax is calculated against
In your create invoice item doc you mention on property tax_rates: "The tax rates which apply to the invoice item. When set, the default_tax_rates on the invoice do not apply to this invoice item." so if I have passed null that means default will be applied?
yes
one option might be to not pass default_tax_rates on the subscription, and instead pass https://docs.stripe.com/api/subscriptions/create#create_subscription-items-tax_rates to the item for the subscription only.
What if I add a zero dollar tax rate in the invoice item will the default tax rates still be calculated ?
I think it would(since the tax is calculated on the subtotal) but you could test and see what happens