I have an issue with the shipping tax calculation. I add the shipping cost without tax, and everything is calculated OK in the cart/checkout page. Also, in back office, the order is displayed correctly (cost/taxes are calculated OK).
The problem happens when you change the order status to Complete and the invoice is sent by email - it will automatically change the shipping cost and the total cost - it adds 0.01 (Note: if you manually generate the invoice before changing the order status to Complete, the invoice is generated OK - taxes/costs are OK in both invoice and back office).
The shipping cost is 15 with tax included, so I have to configure it to 12.6050 (without tax) in order be calculated correctly: 15 lei.
I think the issue is related with the number of decimals used - WooCommerce is set to 2 decimals. If I change the WooCommerce setting to use 4 decimals, it is OK, but the amounts look awful and are very confusing for customers.
From accounting perspective, the shipping cost without tax should be 12.61 lei, and the shipping tax should be 2.39 lei (total shipping cost with tax included = 15 lei)
Using WooCommerce 3.0.5 and WooCommerce PDF Invoices & Packing Slips (tried with other invoicing plugins, and the issue is the same).
Do you have any ideas what should I do to use 2 decimals and keep the shipping cost to 15 lei (tax included)?
Thank you for your help.