#eirikbakke_api
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/1371505554303746129
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐
There isn't always parity between how the dashboard shows data and how you can interact with that same data via our API, but let's see if I can get a better understanding of what you're trying to do and see if we can find an approach here.
How are you integrating tax calculation into your flow? Are you using Stripe Tax, and if so automatic or are you creating Tax Calculations?
For each balance transaction charge or refund, i need to know the dollar amount portion that was actually taxes collected, to distinguish revenue from taxes collected. (Ideally I also need to know the jurisdiction the tax was collected in and the reporting currency/amount, so i know how much to remit each quarter.)
Yes, Stripe Tax, automatic with Stripe Billing.
I don't need the data in the exact same format as the dashboard export, i just need the same information.
Gotcha, so with Stripe Billing, I believe the best place to see the details you're looking for is on the related Invoice object, in the total_taxes hash:
https://docs.stripe.com/api/invoices/object?api-version=2025-03-31.basil#invoice_object-total_taxes