Spanish intra-Community VAT number (NIF-IVA)
ID esvat
DatatypePersonal data (PII)identifier
NIF-IVA, the Spanish VAT number for intra-Community trade: ES followed by the 9-character tax identification number (NIF). Spanish citizens use their DNI, eight digits and a check letter. Foreigners use their NIE, which starts with X, Y or Z. Companies and other entities have a NIF that starts with a letter for the legal form (formerly the CIF). The last character is a check digit or a check letter.
- Parent datatype
- EU VAT ID
vatin - Categories
- Finances and banking
- Countries
- Spain
- Languages
- Spanish
- FTA
IDENTITY.VAT_ES- Schema.org
vatID- python-stdnum
stdnum.es.nif- Quality
- 100/100
- Metacrafter rules
- 2 rules (1 by field name, 1 by value)
esvatfieldfield, es/es_tax.yamlesvatvaluedata, es/es_tax.yaml
- Supported by tools
- AWS Glue Sensitive Data Detection, FTA (Fast Text Analysis), metacrafter, python-stdnum
Regular expression
^ES(?:[A-Z]\d{7}[A-Z0-9]|\d{8}[A-Z])$
Python re syntax.
Examples
| Value | Description |
|---|---|
| ESB64717838 | Company, python-stdnum reference value |
| ES54362315K | Resident person (DNI), python-stdnum reference value |
| ESX5253868R | Foreign person (NIE), python-stdnum reference value |
| ES543623150 invalid | The first or the last character must be a letter |
| ESB6471783 invalid | One character short |
Translations
| Language | Name | Description |
|---|---|---|
| Spanish | Número de identificación fiscal a efectos del IVA (NIF-IVA) |
Sources
- wikipedia: https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_fiscal
- doc: https://www.agenciatributaria.gob.es/AEAT.internet/Inicio/Ayuda/Modelos__Procedimientos_y_Servicios/Comun/Informacion_General/Numero_de_Identificacion_Fiscal_NIF_/Numero_de_Identificacion_Fiscal_NIF_.shtml
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.es.nif.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/esvat - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/ES/finances/esvat.yamlon GitHub