#Andreivan

1 messages · Page 1 of 1 (latest)

rough shadowBOT
pulsar wigeon
#

Hi

However, in some cases Stripe accepts a VAT without the country code in the begining. Would that be correct?
Do you have some concrete example ?

#

Not all example has country code as a prefix.

hard portal
#

My concrete example would the be italian one I mentioned. If you take the one from this documentation you shared: IT12345678912 and create a subscription for a Italian customer using VAT as 12345678912 it works. However on Stripe dashboard we see it like:

#

So it kinda automatically creates with country code as HU (Hungary) even though the country location is Itally

pulsar wigeon
#

For italian VAT you should include IT12345678912, why you want to remove the IT ?

hard portal
#

You know how users are. I know the correct way would be to add VAT as IT12345678912 but some users simply don't add the country code before and then Stripe accepts that.

My point here would be that for other countries we get an exepction when users try to add VAT without country code. e.g Portugal.

pulsar wigeon
#

For european vat in general it starts with country code AFAIK.

#

do you have an example of a live/real vat ?

hard portal
#

For european vat in general it starts with country code AFAIK.
Tha's exactly my point, so why Stripe API would accept creating a VAT for Italy without the country code.

#

do you have an example of a live/real vat ?
Yes I do: This is a real VAT we got this issue recently: IT02479320265 so the customer inserted it like 02479320265 and it created that issue adding HU on Stripe

pulsar wigeon
#

Can you share the requestId or the Customer Id ?

hard portal
#

Humm, now we asked the customer to add the IT country code so you will see it correctly on the database

#

Anyway, the customerId is cus_Mnc7hbBRIP8KIS

pulsar wigeon
hard portal
#

Like I said:

Humm, now we asked the customer to add the IT country code so you will see it correctly on the database

pulsar wigeon
#

The screenshot you provided is for another customerID , can you share it ?

hard portal
pulsar wigeon
#

This is a test mode customer.

hard portal
#

Ok, what I can do is to create in test mode with a valid address and a valid VAT. Would that help?

#

In Production we won't have this issue because our support team needs to manually fix it otherwise we have tax issues

pulsar wigeon
pulsar wigeon
hard portal
#

This is the same as it happens in Production

pulsar wigeon
#

This customer is created in your test mode and not in your live mode.

hard portal
#

Can you check it now please?

pulsar wigeon
#

In the dashboard, it's mentioned that's not a valid VAT number.

#

How does your customer enter the VAT number?

hard portal
violet viper
#

Hi there 👋 jumping in as my teammate needs to step away soon. There is a fair bit of context here, would you mind summarizing your current concern for me?

hard portal
#

Stripe accepts VAT for customers with country location as Italy without the country code IT

violet viper
#

Sorry, that was a little too summarized, what does that mean?

hard portal
#

Sorry but did you read my initial question? That would be my best summary

violet viper
#

Going back now, please bear with me several minutes while I catch up

#

Alright, so the question is how come when we were provided with a number that didn't match the formatting of an Italian VAT number we didn't assume that was an Italian VAT number?

hard portal
#

Yes. And maybe more than that. If the VAT number didn't match the formatting of an Italian VAT why not throw an exception like for other countries?

violet viper
#

I'm not sure I understand the error you're referring to, do you have an example of a request that resulted in that error that I can take a closer look at?

hard portal
#

So if you try to create a customer with a VAT missing the country code before the number using API https://api.stripe.com/v1/customers stripe returns a code for "tax_id_invalid" however when the country is Italy we don't get this error/validation

rough shadowBOT