#vitorleitao_docs
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/1339911828905656321
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Should cover it: https://docs.stripe.com/tax/invoicing
Ok, that is a good start, but I see that tax is added based on the Tax Id
Do we have a way to manually set the tax Value on the invoice without the Ids?
hi! I'm taking over this thread.
Hi @fierce garden Thanks for taking over. Sorry if these are stupid questions btw
no worries, happy to help!
there's no way in the Invoice API to directly set a tax amount, like 20%. you have to use Tax IDs, or Automatic Tax.
I see, so for our case, we can have a user can may buy things in multiple countries, for example, they may buy something from the UK, Ireland, etc
What would be the best way to set up this, so that we can charge the user the price, plus Tax in the invoices?
the simplest option is to use Automatic Tax, that will compute the tax automatically for you
this is explained in the link that was shared above
Looking at the link, the tax would be calculated based off the customer's address and etc, but we would be charging him in different locations and in different currencies
For example, in the UK we would charge a user 20% vat but in Ireland that same user would be 23%
Can we set the tax code in the invoice itself?e
Looking at the link, the tax would be calculated based off the customer's address and etc, but we would be charging him in different locations and in different currencies
I'm not sure I follow. Is ths an issue?
This is me trying to figure out how we would implement the tax bit for customers that buy items in different locations without having to change the customer's details
Because in our case, the same customer could be buying items in multiple countries (in different invoices of course) and in those cases we would be charging different tax%, but unless I am reading the docs wrong, tax in invoices is based off the customer details
the same customer could be buying items in multiple countries
you could create one Customer obejct for each country they are buying from.
I see what you mean, I had thought about that but I was not sure if that was the best approach
I assume this is the only way to get the invoice tax for different locations then? Create multiple customers in Stripe?
if you want to use Automatic Tax, then it will use the customer's address to compute the Tax. so either update the customer address, or use different customers.