Skip to content
Gaurav TiwariDocs

Tax and VAT

Version 5.2.5 Updated November 23, 2026

The Tax and VAT module adds tax to Core Commerce orders by the buyer’s country, and by region where you need it. Prices can include tax or have it added on top, and EU businesses with a confirmed VAT number pay no VAT through reverse charge.

You set the rates, and you’re responsible for them. Core Forms calculates the tax, shows it at checkout and records it on every order, invoice and report.

Turn on tax

  1. Go to Core Forms > Modules and turn on Tax and VAT. This also turns on Licensing and Storefront if it’s off.
  2. Open Core Commerce > Settings and scroll to the Tax section.
  3. Tick Charge tax at checkout. Nothing is taxed while this box is off.
  4. Fill in the rest of the section and click Save tax settings.

Tax settings

Setting Default What it does
Charge tax at checkout Off The main switch.
Plan prices Exclude tax Exclude tax adds tax on top of the plan price. Include tax treats the price as already including it. This applies to every plan in the store.
Tax name Tax The label at checkout and on invoices, such as VAT or GST.
Your business country None Used when the buyer hasn’t chosen a country, and to decide when reverse charge applies.
Rates Empty One rate per line, as described below.
Ask for a VAT or tax number at checkout On Shows an optional tax number field.
Apply EU reverse charge for confirmed VAT numbers On Charges no VAT to EU businesses whose number checks out.

Write the rates

Enter one line per country: the two-letter country code, =, then the rate.

IN=18
DE=19
US-CA=7.25
*=0
  • US-CA=7.25 sets a rate for one region. Use the country code, a hyphen and the region code.
  • * sets the rate for every country you haven’t listed.
  • A country with no rate and no * line pays no tax.
  • Core Forms looks for the region first, then the country, then *.
  • Rates above 100 are treated as 100, and lines in any other format are skipped.

Click Add standard EU VAT rates to fill in the standard rate for each EU country you haven’t listed yet. Check those rates against current law before you go live, because they change.

How tax is calculated

  • Exclude tax: tax is the rate times the price after any coupon, added on top. 80.00 at 18% adds 14.40.
  • Include tax: the tax is the part of the price that the rate represents. 80.00 at 18% includes 12.20, and the buyer pays 80.00.
  • Tax is worked out once on the order total after discounts, then rounded to the currency’s smallest unit.
  • Coupons apply first, so tax is charged on the discounted price.

EU reverse charge

Reverse charge applies when the setting is on, the buyer enters a VAT number, the buyer’s country is in the EU and differs from your business country, and that country has a rate above 0.

Core Forms checks the number with the EU’s VIES service and caches the answer for a day. Buyers see one of these notes under the total:

  • “VAT number confirmed. Reverse charge applies, so no VAT is added.”
  • “That VAT number is not valid for this country, so VAT is included.”
  • “Your VAT number could not be checked right now, so VAT is included. Contact us for a refund of the VAT once it is confirmed.”

When VIES is down or slow, VAT is charged. Refund it by hand once you confirm the number.

What buyers see at checkout

The checkout shows a Tax and coupon box with a Country list and, when you ask for one, an optional VAT or tax number field. The country starts on the buyer’s saved billing country, or their location when Cloudflare provides it, and the total is taxed for that country. Buyers can choose another one and press Update total.

The order summary shows the tax on its own row:

  • VAT (19%) when tax is added on top.
  • VAT included (19%) when prices include tax.
  • VAT (reverse charge) at 0.00 for a confirmed EU business.

Payment methods that add their own sales tax, by default Polar, Paddle, Creem and Dodo Payments, are refused for taxed orders: “This payment method adds its own sales tax. Choose another method so tax is not charged twice.” FluentCart is refused whenever tax changes the price.

Region rates and Core Forms checkout forms

The shared checkout asks for a country only, so region lines such as US-CA apply only on Core Forms checkout forms that collect a region.

On those forms, the Fulfill License Purchase action reads the country and region from your form fields. Send codes, not names:

  • The country can be a two-letter code, such as DE, or an English country name, such as Germany or United States. Anything else falls back to your business country.
  • The region must be a code, such as CA.

Where tax is recorded

  • Orders store the tax amount, rate, country, the buyer’s tax number and whether reverse charge applied.
  • Invoices, with the Invoices module on, show the tax row and print the buyer’s VAT number under “Billed to”. Reverse charge invoices add the note “Reverse charge: VAT to be accounted for by the recipient (Article 196, Council Directive 2006/112/EC).”
  • The admin order screen shows a tax breakdown in its Totals and invoice section, which comes from the Invoices module.
  • Order emails include a Tax row.
  • Reports total tax by currency, and the CSV export includes the tax amount and country.

Renewals and client invoices

  • Automatic renewals charge tax at the rate saved with the original order. Reverse charge orders keep renewing without VAT.
  • Client Invoices use the same rates and VAT check, by the client’s billing country and region. They add no tax while this module is off.

Turn tax off

While Charge tax at checkout is on, the Modules screen asks before turning the module off. Turning it off deletes nothing:

  • The Tax section and the checkout’s country and tax number fields disappear, and new orders carry no tax.
  • Past orders, invoices and credit notes keep their tax.
  • Automatic renewals already running keep the price they started with.
  • Your settings return when you turn the module back on.

For developers

There’s no REST route, WP-CLI command or ability for tax. Order responses from GET /wp-json/core-forms/v1/commerce/orders include tax_minor, tax_rate, tax_country, tax_id, tax_inclusive and reverse_charge.

  • cf_commerce_quote filters the price of every purchase. Tax runs at priority 20, after coupons.
  • cf_commerce_vies_result can return true or false to answer a VAT number check yourself.
  • cf_commerce_merchant_of_record_gateways changes the list of gateways refused for taxed orders.
Share

Was this helpful?

Still stuck? Open a support ticket