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 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
