Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About WC – APG NIF/CIF/NIE Field
WC - APG NIF/CIF/NIE field is a plugin for WooCommerce that adds a new NIF/CIF/NIE field to billing and shipping forms. It allows you to require and validate this field, as well as customize its label and error message. The plugin also supports multiple translations and provides technical support for configuration and installation.Screenshots



Frequently asked questions
What is the purpose of the WC - APG NIF/CIF/NIE Field plugin?
The WC - APG NIF/CIF/NIE Field plugin adds a new NIF/CIF/NIE field to all billing and shipping forms in your WooCommerce shop. This field is available to both administrators and customers. It requires WooCommerce 2.4.0 or higher and the SoapClient PHP class.
What are the main features of this plugin?
Key features include full compatibility with the WordPress block editor's End Purchase block, the ability to make the NIF/CIF/NIE field required in billing and shipping forms, and customization options for field priority, labels, placeholders, and error messages. It also allows validation of NIF/CIF/NIE, VIES VAT number, and EORI fields.
Which countries' documents can be validated by this plugin?
The plugin validates documents from a wide range of countries including Albania, 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, and Serbia.
Can I customize the NIF/CIF/NIE field?
Yes, you can customize the label and placeholder of the NIF/CIF/NIE field, as well as the error message displayed for it. You can also customize the priority (position) of the field within the forms.
Does this plugin support EORI field validation?
Yes, the plugin allows you to validate the EORI field to prevent sales if a valid number is not entered. You can also select specific countries where the EORI field will be validated.
Changelog
3.2.0.1
- Small fixes.
3.2
- Added ‘apg_nif_add_fields’ filter.
- Improved validation.
3.1.0.2
- Small fixes.
3.1.0.1
- Small fixes.
3.1
- Improved security.
- Improved international validation process.
- Small fixes.
3.0.15
- Small fixes.
3.0.14
- Small fixes.
3.0.13
- Small fixes.
3.0.12
- Small fixes.
3.0.11
- Small fixes.
3.0.10
- Limits features to the Checkout Block.
3.0.9
- Small fixes.
3.0.8
- Small fixes.
3.0.7
- Small fixes.
3.0.6
- Small fixes.
3.0.5
- Small fixes.
3.0.4
- Improved compatibility with third party plugins.
3.0.3
- Improved compatibility with third party plugins.
3.0.2
- Small fixes.
3.0.1
- Fixed a bug affecting versions below WooCommerce 8.9.
3.0
- Added support for the Checkout block.
- Improved compatibility with third party plugins.
2.1.0.2
- Small fixes.
2.1.0.1
- Small fixes.
2.1
- Added HPOS support.
2.0.1
- Small fixes.
2.0
- Added EORI number validation option Upgrade sponsored by OldWood – Ground, Oil Varnishes & Natural Colours.
- Added option to select priority of the field NIF/CIF/NIE.
- Added two filters to display and customize an error message for the billing form:
apg_nif_display_error_messageandapg_nif_error_message. - Screenshot updated.
1.7.4.1
- Header updated.
- Stylesheet updated.
- Screenshot updated.
1.7.4
- Validates the shipping form only if it has been activated.
- Validates VIES number only for supported countries.
1.7.3.1
- Indicates the corresponding form in the field validation.
1.7.3
- Add the NIF/CIF/NIE field in the order search.
1.7.2.6
- Small fixes.
1.7.2.5
- Small fixes.
1.7.2.4
- Small fixes.
1.7.2.3
- Added support for Polylang.
1.7.2.2
- Small fixes.
1.7.2.1
- Small fixes.
1.7.2
- VIES validation fix for Greece and Ireland.
1.7.1
- Adjustment to make the new option compatible with WooCommerce PDF Invoices & Packing Slips.
1.7
- Now you can now remove the phone and email fields from the default address.
1.6
- Customizable error messages and translatable with WPML.
- Small fixes.
1.5.1
- Added tax exemption on shipping costs.
1.5
- Removed tax exemption on shipping costs.
- Added phone and email fields in international addresses.
- Small fixes.
1.4.2
- Remove double phone and email address in the Thank you page.
1.4.1
- Text field name translatable with WPML.
1.4.0.2
- Updated email account template.
- Small fixes.
1.4.0.1
- Small fixes.
1.4
- Added customization for the field label and placeholder.
- Updated screenshot.
1.3.0.2
- Small fixes.
- Removed all the changes of fields order.
1.3.0.1
- Small fixes.
1.3
- Added fields in WooCommerce PDF Invoices & Packing Slips for invoices with addresses outside Spain.
1.2.1.3
- Small fixes.
1.2.1.2
- Added error message and deactivation when SoapClient PHP class doesn’t exist.
1.2.1.1
- Added WooCommerce 3.4 compatibility.
1.2.1
- Small fixes.
1.2.0.4
- Remove double phone and email address in the order email.
- Fixed CIF number validation.
1.2.0.3
- Remove double phone and email address in the order email.
1.2.0.2
- Header updated.
- Stylesheet updated.
- Screenshot updated.
1.2.0.1
- Fixed CIF number validation.
1.2
- Prevent NIF/CIF/NIE field validation out from Spain.
- Minor fixes.
1.1.0.6
- Display the email field in manually created orders in WooCommerce 3.x.
- Prevent NIF/CIF/NIE validation with VIES number validation selected.
1.1.0.5
- Text field name translatable.
1.1.0.4
- Improved performance.
1.1.0.3
- Fixed localization.
1.1.0.2
- Improved VIES number validation.
1.1.0.1
- Internationalization of VIES number validation.
1.1
- Added VIES VAT number validation option.
1.0.1.3
- Adjust to optimize WooCommerce 3.0 compatibility.
1.0.1.2
- Support for multisite installations.
1.0.1.1
- Display all fields in non registered users.
1.0.1
- Fixed email addresses format.
- Fixed missed Spanish translations.
1.0
- Display the email field in manually created orders.
- Display the email in customer data.
- Removed all custom classes from fields to improve universal compatibility with templates.
- Internal plugin structure fully rewritten for easy maintenance.
0.3
- Load the NIF/CIF/NIE field value in manually created orders.
0.2
- Added new setting options.
- Updated translation.
- Updated screenshot.
0.1
- Initial version.
