At first, I thought I have found a rounding error in the tax calculation by pure chance. The currency used is EUR and the tax rate used is 19% (for Germany). You can try out the following numbers:
Product 1: 7.56 € unit cost, 10 quantity
Product 2: 7.56 € unit cost, 8 quantity
Subtotal: 136.08 €
Tax (19%): 25.85 €
That seemed off because I expected the tax to be 25.86 €
. But then I noticed that the calculation is “correct” if I don’t have multiple products. See:
Product 1: 7.56 € unit cost, 18 quantity
Subtotal: 136.08 €
Tax (19%): 25.86 €
Basically, the subtotal is the same, but the tax is different. Now, I believe this is working as intended because the tax is probably calculated per item and not based on the subtotal. Is this true? Can this be changed somehow?