#jairo094215_webhooks

1 messages ยท Page 1 of 1 (latest)

gray dirgeBOT
#

๐Ÿ‘‹ 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. Thank you for your patience!

โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

๐Ÿ”— 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/1214523825308569611

๐Ÿ“ Have more to share? You can add more detail below, including code, screenshots, videos, etc.

past pierBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

twin haven
#

Hello @safe lark ๐Ÿ™‚

safe lark
#

Hi

#

You can find the tax percent at lines.data[0].tax_rates[0].percentage

#

which is 21 in your invoice

past pierBOT
rose notch
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

twin haven
#

Yes, I've seen it, but I would like to give you more context about our problem

rose notch
#

sure

twin haven
#

We've started using Stripe Checkout recently. Before that we created the subscriptions manually from the API and indicated the tax rate for the invoices using the 'default_tax_rates' parameter on Subscription's creation request

rose notch
twin haven
#

Before using Stripe checkout the tax percent field of the invoice.created event did have the correct tax value, but since we used Checkout this value is null

#

Aha!! I hadn't seen that it accepts the same parameter!

#

Using it, the invoices generated through this Checkout session will have the given tax rate, right?

rose notch
#

yes exactly the same as when you were passing the parameter directly on the subscription creation

twin haven
#

Wohooo, great!

#

Thanks a lot ๐Ÿ™

rose notch
#

sure let me know if you need any more help