Setting up VAT in WooCommerce without invoice rounding issues

Configurationwordpress2026-07-01

Goal

Configure taxes in WooCommerce to minimize rounding differences between the order totals and the amounts shown on the electronic invoice.

What WooCommerce recommends

WooCommerce itself recommends setting product prices tax-exclusive (not tax-inclusive), precisely to avoid imprecise rounding when the tax is extracted during the generation of fiscal documents. This is not a requirement imposed by POP: it is WooCommerce’s official recommendation in its own tax settings guide.

If you still prefer to work with tax-inclusive prices, WooCommerce allows it (Tax tab, “Yes, I will enter prices inclusive of tax” option), and POP handles this case too.

Why small differences can appear on the invoice

An e-commerce store is designed to sell, not to issue fiscal documents: when prices are tax-inclusive, some recalculations are unavoidable in order to produce a fiscally correct document:

These differences are not a plugin error: they ensure the invoice complies with Italian tax rules even when the store works with tax-inclusive prices.

If you want to switch to tax-exclusive prices on a catalog already set to tax-inclusive

  1. Make a full backup of the site.
  2. Export the products to CSV using WooCommerce’s native tool.
  3. Update the tax-exclusive prices in the exported file.
  4. Re-import the products.

Verify

Compare the VAT total of a test order with the one reported on the generated invoice: any differences of a few cents are expected and documented here, not a malfunction.

Common errors

For selling to foreign customers (reverse charge) see reverse-charge; for the nature codes to use based on the tax regime see tax-regime-invoicing-rules.