Menu

1 / 2

WooCommerce Only Allows One Tax Rate Per Line Item — Here's How I Solved It

DEV Community·WebKoding·6 months ago
#C64ECZJe
#woocommerce#php#order#rules#product
Reading 0:00
15s threshold

WooCommerce has a limitation that quietly causes legal compliance issues for thousands of stores across Germany, Austria, France, and other EU countries: you can only assign one tax class per line item .

For most stores this is fine. But if you sell brunch tickets, hotel packages, event passes, or any product that legally requires multiple VAT rates on a single invoice — you have a problem.

The Real-World Problem

Take a brunch ticket priced at €39. In Germany, food is taxed at 7% and beverages at 19%. Since January 1, 2026, the German BMF (Bundesministerium der Finanzen) requires that invoices for such products show the split explicitly:

Item Net VAT Gross

Food portion (80%) €29.16 7% → €2.04 €31.20

Drinks portion (20%) €6.55 19% → €1.24 €7.80

Total €35.71 €3.28 €39.00

Without the split, your invoice is legally non-compliant — the customer overpays VAT by €2.94, and your tax report is wrong.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.