8000 Get files ready for 1.12 release · adh/python-stdnum@41b9c94 · GitHub
[go: up one dir, main page]

Skip to content

Commit 41b9c94

Browse files
committed
Get files ready for 1.12 release
1 parent 6ca5b53 commit 41b9c94

21 files changed

+657
-5
lines changed

ChangeLog

Lines changed: 489 additions & 0 deletions
Large diffs are not rendered by default.

NEWS

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,54 @@
1+
changes from 1.11 to 1.12
2+
-------------------------
3+
4+
* Add modules for the following number formats:
5+
6+
- NRT (Número de Registre Tributari, Andorra tax number)
7+
(thanks Leandro Regueiro)
8+
- CPF (Cédula de Persona Física, Costa Rica physical person ID number)
9+
(thanks Leandro Regueiro)
10+
- CPJ (Cédula de Persona Jurídica, Costa Rica tax number)
11+
(thanks Leandro Regueiro)
12+
- CR (Cédula de Residencia, Costa Rica foreigners ID number)
13+
(thanks Leandro Regueiro)
14+
- NIT (Número de Identificación Tributaria, Guatemala tax number)
15+
(thanks Leandro Regueiro)
16+
- Identity Number (Mispar Zehut, מספר זהות, Israeli identity number)
17+
- CN (法人番号, hōjin bangō, Japanese Corporate Number)
18+
(thanks Alan Hettinger)
19+
- RRN (South Korean resident registration number)
20+
(thanks Dimitri Papadopoulos)
21+
- IRD number (New Zealand Inland Revenue Department (Te Tari Tāke) number)
22+
(thanks Leandro Regueiro)
23+
- CUI (Cédula Única de Identidad, Peruvian identity number)
24+
- RUC (Registro Único de Contribuyentes, Peruvian company tax number)
25+
- RUC number (Registro Único de Contribuyentes, Paraguay tax number)
26+
(thanks Leandro Regueiro)
27+
- VKN (Vergi Kimlik Numarası, Turkish tax identification number)
28+
(thanks Leandro Regueiro)
29+
- RUT (Registro Único Tributario, Uruguay tax number)
30+
(Leandro Regueiro)
31+
- RIF (Registro de Identificación Fiscal, Venezuelan VAT number)
32+
(thanks Kevin Kaiser)
33+
- TIN (South African Tax Identification Number) (thanks Leandro Regueiro)
34+
35+
* Support GTIN (EAN-14) validation as part of EAN
36+
(thanks Sergi Almacellas Abellana)
37+
* Support Dominican Republic e-CF within NCF (thanks Jeffry Jesus De La Rosa)
38+
* Fix Dominican Republic DGII lookups of NCF (thanks Jeffry Jesus De La Rosa)
39+
* Fix German Handelsregisternummer to not confuse Hamburg with Homburg and to
40+
accept shorter numbers (thanks Kevin Kaiser)
41+
* Support lookups of German Handelsregisternummer in OffeneRegister.de web
42+
service
43+
* Handle - and + sign correctly in Swedish Personnummer
44+
(thanks Amin Solhizadeh)
45+
* Provide various personalid and vat aliases for existing numbers
46+
(thanks Andreas Häber)
47+
* Improve descriptions of Spanish codes (thanks Gerard Dalmau)
48+
* Fix handling and normalisation of various Unicode digit representations
49+
(thanks Helge Munk Jacobsen)
50+
51+
152
changes from 1.10 to 1.11
253
-------------------------
354

README

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Available formats
1515

1616
Currently this package supports the following formats:
1717

