Shopify's tax calculation has rounding errors (when using JPY)?

Shopify Partner
13 0 3


Shopify seems to calculate tax on a per-item basis, which accumulates rounding errors.

I have a customer order for two different products at ¥8,580 each. 8% tax for a single item is 686.4, which when rounded to whole JPY goes to 686. So the tax for the whole order comes to ¥1,372, when it should be ¥1,373 (8% of ¥17,160)

It is interesting to note that this calculation is seemingly performed correctly on the checkout screen, so the customer actually sees a different value to our records.

Has anyone else experienced this problem? These small errors have a potential to cause some confusion come tax time.