#andy_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/1324468388612931674
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ can you tell me a bit more about which of our solutions you're currently using to calculate tax?
If you're using Tax Calculations for instance, then the tax_breakdown is likely the best place to look for those details:
https://docs.stripe.com/api/tax/calculations/object#tax_calculation_object-line_items-data-tax_breakdown
We are using Tax Calculations, but looking for it to return a breakdown of rate by state, county, city, district and not seeing that. We only see Tax_type, which is just telling us it's "sales tax"
Do you have an example of a request that you can share with us where you're seeing that behavior? You may have to expand line_items.data.tax_breakdown, but we should be able to confirm whether that's necessary by taking a quick look at one of your requests.
The ID of the request would help us check that, and that should have a req_ prefix.
Are we able to add one of my coworkers to this thread?
Of course, you can grab a link to the thread by right clicking on its name in the left-hand nav here. Then Copy Link should give you something like this:
https://discord.com/channels/841573134531821608/1324468388612931674
Hello! Here is an example of a response for an address that should have a district tax and a state tax. It is instead combining them into one number (8.25).
Can you copy the text of that value and send it here?
The text of which value?
TaxRateDetails?
{<Stripe.Tax.CalculationTaxBreakdownTaxRateDetails@56395605 id=> JSON: { "country": "US", "flat_amount": null, "percentage_decimal": "8.25", "rate_type": "percentage", "state": "TX", "tax_type": "sales_tax"}}
Unfortunately I'm not seeing a way to break it down more than that. I think you may need to write this in as a feature request to our support team https://support.stripe.com/?contact=true
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.