18+
* NRT (Número de Registre Tributari, Andorra tax number)
1819
* NIPT (Numri i Identifikimit për Personin e Tatueshëm, Albanian VAT number)
1920
* CBU (Clave Bancaria Uniforme, Argentine bank account number)
2021
* CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
@@ -45,6 +46,9 @@ Currently this package supports the following formats:
4546
* RUT (Rol Único Tributario, Chilean national tax number)
4647
* RIC No. (Chinese Resident Identity Card Number)
4748
* NIT (Número De Identificación Tributaria, Colombian identity code)
49+
* CPF (Cédula de Persona Física, Costa Rica physical person ID number)
50+
* CPJ (Cédula de Persona Jurídica, Costa Rica tax number)
51+
* CR (Cédula de Residencia, Costa Rica foreigners ID number)
4852
* NI (Número de identidad, Cuban identity card numbers)
4953
* CUSIP number (financial security identification number)
5054
* Αριθμός Εγγραφής Φ.Π.Α. (Cypriot VAT number)
@@ -67,11 +71,11 @@ Currently this package supports the following formats:
6771
* KMKR (Käibemaksukohuslase, Estonian VAT number)
6872
* Registrikood (Estonian organisation registration code)
6973
* CCC (Código Cuenta Corriente, Spanish Bank Account Code)
70-
* CIF (Certificado de Identificación Fiscal, Spanish company tax number)
71-
* CUPS (Código Unificado de Punto de Suministro, Supply Point Unified Code)
72-
* DNI (Documento nacional de identidad, Spanish personal identity codes)
74+
* CIF (Código de Identificación Fiscal, Spanish company tax number)
75+
* CUPS (Código Unificado de Punto de Suministro, Spanish meter point number)
76+
* DNI (Documento Nacional de Identidad, Spanish personal identity codes)
7377
* Spanish IBAN (International Bank Account Number)
74-
* NIE (Número de Identificación de Extranjeros, Spanish foreigner number)
78+
* NIE (Número de Identificación de Extranjero, Spanish foreigner number)
7579
* NIF (Número de Identificación Fiscal, Spanish VAT number)
7680
* Referencia Catastral (Spanish real estate property id)
7781
* SEPA Identifier of the Creditor (AT-02)
@@ -97,11 +101,13 @@ Currently this package supports the following formats:
97101
* AMKA (Αριθμός Μητρώου Κοινωνικής Ασφάλισης, Greek social security number)
98102
* FPA, ΦΠΑ, ΑΦΜ (Αριθμός Φορολογικού Μητρώου, the Greek VAT number)
99103
* GRid (Global Release Identifier)
104+
* NIT (Número de Identificación Tributaria, Guatemala tax number)
100105
* OIB (Osobni identifikacijski broj, Croatian identification number)
101106
* ANUM (Közösségi adószám, Hungarian VAT number)
102107
* IBAN (International Bank Account Number)
103108
* PPS No (Personal Public Service Number, Irish personal number)
104109
* VAT (Irish tax reference number)
110+
* Identity Number (Mispar Zehut, מספר זהות, Israeli identity number)
105111
* IMEI (International Mobile Equipment Identity)
106112
* IMO number (International Maritime Organization number)
107113
* IMSI (International Mobile Subscriber Identity)
@@ -119,6 +125,8 @@ Currently this package supports the following formats:
119125
* ISSN (International Standard Serial Number)
120126
* Codice Fiscale (Italian tax code for individuals)
121127
* Partita IVA (Italian VAT number)
128+
* CN (法人番号, hōjin bangō, Japanese Corporate Number)
129+
* RRN (South Korean resident registration number)
122130
* LEI (Legal Entity Identifier)
123131
* Asmens kodas (Lithuanian, personal numbers)
124132
* PVM (Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT number)
@@ -145,10 +153,14 @@ Currently this package supports the following formats:
145153
* MVA (Merverdiavgift, Norwegian VAT number)
146154
* Orgnr (Organisasjonsnummer, Norwegian organisation number)
147155
* New Zealand bank account number
156+
* IRD number (New Zealand Inland Revenue Department (Te Tari Tāke) number)
157+
* CUI (Cédula Única de Identidad, Peruvian identity number)
158+
* RUC (Registro Único de Contribuyentes, Peruvian company tax number)
148159
* NIP (Numer Identyfikacji Podatkowej, Polish VAT number)
149160
* PESEL (Polish national identification number)
150161
* REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
151162
* NIF (Número de identificação fiscal, Portuguese VAT number)
163+
* RUC number (Registro Único de Contribuyentes, Paraguay tax number)
152164
* CF (Cod de înregistrare în scopuri de TVA, Romanian VAT number)
153165
* CNP (Cod Numeric Personal, Romanian Numerical Personal Code)
154166
* PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
@@ -161,13 +173,17 @@ Currently this package supports the following formats:
161173
* RČ (Rodné číslo, the Slovak birth number)
162174
* COE (Codice operatore economico, San Marino national tax number)
163175
* T.C. Kimlik No. (Turkish personal identification number)
176+
* VKN (Vergi Kimlik Numarası, Turkish tax identification number)
164177
* ATIN (U.S. Adoption Taxpayer Identification Number)
165178
* EIN (U.S. Employer Identification Number)
166179
* ITIN (U.S. Individual Taxpayer Identification Number)
167180
* PTIN (U.S. Preparer Tax Identification Number)
168181
* RTN (Routing transport number)
169182
* SSN (U.S. Social Security Number)
170183
* TIN (U.S. Taxpayer Identification Number)
184+
* RUT (Registro Único Tributario, Uruguay tax number)
185+
* RIF (Registro de Identificación Fiscal, Venezuelan VAT number)
186+
* TIN (South African Tax Identification Number)
171187

