#klavik
1 messages · Page 1 of 1 (latest)
Hey, so in order to calculate tax correctly, as i understand, the customer needs to have their tax status set (either none,exempt,reversible)
The regular dashboard support told me that this status needs to be set before creating the invoice, so that the automatic customer creation during checkout apparently wouldn't work for this. So now i'm just wondering what would be the correct flow to creating a customer during checkout manually
The issue being, that currently when a customer purchases something themselves through checkout, the tax for the same eu country is currently applied incorrectly for us
I see you can set the tax_exempt property on the Customer object: https://stripe.com/docs/api/customers/create#create_customer-tax_exempt
that's what i meant, yes. sorry
You can create a Customer with this property and then use it when creating a Checkout Session.
So the customer would still need to be created even before creating the checkout session? Meaning that we'd need to know their VAT code (if it exists) beforehand, which is usually collected during checkout, is this correct?
Yes, you would need to create the Customer object prior to the Session. Also, you can collect the VAT code before, on your website.