#Senthil
1 messages · Page 1 of 1 (latest)
Hi there. So tax rates would be set on the Subscription or Invoice rather than the product object: https://stripe.com/docs/billing/taxes/collect-taxes?tax-calculation=tax-rates
My product is not recurring - it's a one-time payment.
Ok. Same still applies though
So there is no subscription or invoice
So I have to include the custom the tax rate during checkout?
Yeah: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-tax_rates
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How do I specify the tax id in the checkout session object? I don't see an option. I see one to include tax id for customer though
The "line_items.tax_rates" is the actual rate. How do I specify the tax id (txr_1LnOW3HCn1jZYbVVazXRzW51)?
The txr_123 id is what you pass in line_items.tax_rates