#james-tax
1 messages · Page 1 of 1 (latest)
in_1L94b1DyEQpSu9sPn32hjyvr
ok so to clarify you are saying 20% of (164.82 - 16.48) is 29.668 and you expect the amount of the tax on the invoice to be 29.67
yeah thats right, it should round to the nearest 100th
per https://stripe.com/docs/billing/taxes/tax-rates#rounding though we round per invoice item so I think the calculation instead is probably more like (20% of 164.82) + (20% of -16.48) or something
which is still the same amount but there's probably something else at play, I don't really know the details of how this works
hmm yeah that makes sense as it rounds down for a deduction (which is correct) and then leaves 29.664 so the rounding then becomes correct. I think on our system we do the entire value at 20%, so thats where the change comes in
glad it makes sense to you! (I'm still a bit lost myself but I'm sure it does make sense)