question

gerardo avatar image
gerardo asked gerardo commented

Tax calculation explanation...

Hi,

Take a look at the attached screenshot. When I calculate sales tax I get $1.49 versus the $1.48 calculated by Clover. In my approach, I calculate the sales tax for each item and round it for the item. I then add up all the item taxes. It seems that Clover is applying the 10% tax rate to the total and then rounding. Would this be different if I had tax rates at the item level in Clover. What's the right approach?

image description

Gerardo

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

brokenoval avatar image
brokenoval answered gerardo commented

Clover gives the option to tailor the tax in whatever way you want as the approach you take depends entirely on local laws - so there isn't one size fits all. In the EU, sales tax (VAT) is inclusive, in the US it is exclusive (i.e. applied on top of the item price) so you have to keep that in mind if you are developing across borders.

Your issue is to do with rounding i.e. round individual items vs round the total. And keep this in mind as there are different rounding rules too - some states only round up for example.

Within the US there are different approaches in different states so you would have to check them out. For example in California, you apply sales tax to the total, then round up.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

gerardo avatar image gerardo commented ·

Thanks for following up. Where in Clover do I specify whether to round individual items versus the total?

0 Likes 0 ·
Jacob Abrams avatar image Jacob Abrams ♦♦ commented ·

Currently there is no way for a merchant to change the rounding model.

0 Likes 0 ·
gerardo avatar image
gerardo answered

Thanks for following up. Where in Clover do I specify whether to round individual items versus the total?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community