#_alex - VAT
1 messages · Page 1 of 1 (latest)
Hi there! Just to be clear, are you referring to customer tax IDs? https://stripe.com/docs/billing/customer/tax-ids
correct
Wait, I think I get the correct country when I add the country code in front of the number (e.g. DE1234....). Still, I would expect an error message.
Also just to confirm, are these the tax IDs you're using to test? https://stripe.com/docs/billing/testing#customer-tax-id-verfication
nope - I am using a real taxID. If I would use 000000000 I would have Austria associated with it (AT code)
I am using a random TaxId I found on the web: LU18175618 (Luxemborg), if it helps
Using only "18175618" would give me Hungary (HU), even though the billing address' country would be set to Luxemburg
BTW: You seem to have an error in the docs:
"Austria | eu_vat | European VAT number | ATU12345678"
I believe that it should have only "AT" and not "ATU" as prefix.
To simulate a tax ID for a specific country, any ID should work as long as it matches the example format here: https://stripe.com/docs/billing/customer/tax-ids#supported-tax-id
Our docs flag this but, in terms of validation, we validate whether the tax ID is a valid one or not. You'll need to validate the customer address and ensure it matches their registration: https://stripe.com/docs/billing/customer/tax-ids#eu-vat