#elitan-customer-auto-tax
1 messages · Page 1 of 1 (latest)
Update: Ok, now I just re-saved the customer's country and the status when from Unknown location to Not registered. I'll check how we set the country on our side.
Hey! Not registered sounds like there's no tax registration configured for that country?
@worldly flax The issue was us sending in the full country name and not the two letter country code. However, in the Stripe dashboard the UI looked good. So when we added "United States" like stripe.customer.update(id, { address: {country: "United States"}}); the request went through and I could se "United States" in the Stripe dashboard for the customer
But the auto tax didn't work.
When instead using US the UI was the same but the auto tax worked.
I would expect getting an error sending United States to your API and not being able to see United States in the Stripe Dashboard for the customer's profile.
Ah, got it. Yeah needs to be an ISO country code to work with Stripe Tax: https://stripe.com/docs/tax/customer-locations#supported-formats
Otherwise you can set it however you need. The API doesn't validate those fields (not everybody is using Stripe Tax)
Yep, understood. We'll use the ISO country code from now on 👍
💯
@worldly flax Actually now I have the same issue with cus_KfwQUN7gfRl7vX for country: Curacao (CW). Stripe say "Unrecognised location"
Can you see some issue on my side?
Let me check
Nothing immediately apparent. Perhaps a state code is required? https://stripe.com/docs/tax/faq#how-do-i-check-how-precisely-my-customer’s-location-was-determined