python-stdnum branch master updated. 1.9-5-g65b5bfe
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
python-stdnum branch master updated. 1.9-5-g65b5bfe
- From: Commits of the python-stdnum project <python-stdnum-commits [at] lists.arthurdejong.org>
- To: python-stdnum-commits [at] lists.arthurdejong.org
- Reply-to: python-stdnum-users [at] lists.arthurdejong.org
- Subject: python-stdnum branch master updated. 1.9-5-g65b5bfe
- Date: Sun, 22 Jul 2018 16:20:43 +0200 (CEST)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".
The branch, master has been updated
via 65b5bfe6ff5be7735c351e4f501a45facafd110e (commit)
from 6e776aef6bea971c674920e1940aac8a560206c8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=65b5bfe6ff5be7735c351e4f501a45facafd110e
commit 65b5bfe6ff5be7735c351e4f501a45facafd110e
Author: PanderMusubi <pander@users.sourceforge.net>
Date: Mon Jun 18 15:52:25 2018 +0200
Improved texts and added links
Closes https://github.com/arthurdejong/python-stdnum/pull/75
diff --git a/README b/README
index 54f76b7..1a81f22 100644
--- a/README
+++ b/README
@@ -123,11 +123,11 @@ Currently this package supports the following formats:
* VAT (Maltese VAT number)
* RFC (Registro Federal de Contribuyentes, Mexican tax number)
* NRIC No. (Malaysian National Registration Identity Card Number)
- * Brin number (Dutch number for schools)
- * BSN (Burgerservicenummer, Dutch national identification number)
- * BTW-nummer (Omzetbelastingnummer, the Dutch VAT number)
- * Onderwijsnummer (Dutch student school number)
- * Postcode (Dutch postal code)
+ * BRIN number (the Dutch school identification number)
+ * BSN (Burgerservicenummer, the Dutch citizen identification number)
+ * Btw-nummer (Omzetbelastingnummer, the Dutch VAT number)
+ * Onderwijsnummer (the Dutch student identification number)
+ * Postcode (the Dutch postal code)
* MVA (Merverdiavgift, Norwegian VAT number)
* Orgnr (Organisasjonsnummer, Norwegian organisation number)
* NIP (Numer Identyfikacji Podatkowej, Polish VAT number)
diff --git a/stdnum/nl/brin.py b/stdnum/nl/brin.py
index af17ed8..656873a 100644
--- a/stdnum/nl/brin.py
+++ b/stdnum/nl/brin.py
@@ -17,16 +17,20 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Brin number (Dutch number for schools).
+"""BRIN number (the Dutch school identification number).
-The Brin (Basis Registratie Instellingen) is a number to identify schools
-and related institutions. The number consists of four alphanumeric
-characters, sometimes extended with two digits to indicate the site (this
-complete code is called the vestigingsnummer).
+The BRIN (Basisregistratie Instellingen) is a number to identify schools and
+related institutions. The number consists of four alphanumeric characters,
+sometimes extended with two digits to indicate the site (this complete code
+is called the vestigingsnummer).
The register of these numbers can be downloaded from:
https://www.duo.nl/open_onderwijsdata/databestanden/
+More information:
+
+* https://nl.wikipedia.org/wiki/Basisregistratie_Instellingen
+
>>> validate('05 KO')
'05KO'
>>> validate('07NU 00')
diff --git a/stdnum/nl/bsn.py b/stdnum/nl/bsn.py
index f493ed5..4428e1f 100644
--- a/stdnum/nl/bsn.py
+++ b/stdnum/nl/bsn.py
@@ -17,11 +17,12 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""BSN (Burgerservicenummer, Dutch national identification number).
+"""BSN (Burgerservicenummer, the Dutch citizen identification number).
The BSN is a unique personal identifier and has been introduced as the
-successor to the sofinummer. The number consists of up to 9 digits (the
-leading 0's are commonly left out) and contains a simple checksum.
+successor to the sofinummer. It is issued to each Dutch national. The number
+consists of up to nine digits (the leading zeros are commonly omitted) and
+contains a simple checksum.
More information:
diff --git a/stdnum/nl/btw.py b/stdnum/nl/btw.py
index 6702d9f..69124a3 100644
--- a/stdnum/nl/btw.py
+++ b/stdnum/nl/btw.py
@@ -17,12 +17,17 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""BTW-nummer (Omzetbelastingnummer, the Dutch VAT number).
+"""Btw-nummer (Omzetbelastingnummer, the Dutch VAT number).
-The BTW-nummer is the Dutch number for VAT. It consists of a RSIN or BSN
-followed by a B and two digits that identify the unit within the
+The btw-nummer is the Dutch number for VAT. It consists of a RSIN or BSN
+followed by the letter B and two digits that identify the unit within the
organisation (usually 01).
+More information:
+
+* https://en.wikipedia.org/wiki/VAT_identification_number
+* https://nl.wikipedia.org/wiki/Btw-nummer_(Nederland)
+
>>> validate('004495445B01')
'004495445B01'
>>> validate('NL4495445B01')
diff --git a/stdnum/nl/onderwijsnummer.py b/stdnum/nl/onderwijsnummer.py
index ed0cd6e..4ed341a 100644
--- a/stdnum/nl/onderwijsnummer.py
+++ b/stdnum/nl/onderwijsnummer.py
@@ -17,10 +17,10 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Onderwijsnummer (Dutch student school number).
+"""Onderwijsnummer (the Dutch student identification number).
The onderwijsnummers (education number) is very similar to the BSN (Dutch
-national identification number) for students without a BSN. It uses a
+citizen identification number), but is for students without a BSN. It uses a
checksum mechanism similar to the BSN.
More information:
diff --git a/stdnum/nl/postcode.py b/stdnum/nl/postcode.py
index 91fe543..e91acc8 100644
--- a/stdnum/nl/postcode.py
+++ b/stdnum/nl/postcode.py
@@ -17,9 +17,14 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
-"""Postcode (Dutch postal code).
+"""Postcode (the Dutch postal code).
-The Dutch postal code consists of four numbers followed by two letters.
+The Dutch postal code consists of four numbers followed by two letters,
+separated by a single space.
+
+More information:
+* https://en.wikipedia.org/wiki/Postal_codes_in_the_Netherlands
+* https://nl.wikipedia.org/wiki/Postcodes_in_Nederland
>>> validate('2601 DC')
'2601 DC'
-----------------------------------------------------------------------
Summary of changes:
README | 10 +++++-----
stdnum/nl/brin.py | 14 +++++++++-----
stdnum/nl/bsn.py | 7 ++++---
stdnum/nl/btw.py | 11 ++++++++---
stdnum/nl/onderwijsnummer.py | 4 ++--
stdnum/nl/postcode.py | 9 +++++++--
6 files changed, 35 insertions(+), 20 deletions(-)
hooks/post-receive
--
python-stdnum
--
To unsubscribe send an email to
python-stdnum-commits-unsubscribe@lists.arthurdejong.org or see
https://lists.arthurdejong.org/python-stdnum-commits/
- python-stdnum branch master updated. 1.9-5-g65b5bfe,
Commits of the python-stdnum project