#ju4njo.
1 messages ยท Page 1 of 1 (latest)
Stripe rounds at the invoice item level
https://stripe.com/docs/billing/taxes/tax-rates#rounding
For the example in your previous thread its:
10.0 x 0.9 (coupon) x 0.05185 rounded = 0.47
- 1.0 x 0.9 (coupon) x 0.05185 rounded = 0.05
= 0.52
But if that doesnt explain it for you or you believe its wrong, please reach out to our support team with an example invoice or test mode Checkout session so that we can deeply investigate
Sorry, I'm confused.
This screenshot was the example I provided you guys. So, I don't understand those values 10.9 and 1.9 ... ๐
erm sorry my math was wrong there
the second one is 5c not 7
oh, it smooshed my * for multiplication, let me fix with x
fixed
Take another look @icy kindle
Why is the coupon value 0.9?
In other words, you round each value and then add them up? ๐ค
Yes.
10 * 0.9 *0.05185 = 0.46665 rounds to 0.47
1 * 0.9 *0.05185 = 0.046665 rounds to 0.05
0.47+0.05=0.52
The key is that rounding happens per individual line item, not on the overall total (different taxes can apply to different line items)