172188
Furthermore a number of generic check digit algorithms are available:
173189

docs/index.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ Available formats
100100
.. autosummary::
101101
:toctree:
102102

103+
ad.nrt
103104
al.nipt
104105
ar.cbu
105106
ar.cuit
@@ -130,6 +131,9 @@ Available formats
130131
cl.rut
131132
cn.ric
132133
co.nit
134+
cr.cpf
135+
cr.cpj
136+
cr.cr
133137
cu.ni
134138
cusip
135139
cy.vat
@@ -182,11 +186,13 @@ Available formats
182186
gr.amka
183187
gr.vat
184188
grid
189+
gt.nit
185190
hr.oib
186191
hu.anum
187192
iban
188193
ie.pps
189194
ie.vat
195+
il.idnr
190196
imei
191197
imo
192198
imsi
@@ -204,6 +210,8 @@ Available formats
204210
issn
205211
it.codicefiscale
206212
it.iva
213+
jp.cn
214+
kr.rrn
207215
lei
208216
lt.asmens
209217
lt.pvm
@@ -230,10 +238,14 @@ Available formats
230238
no.mva
231239
no.orgnr
232240
nz.bankaccount
241+
nz.ird
242+
pe.cui
243+
pe.ruc
233244
pl.nip
234245
pl.pesel
235246
pl.regon
236247
pt.nif
248+
py.ruc
237249
ro.cf
238250
ro.cnp
239251
rs.pib
@@ -246,13 +258,17 @@ Available formats
246258
sk.rc
247259
sm.coe
248260
tr.tckimlik
261+
tr.vkn
249262
us.atin
250263
us.ein
251264
us.itin
252265
us.ptin
253266
us.rtn
254267
us.ssn
255268
us.tin
269+
uy.rut
270+
ve.rif
271+
za.tin
256272

257273

258274
Changes in python-stdnum

docs/stdnum.ad.nrt.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.ad.nrt
2+
=============
3+
4+
.. automodule:: stdnum.ad.nrt
5+
:members:

docs/stdnum.cr.cpf.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.cr.cpf
2+
=============
3+
4+
.. automodule:: stdnum.cr.cpf
5+
:members:

docs/stdnum.cr.cpj.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.cr.cpj
2+
=============
3+
4+
.. automodule:: stdnum.cr.cpj
5+
:members:

docs/stdnum.cr.cr.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.cr.cr
2+
============
3+
4+
.. automodule:: stdnum.cr.cr
5+
:members:

docs/stdnum.gt.nit.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.gt.nit
2+
=============
3+
4+
.. automodule:: stdnum.gt.nit
5+
:members:

docs/stdnum.il.idnr.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.il.idnr
2+
==============
3+
4+
.. automodule:: stdnum.il.idnr
5+
:members:

0 commit comments

Comments
 (0)
0