#TonyS-invoice

1 messages ยท Page 1 of 1 (latest)

thorny kraken
knotty python
#

Hi Karl, thank you very much. I indeed read that article and tried to use the tool, is this the only possibility to edit the invoice layout ?

thorny kraken
#

yep!

#

you definitely can add the information you mention though, what was the specific issue that was blocking?

knotty python
#

Ok basically I can use the tool to add our compant adress and VAT number on the invoice

#

But for the client VAT number, which is a dynamic information, can I pass it through a specific field with the API ?

thorny kraken
knotty python
#

Ok thank you very much karl you are super effective I'll try it out and come back to you !

knotty python
#

Thank you Karl it's working great, I have another question if you could help us that would be amazing.

#

Basically, our company is located in Europe and we need to apply a VAT tax rate of 20% of our subscription paiements for anybody that is not a company located in a country outside Europe

#

I don't know how we can have this logic working in stripe, meaning it's not depending on the country where the person is located but also based on the status of the client : Company or Personnal Use

#

Do you have any idea how we could achieve this? Right now we do it by hand by adding a tax_rate in the checkout creation, but we need to check where the person is located and if we have a company number provided or not

thorny kraken
#

hmm, that's hard to do if using Checkout and your own manual tax rates

knotty python
#

Ok I understand so it's possible to ask stripe to collect the VAT id for a customer during the checkout

#

However, is this possible based on this info, to decide the Tax rate that will be applied?

#

Personnal use (meaning no VAT number) = 20% tax

#

Company use inside europe = 20% tax

#

Company use outside europe = 0% tax

#

Sorry if it's a complicated use case

thorny kraken
#

I don't think that's directly possible no, we do our own (compliant) logic for what tax needs to be collected

#

if you have a custom/specific requirement like that you probably want to ask for the customer's details outside of the Stripe hosted page entirely and then pass a direct TaxRate object into the CheckoutSession for what you need

knotty python
#

Yes this is what we do, thank you very much karl you were super helpful

knotty python
#

Hello again Karl, I have an additional question regarding collecting VAT id during checkout. It doest work, however do you know if it's possibile to make the field mandatory? Right now they have to click on check box and entering the info which is not mandatory

granite heart
#

Hello ๐Ÿ‘‹ Karl had to step away but I can help
I'm not sure if you can make it a required field
Let me take a look

knotty python
#

Hello Hanzo! Thanks!

granite heart
#

yeah not seeing a way to make it mandatory on the checkout form itself ๐Ÿ˜ฆ

knotty python
#

Ok do you know why the field is disappearing when the country change? I will show you

#

the last checkbox is "Buying as company" where you can enter vat info

#

but if i'm a US customer

#

the field doesn't exist

granite heart
#

US isn't in the list

knotty python
#

Why?

granite heart
#

That, I unfortunately don't know
I think the support team would have more context on this