Linux 软件免费装
Banner图

AovUp EU & UK VAT Validation for WooCommerce

开发者 themealien
更新时间 2026年11月16日 12:28
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

b2b vat vies eu vat reverse charge

下载

1.0.2

详情介绍:

Selling to businesses in other EU countries? A business with a valid VAT number pays no VAT on your invoice: it accounts for the VAT itself (the "reverse charge"). This plugin handles that at checkout. Pro AovUp EU & UK VAT Validation Pro adds HMRC checks for UK numbers, official consultation numbers from VIES or HMRC (proof that you checked), accepting numbers while VIES is down with an automatic re-check, a "Check again" button on orders, and a CSV export of the evidence for your VAT return.

安装:

  1. Install and activate the plugin (WooCommerce must be active).
  2. Go to WooCommerce > Settings > Tax > VAT numbers.
  3. Tick "Check with VIES" to check numbers online, then check the countries whose numbers remove VAT.
  4. Place a test order with a VAT number from another EU country.

屏幕截图:

  • The evidence saved on the order screen.
  • Settings under WooCommerce > Settings > Tax > VAT numbers.

常见问题:

Does it work with the Checkout block?

Yes. The field appears in the address form of the Checkout block and of the classic checkout, and the totals update as soon as the number is checked.

Why does a number from my own country not remove VAT?

Sales to businesses in your own country are normally taxed. If your situation is different, tick "Same country" in the settings.

What happens when VIES is down?

The customer is told the service is not answering and VAT is charged; they can try again a few minutes later. (Pro can accept the number and check it again in the background.)

What does the reverse-charge note say?

By default: "Reverse charge: VAT to be accounted for by the customer." Add the legal reference that fits what you sell in the settings, for example Article 196 of Council Directive 2006/112/EC for services, or Article 138 for goods sent to another EU country.

What about subscription renewals?

With WooCommerce Subscriptions, a renewal order copies the first order's reverse charge. Before each renewal is paid, the plugin checks the number again ("Subscription renewals" in the settings, on by default). If the number is no longer registered or no longer qualifies, VAT is charged on that renewal and the order note says why. If the number can't be checked at that moment (VIES doesn't answer or refuses the check, or VIES checks are switched off in the settings), the renewal keeps its reverse charge only when your other settings still allow it and the number was verified: a check found it valid within the subscription's last billing period plus a week (38 days for a monthly subscription, 373 for a yearly one), so one missed check is covered but checks that stay off are not. Otherwise VAT is charged, for example because "the number was never verified" or because its last successful check is too old, and the order note says so. A renewal that has no record of a check of its own uses its subscription's record, or else the VAT number saved on it is checked again; one without any number pays VAT. A renewal charged VAT only because its number couldn't be checked, or because it has no number at all, is listed in a notice on the Plugins screen, the Orders screen and this plugin's settings, oldest first and 20 at a time, until you press "Done" for it, so you can check the number by hand and refund the VAT if it is valid. "Done" clears only the renewals the notice showed; nothing leaves the list any other way, except when the order is deleted. Every answer a renewal check gets is saved on the subscription, so the next renewal starts from it. The order note and the WooCommerce log (WooCommerce > Status > Logs, source "aovup-vat") say why the number wasn't checked. The age counts the subscription's billing period and interval only: a free trial longer than one period, synchronised renewals and early or late renewals aren't taken into account, and a renewal whose subscription can't be found counts a year. Developers can change the age with the aovup_vat_renewal_unchecked_max_age_days filter. These checks never count against the storefront check limits.

Why is VAT charged when the goods stay in my country?

The reverse charge covers goods sent to another country, and services. Goods delivered to an address in your own country, or picked up from you, are a domestic sale, so VAT is charged whichever VAT number the customer has (unless you tick "Same country"). If one order mixes goods delivered in your country with services, VAT is charged on the whole order.

Can a script use up my VIES allowance by trying numbers at checkout?

No. Only well-formed numbers are sent, answers are cached, and each visitor can have at most 20 numbers checked online in 10 minutes (60 per IP address, 200 for the whole store), through every entry point, WordPress's admin-ajax.php included. IPv6 addresses count by their /64 network, so one connection can't start a new count with every address; someone who holds a larger block (a /48 has 65,536 of them) can still start a new count per /64, and only the store-wide limit stops them. Signed-in customers with a paid order (one with a payment date and a total above zero; a cash-on-delivery order once it is completed) have a store-wide count of their own, so anonymous traffic that uses up the visitors' count doesn't stop your known buyers. Signed-in shop managers, background jobs and the checks before subscription renewals aren't limited. Developers can change the limits with the aovup_vat_check_limits filter. Behind a proxy or CDN that doesn't pass the visitor's address on, every visitor shares the per-address count: return the visitor's real address from the aovup_vat_check_limit_ip filter.

Can I check UK VAT numbers?

UK numbers get a format and check-digit test. Since 2025 HMRC only answers lookups for registered applications, so live HMRC checks are in Pro, using your own HMRC Developer Hub credentials.

I use AovUp Tax Exemption. Will customers see two fields?

No. When AovUp Tax Exemption asks for a tax number at checkout, this plugin doesn't add its own field there and doesn't check numbers a second time.

Does it work with High-Performance Order Storage (HPOS)?

Yes. The number and the evidence are saved through WooCommerce's order functions, so they work with HPOS and with the older order storage.

Is customer data sent anywhere?

Only the VAT number and its country, to VIES, and only when you switch VIES checks on. See "External services".

更新日志:

1.0.2 1.0.1 1.0.0