Linux 软件免费装
Banner图

VAT Right – EU VAT & OSS for WooCommerce

开发者 jeangalea
更新时间 2026年10月25日 03:23
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

woocommerce vat eu vat reverse charge oss

下载

0.1.1

详情介绍:

The plugin decides which VAT treatment each WooCommerce order gets, applies it through WooCommerce's own tax calculation, and records the decision with its inputs on the order. It's free, has no Pro version, and shows no branding in your store. Settings live under WooCommerce > Settings > Tax > VAT Right. What it does

安装:

  1. Make sure WooCommerce is active, then install and activate VAT Right.
  2. Go to WooCommerce > Settings > General and tick "Enable tax rates and calculations". WooCommerce hides the Tax tab until you do.
  3. Go to WooCommerce > Settings > Tax > VAT Right and read the setup check.
  4. Enter your store VAT number so VIES can return a consultation number for each check.
  5. Apply the EU rates in the rates table at the bottom of the screen, or map your tax classes first.

屏幕截图:

  • Classic checkout with the VAT number field and the notice in the order review.
  • The VAT Right section under WooCommerce > Settings > Tax.
  • The EU VAT box on an order, with the decision and its inputs.
  • The EU VAT reports: OSS return and EC Sales List.

常见问题:

What happens when VIES is down?

Checkout still works. By default the order is accepted, VAT is charged and the order is flagged as pending validation. The plugin checks the number again later and, if it validates, marks the order and can email you so you can refund the VAT. The setting "When a registry is unavailable" offers two alternatives: accept the order, exempt the VAT and re-check later, or don't accept the order. Registry requests time out after a few seconds.

How do I validate UK VAT numbers?

HMRC only answers requests that carry credentials from a registered application, so you need your own. They're free.

  1. Create an account at the HMRC Developer Hub.
  2. Register an application and subscribe it to the VAT Registered Companies API (check a UK VAT number).
  3. Copy the client ID and client secret from the application.
  4. Paste them into WooCommerce > Settings > Tax > VAT Right > HMRC.
Without credentials, GB numbers are only format-checked and a business customer in the UK is treated as a consumer.

Does it work with WooCommerce Subscriptions?

The plugin hooks into the WooCommerce Subscriptions renewal and switch hooks. A renewal is decided as a new sale: the subscription's stored registry answer is reused while it's fresh, otherwise the number is checked again, and the decision is stored on the renewal order. If a renewal can't be decided, VAT is charged. This has been tested against a stand-in for the Subscriptions hooks, not against the WooCommerce Subscriptions plugin itself.

What personal data does the plugin store, and for how long?

It stores the customer's VAT number, the registry's name, address and consultation number for it, and the IP country evidence used for digital sales, on the order, in the plugin's ledger table and, for logged-in customers, in their account. After the retention period (10 years by default, counted from the end of the year of the sale, which matches the OSS record-keeping period) the plugin removes the personal data from the decision record and ledger rows and keeps the scheme, rule, amounts and country evidence. Exporters and erasers are registered with the WordPress privacy tools. All plugin data is kept when you delete the plugin, unless you tick "Delete all plugin data when the plugin is deleted".

Which services does the plugin call?

See "External services" below. Nothing else is contacted, and the plugin makes no request unless a VAT number, a rate update or a currency conversion needs it.

Are there known limitations?

Each of these errs on the side of charging VAT.

  • Consulting, legal, advertising and similar services to consumers outside the EU (Article 59 of the VAT Directive) are charged your store's VAT.
  • Business customers in the UK are treated as consumers unless you add your own HMRC API credentials. Swiss and Norwegian numbers that can't be checked at checkout are charged VAT until they're re-checked.
  • In a cart that's partly exempt because of a domestic exemption, the exempt line is charged VAT.
  • On carts in a currency other than EUR, the threshold display updates at checkout, not on every cart recalculation.

更新日志:

0.1.1