#shakilkhan496_api
1 messages ยท Page 1 of 1 (latest)
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.
- shakilkhan496_api, 7 minutes ago, 43 messages
- shakilkhan496_api, 1 hour ago, 14 messages
- shakilkhan496_api, 2 hours ago, 14 messages
- shakil_paymentintent-receipt, 15 hours ago, 46 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1255113254728896563
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Can we set some international VAT ?
It can be user from USA, Europe or China for example
can you check please
I don't understand the ask. The type parmeter is the tax code type which often reflects the origin of your business/customer (i.e. gb_vat for a British business)
So if your customer/user is from US you'd probably use us_ein. This is all documented here: https://docs.stripe.com/billing/customer/tax-ids#supported-tax-id
Manually add all countries is very complex
is there any easy way ?
So it can detect the type
Well what exactly are you trying to do?
Checkout supports automatic tax ID collection
I am using this
as type is hard coded
But want to pass dynamic type based on country
But that will be very complex to do it manually
Then no, you'd need to build a selector into your UI so your users can select their county/tax type and provide the ID
Is there any way to show tax id as Tax:
in_1PVXd8P2kEo5VbUMN8C0VsrE
My client saying this
So he want tax id in field , Tax:
Is that possible?
They're right there on the PDF
No
Well you need to actually add tax rates to the invoice or enable Stripe Tax to charge tax: https://docs.stripe.com/tax/invoicing
Tax IDs are unrelated to charging tax
I am using this
See link above, you're not actually supplying any tax rates in order for us to calculate tax on the invoice
Did you look at the link?
You can either enable Stripe Tax for the invoice to collect taxes automatically (https://docs.stripe.com/tax/invoicing#enable), or manually provide tax rates (https://docs.stripe.com/invoicing/taxes/tax-rates?dashboard-or-api=api)
I'd recommend reading the documentation fully. The customer and their tax ID is unrelated entirely to actually collecting taxes due for the invoice
so I am using invoice create api then invoice item create api then getting payment intent then collecting payment with card element
Not using any priceID
It is one time amount
In my case where should I add tax configuration so it can show on invoices , can you please tell me
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This is all in the docs I've shared
Regardless of whether you use amount or pass a price_xxx ID, it'll generate an Invoice Item
Okay I can add tax_rate , how can I get tax rate with api from my account ?
Did you try searching? https://docs.stripe.com/api/tax_rates/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes thanks a lot
I want something like this
After adding tax_rates I got this
Can you verify everything is well?
hi! I'm taking over this thread.
what is the first screenshot? another Stripe invoice?
what's the difference between the two? only the language?
if so, you can set the local on the Customer object: https://docs.stripe.com/api/customers/create#create_customer-preferred_locales
No I want to know if my invoice is correct or not
what do you mean by "correct"?