Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/es
diff options
context:
space:
mode:
Diffstat (limited to 'stdnum/es')
-rw-r--r--stdnum/es/cif.py5
-rw-r--r--stdnum/es/dni.py7
-rw-r--r--stdnum/es/nie.py5
-rw-r--r--stdnum/es/nif.py7
4 files changed, 14 insertions, 10 deletions
diff --git a/stdnum/es/cif.py b/stdnum/es/cif.py
index 7de91db..679e596 100644
--- a/stdnum/es/cif.py
+++ b/stdnum/es/cif.py
@@ -18,8 +18,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Module for handling Spanish tax identification number (Certificado de
-Identificación Fiscal) for legal entities. The CIF is a 9 digit number
+"""CIF (Certificado de Identificación Fiscal, Spanish company tax number).
+
+The CIF is a tax identification number for legal entities. It has 9 digits
where the first digit is a letter (denoting the type of entity) and the
last is a check digit (which may also be a letter).
diff --git a/stdnum/es/dni.py b/stdnum/es/dni.py
index b7a9b7e..3d5c508 100644
--- a/stdnum/es/dni.py
+++ b/stdnum/es/dni.py
@@ -18,9 +18,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Module for handling Spanish personal identity codes (DNI, Documento
-nacional de identidad). The DNI is a 9 digit number where the last digit is
-a checksum letter.
+"""DNI (Documento nacional de identidad, Spanish personal identity codes).
+
+The DNI is a 9 digit number used to identify Spanish citizens. The last
+digit is a checksum letter.
Foreign nationals, since 2010 are issued an NIE (Número de Identificación
de Extranjeros, Foreigner's Identity Number) instead.
diff --git a/stdnum/es/nie.py b/stdnum/es/nie.py
index 9222668..fde7da0 100644
--- a/stdnum/es/nie.py
+++ b/stdnum/es/nie.py
@@ -18,8 +18,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Module for handling Spanish tax identification number (Número de
-Identificación de Extranjeros) for foreigners. The NIE is a 9 digit number
+"""NIE (Número de Identificación de Extranjeros, Spanish foreigner number).
+
+The NIE is an identification number for foreigners. It is a 9 digit number
where the first digit is either X, Y or Z and last digit is a checksum
letter.
diff --git a/stdnum/es/nif.py b/stdnum/es/nif.py
index 14d1f32..e1bc7df 100644
--- a/stdnum/es/nif.py
+++ b/stdnum/es/nif.py
@@ -18,9 +18,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Module for handling Spanish VAT (NIF, Número de Identificación Fiscal)
-numbers. It is a 9 digit number where either the first, last digits or
-both can be letters.
+"""NIF (Número de Identificación Fiscal, Spanish VAT number).
+
+The Spanish VAT number is a 9-digit number where either the first, last
+digits or both can be letters.
The number is either a DNI (Documento nacional de identidad, for
Spaniards), a NIE (Número de Identificación de Extranjeros, for