xpay✦ Commerce
Directory
WooCommerce plugins
WC – APG NIF/CIF/NIE Field
WC – APG NIF/CIF/NIE Field
Add to WooCommerce a NIF/CIF/NIE field for all billing and shipping forms, with validation and VIES/EORI support.
4.8
(23 ratings)Will this break my store?
What the WordPress.org registry says about keeping WC – APG NIF/CIF/NIE Field running.
Tested to 7.0.2
Tested against the WordPress branch in use today.2 months ago
At least 11.1 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.4
Your host must be running at least this version.5.0
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how WC – APG NIF/CIF/NIE Field is looked after — not on how many stores run it.
97
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
13 / 15Listing transparency
10 / 10Ratings
4.8
23 ratingsWC – APG NIF/CIF/NIE Field adds to your WooCommerce store a new NIF/CIF/NIE field in all billing and shipping forms, available to both the administrator and the customer.
Requirements: the plugin needs WooCommerce 2.4.0 or higher and the SoapClient PHP class for VIES/EORI validation.
Features
- Fully compatible with the Checkout block of the WordPress block editor.
- You can require the NIF/CIF/NIE field in the billing form.
- You can require the NIF/CIF/NIE field in the shipping form.
- You can hide the NIF/CIF/NIE field from the shipping form.
- You can customize the priority (position) of the field.
- You can validate the NIF/CIF/NIE field.
- You can validate the VIES VAT number field to apply a tax exemption.
- You can validate the EORI field to prevent the sale if a valid number is not entered.
- You can select the country(ies) where the EORI field will be validated.
- You can customize the label and placeholder of the NIF/CIF/NIE, VIES VAT number or EORI field.
- You can customize the error message of the field NIF/CIF/NIE, VIES VAT number or EORI.
- You can customize the error message if the maximum number of requests to the VIES VAT number verification API is exceeded.
- Add and require phone and email fields in the shipping form.
- You can remove the phone and email fields from the default address.
- You can display and customize an error message for the billing form using the
apg_nif_display_error_messageandapg_nif_error_messagefilters. - You can remove the Email and Phone fields from the submission form with the
apg_nif_add_fieldsfilter. - You can skip validation by country or external condition with the
apg_nif_skip_validationfilter. - You can override the required status for billing or shipping with the
apg_nif_skip_requiredfilter. - Adds a customer download button in WooCommerce (Customers) that includes the NIF/CIF/NIE field in the CSV.
- It validates documents from:
- Albania.
- Andorra.
- Austria.
- Argentina.
- Åland Islands.
- Belgium.
- Bulgaria.
- Belarus.
- Switzerland.
- Chile.
- Cyprus.
- Czech Republic.
- Germany.
- Denmark.
- Estonia.
- Spain.
- European Union.
- Finland.
- Faroe Islands.
- France.
- Great Britain.
- Greece.
- Croatia.
- Hungary.
- Ireland.
- Iceland.
- Italy.
- Liechtenstein.
- Lithuania.
- Luxembourg.
- Latvia.
- Monaco.
- Moldova.
- Montenegro.
- North Macedonia.
- Malta.
- Netherlands.
- Norway.
- Poland.
- Portugal.
- Romania.
- Serbia.
- Sweden.
- Slovenia.
- Slovak Republic.
- San Marino.
- Ukraine.
- 100% compatible with WooCommerce PDF Invoices & Packing Slips.
- 100% compatible with WPML.
- 100% compatible with Checkout Field Editor (Checkout Manager) for WooCommerce
Translations
- English: by Art Project Group (default language).
- Spanish: by Art Project Group.
More information
You can learn more about WC – APG NIF/CIF/NIE Field on our official website, and follow the development on GitHub.
Thanks
Thanks to everyone who uses the plugin, helps improve it, makes a donation or encourages us with their comments.
If you find this plugin useful, you can support its development with a small donation.
External Services
-
To the WordPress.org Plugins API to fetch plugin information.
- It sends the plugin slug when requesting data.
- More information: https://wordpress.org/about/privacy/
-
To the European Commission VAT number validation API (VIES) and EORI number validation API.
- It sends the country and VAT number — VIES validation —.
- It sends the EORI number.
- More information: https://commission.europa.eu/privacy-policy-websites-managed-european-commission_es
-
To the UK Government EORI number validation API.
- It sends the EORI number.
- More information: https://www.gov.uk/help/privacy-notice
-
To the VatApp EORI number validation API.
- It sends the EORI number.
- More information: https://vatapp.net/privacy-policy
The plugin settings are very simple: you only need to indicate whether you want the NIF/CIF/NIE field to be validated or not, and configure the optional VIES and EORI validation if you need them.
If your store placed orders via the Checkout block (or the classic checkout) with an older version of the plugin, some orders may have duplicate or legacy billing_nif / shipping_nif metadata rows that prevent the field from updating correctly in the admin panel.
Option 1 – Settings page (recommended): Go to WooCommerce -> NIF/CIF/NIE field. If duplicates are detected, a “Fix duplicate NIF metadata” button appears at the bottom of the page. Click it to run the cleanup. The button disappears automatically once there are no more duplicates.
Option 2 – WP-CLI (large stores): Run the following command from the root of your WordPress installation to avoid HTTP timeouts:
wp eval-file wp-content/plugins/wc-apg-nifcifnie-field/includes/admin/limpieza-meta-duplicados.php
WC – APG NIF/CIF/NIE Field is a free plugin. Art Project Group does not provide free technical support, but offers a paid technical support service for installation and configuration.
Plugin details
Tags on WordPress.org
