#mentijm
1 messages ยท Page 1 of 1 (latest)
Could you elaborate a bit more? I didn't follow the part "As the customer does not enter the tax_id" and "the tax_id.value that the customer submit"
Hi
The customer does not enter the tax id type
ie: EU_VAT or smth like that
basically just a valid VAT number that can take manny different forms, DE123456789, SE123456789123 etc: https://stripe.com/docs/billing/customer/tax-ids#supported-tax-id
Yes okie. And could you ask your question again? Which functionality you wish to be available?
Given only the tax id value / number. Can we get the type?
The prebuilt checkout seems to have this functionality ๐
Ahh, sorry don't really know but I think it's just a mapping function. You can utilize the List All Tax ID API probably: https://stripe.com/docs/api/customer_tax_ids/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Actually, it might not work as good. Tried buying from sweden entering "123456789123" which according to your docs is of type "au_arn" and it resolved to RU INN? Can it be both?
Ah sorry that's per Customer
Determined by?