
外掛標籤
開發者團隊
② 後台搜尋「Datos fiscales: NIF, CIF y NIE for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Datos fiscales: NIF, CIF y NIE adds the data you need to issue full invoices to Spanish customers: the NIF, NIE or CIF, properly validated, not just “9 characters long”.
Features
Adds a NIF/CIF/NIE field to the block checkout (the default in new stores) and to the classic checkout.
Validates the control letter or digit:
NIF (DNI): 8 digits and a letter (modulo 23). Special NIFs K, L and M too.
NIE: X, Y or Z, 7 digits and a letter.
CIF: entity letter, 7 digits and control (digit or letter depending on the entity type).
Accepts lowercase, spaces, dots and hyphens (12.345.678-z) and stores the clean value (12345678Z).
Three modes: optional, required or conditional (required when the customer fills in “Company” or when the order is above an amount; 400 € by default, the general simplified-invoice limit; retail stores may use up to 3,000 €; editable).
Spanish rules only apply to customers billed in Spain: customers billed in another country are never asked for the field and can type their own tax ID in any format.
Optional legal name (razón social) field.
Option to accept EU VAT numbers from other EU countries (basic format check only; numbers with the ES prefix are fully validated).
Saves the value in the order and in the customer profile, and pre-fills it on later purchases.
Shows it in the admin order screen (editable), WooCommerce e-mails, the thank-you page and My Account.
Compatible with HPOS (high-performance order storage).
In every language of Spain: Spanish, Catalan, Valencian, Galician, Basque, Aranese and Aragonese. Each user sees the admin in the language of their profile (Users → Profile → Language); customers see the language of the site.
Free, with no locked features.
Legal notice
This tool helps you apply taxes in WooCommerce, but it does not replace the advice of a tax adviser. Review the settings with your adviser.
Privacy
The plugin does not send data to third parties: no external services, no telemetry, no usage tracking.
The tax ID is stored only in your database, in the order and in the customer profile.
It is included in the WordPress personal data export, removed when you erase a customer’s personal data, and deleted from orders that WooCommerce anonymizes (only if you enable that in WooCommerce). The plugin also suggests a paragraph for your privacy policy (Settings → Privacy).
Validation runs on your server with the official control letter/digit algorithm. It does not query the Spanish Tax Agency or VIES, so it does not check that the number exists or who it belongs to.
More free tools for Spanish stores
Recargo de Equivalencia for WooCommerce.
Canarias, Ceuta y Melilla (IGIC and IPSI) for WooCommerce.
Exportación para la gestoría for WooCommerce (sales invoice book and tax summary).
