Hi @digitaltrade,
Thank you for sharing the screenshot! Based on what you’ve shared, I can confirm that the “Round tax at subtotal level, instead of rounding per line” option is currently unticked. This means that WooCommerce is calculating and rounding taxes on a per-line basis, which is likely causing the minor discrepancy you’re seeing in your tax reports. Why This Happens:
When taxes are calculated per line:
- WooCommerce calculates the tax for each line item individually.
- Each tax amount is rounded to two decimal places before being added to the total tax.
This can result in small differences (like €0.01 or €0.10) compared to calculating and rounding taxes at the subtotal level.
Example Scenario:
Let’s say you have two line items:
- Item 1: €50.35 x 22% = €11.077 → Rounded to €11.08
- Item 2: €120.75 x 22% = €26.565 → Rounded to €26.57
- Total Tax (Per Line): €11.08 + €26.57 = €37.65
If you were to calculate tax at the subtotal level:
- Subtotal: (€50.35 + €120.75) = €171.10
- Tax: €171.10 x 22% = €37.642 → Rounded to €37.64
The difference arises because rounding is applied at different stages, and this adds up across multiple line items. How to Resolve This:
If you’d prefer to avoid these small discrepancies, you can enable the “Round tax at subtotal level, instead of rounding per line” option. This will calculate the tax for the entire order subtotal first, round it once, and then apply it, ensuring consistent totals.
To enable this:
- Go to WooCommerce → Settings → Tax.
- Check the box for “Round tax at subtotal level, instead of rounding per line”.
- Save changes.
Keep in mind that this will change how taxes are displayed and calculated moving forward, and it may affect existing reports slightly.
Let me know if you have any further questions or need additional help!