#mentijm-tax
1 messages · Page 1 of 1 (latest)
hi! can you clarify a little what "VAT validation" means to you exactly so I can give an accurate answer?
Stripe tax is checking the format (countrycode and number format) of the customers tax_id in the checkout if they check "I'm purchasing as a business"
But then, Stripe is also helping out validating this tax_id by hitting VIES (a european tax / value added tax database) for european customers
I wonder if this tax_id / VAT is validated before the invoice is finalized and paid or if this validation happens afterwards. I see that there is a webhook called customer.tax_id.updated
yep, indeed, make sense.
I tested it just now and the validation is async, as in I completed the CheckoutSession and got redirected/the webhook events, and got the customer.tax_id.updated event a little after that with the verification result
hmm
so the invoice.paid & charge event could happen first and then the tax_id validation can fail after that?
AFAIK yes
ok, and can it happen before the transaction happens (does it have affect?)