Skip to content
Sign in
Datos fiscales: NIF, CIF y NIE for WooCommerce icon

Datos fiscales: NIF, CIF y NIE for WooCommerce

Adds a validated Spanish tax ID field (NIF, CIF or NIE, with control letter and digit check) to the WooCommerce checkout.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

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

Written by Joobi from the project's own listing. See the source page

CIFinvoicenienifspain
25 Nov 2026
Version 1.0.0 released. Not scanned yet.

1.0.0

  • First release: validated NIF/CIF/NIE field in the classic and block checkout, optional, required and conditional modes, legal name field, EU VAT numbers, and display in orders, e-mails and My Account.
  • Customers billed outside Spain are never required to fill in the field and can type their own tax ID.
  • A tax ID removed by the customer or by the store is cleared everywhere.
  • Integration with the WordPress personal data export and erasure tools.
25 Nov 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)