#devskygate_best-practices
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1339898437667127337
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
We don't use Stripe's product catalog - instead, we send a list of products with unit prices directly to the checkout session.
They're set up for automatic tax using Stripe's "inclusive" setting, and have added their German tax registrations and OSS details to the dashboard.
AFAIK we don't reduce tax due according to the 'purchasing as business' checkbox
The doc says "If the customer is either exempt or reverse, for invoices with inclusive tax rates, the buyer pays the unit_amount price minus the tax that would’ve been paid had the user not been exempt or reverse. " as also shown in the table below that sentence. I assumed Stripe would do that automatically and not have me do that.
I would have to a) keep track of the customers VAT IDs and b) keep track of EU countries and their tax rates by c) making multiple calls to Stripe's (expensive) Tax API and calculate the tax reduction myself based on the tax rate the country would return if the customer would HAVE to pay tax, kinda negating the use of Stripe's automatic tax calculations. This seems a bit overkill-y for a standard EU OSS shop problem... Should I write to the general Stripe customer support before implementing all that, or can you maybe ask around if someone on the support team ran into this issue before?
Is the Customer flagged as exempt? https://docs.stripe.com/api/customers/object#customer_object-tax_exempt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Has nothing to do with the 'purchasing as business' checkbox that allows you do collect a tax ID
Ah, I remember that checkbox. It would only appear if we also allow the customer name to be changed during checkout, which caused problems on our end. The doc page for that checkbox says:
Caution
Checkout only collects tax IDs on Customers that don’t already have an existing tax ID. If a Customer has one or more tax IDs saved, Checkout doesn’t display the tax ID collection form even if tax ID collection is enabled.
So if customers already have a Tax ID setup, wouldn't that be the same as ticking that checkbox and inputting a new Tax ID during checkout?
I changed the tax status of the test customer to all three options manually in the dashboard, to no avail
Can you share some IDs here? cus_xxx perhaps where things aren't working as you expect
My testing customer or production?
For production I would have to ask the client for examples
Just an example where it's not working as you need
Test, live. Irrelevant they all behave the same
cus_QumgCCQHqMvytP
So tax_reverse: 'exempt' there, and what's an in_xxx ID where the tax was not reduced?
in_1QrzsdRUIi4hc6HUEjMraIEY for instance
I'm confused. That invoice is tax exempt:
Tax to be paid on reverse-charge basis
Yes, but the unit prices are not reduced. So a B2C customer who would have to pay tax pays 76 Euros for the "Female Choir" including 20% tax, and the B2B customer (this case) also pays 76 Euros, but with 0% tax included. They should have to pay 76 Euro - 20%
This only applies to EU OSS B2B customers. For an american customer, this invoice should be correct afaik
Yeah I nobody here knows anything about tax and how it's applied but I would guess this works as expected as it was an inclusive tax code on the items
At least that's how the client explained this to me
Same here, no clue about taxes ... 😅 But the client insists
I'd recommend speaking with support about this as they have people who know how tax works. We're jsut engineers who help people with their code and Stripe integrations
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Will do! Thank you for your time and effort 🙂