WC – 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
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 5.0 and PHP 7.4.
SourceWordPress plugins · Nov 19, 2026
01 / Source details
Aboutthistool.
WC – 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 billing form only from a given order amount.
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_message and apg_nif_error_message filters.
You can remove the Email and Phone fields from the submission form with the apg_nif_add_fields filter.
You can skip validation by country or external condition with the apg_nif_skip_validation filter.
You can override the required status for billing or shipping with the apg_nif_skip_required filter.
You can change the order amount compared against the configured threshold with the apg_nif_importe_del_pedido filter.
You can limit how many VIES/EORI lookups a single IP can trigger per minute with the apg_nif_maximo_consultas_por_minuto filter (off by default).
Adds a customer download button in WooCommerce (Customers) that includes the NIF/CIF/NIE field in the CSV.
Each identifier is checked with the official algorithm of its country, not just its shape.
It validates documents from: Albania.
Andorra.
Austria.
Argentina.
Åland Islands.
Brazil.
Belgium.
Bulgaria.
Belarus.
Switzerland.
Chile.
Colombia.
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.
100% compatible with WooCommerce PDF Invoices & Packing Slips . 100% compatible with WPML . 100% compatible with Checkout Field Editor (Checkout Manager) for WooCommerce Contextual help on the settings page, explaining every setting without leaving the screen.
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 .
You can also read the full documentation , with every setting explained one by one.
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
01To the WordPress.org Plugins API to fetch plugin information. It sends the plugin slug when requesting data.
Screenshot of WC - APG NIF/CIF/NIE field.Screenshot of WC - APG NIF/CIF/NIE field. Billing and shipping forms. Checkout Block.Screenshot of WC - APG NIF/CIF/NIE field. Billing and shipping forms. Classic Shortcode.
02 / Source details
Gettingstarted.
01Install the plugin in one of the following ways: Upload the wc-apg-nifcifnie-field folder to the /wp-content/plugins/ directory via FTP.
02Upload the full ZIP file via Plugins -> Add New -> Upload in the WordPress administration panel.
03Search for WC – APG NIF/CIF/NIE Field in Plugins -> Add New and click Install Now .
04Activate the plugin through the Plugins menu in the WordPress administration panel.
05Configure the plugin in WooCommerce -> NIF/CIF/NIE field or through the Settings link on the plugins page.
03 / Source details
Frequently asked questions.
How do I configure the plugin?
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.
How do I fix duplicate NIF metadata from older orders?
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:
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.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati