Skip to content

Releases: arthurdejong/python-stdnum

1.20

17 Mar 21:49
1.20
201d4d1
Compare
Choose a tag to compare

changes from 1.19 to 1.20

  • Add modules for the following number formats:

    • BC PHN (British Columbia Personal Health Number) (thanks Ömer Boratav)
    • EC Number (European Community number) (thanks Daniel Weber)
    • VID (Indian personal virtual identity number) (thanks Atul Deolekar)
  • Fix typo in German Umsatzsteur Identifikationnummer (thanks Александр Кизеев)

  • Ensure EU VAT numbers don't accept duplicate country codes

  • Fix vatin number compacting for "EU" VAT numbers (thanks Davide Walder)

  • Add check digit validation to French NIF (thanks Kevin Dagostino)

  • Fix Ukrainian EDRPOU check digit calculation (thanks sector119)

1.19

20 Aug 15:21
1.19
fa455fc
Compare
Choose a tag to compare

changes from 1.18 to 1.19

  • Add modules for the following number formats:

    • Tax Registration Number (الرقم الضريبي, Egypt tax number) (thanks Leandro Regueiro)
    • Postcode (the Spanish postal code) (thanks Víctor)
    • NIFp (Numéro d'Identification Fiscale Permanent, Guinea tax number)
      (thanks Leandro Regueiro)
    • BIS (Belgian BIS number) (thanks Jeff Horemans)
    • Matična številka poslovnega registra (Corporate Registration Number) (thanks Blaž Bregar)
    • OSS (European VAT on e-Commerce - One Stop Shop) (thanks Sergi Almacellas Abellana)
  • Extend the validation of the Albanian NIPT (NUIS) number (thanks Julien Launois)

  • Support different date formats in parsing GS1-128 application identifiers

  • Add get_county() function to Romanian CNP (thanks RaduBorzea)

  • Add functionality to get gender from Belgian National Number (thanks Jeff Horemans)

  • Add support for Finland HETU new century indicating signs (thanks Maks Turtiainen)

  • Add functionality to get (partial) birth date from Belgian National Number
    (thanks Jeff Horemans)

  • Extend validation of Canadian SIN (thanks Marcel Lecker)

  • Fix Belarusian UNP online validation

  • Various typo and documentation fixes (thanks valeriko, Dimitri Papadopoulos,
    Ali-Akber Saifee and Chales Horn)

  • Add contribution information to documentation

  • Test suite improvements (including checking file headers)

1.18

13 Nov 19:28
1.18
60a90ed
Compare
Choose a tag to compare

changes from 1.17 to 1.18

  • Add modules for the following number formats:

    • NN, NISS (Belgian national number) (thanks Cédric Krier)
    • CFI (ISO 10962 Classification of Financial Instruments)
    • Czech bank account number (thanks Petr Přikryl)
    • NIF, sometimes N.I.F. (Numéro d'Identification Fiscale, Algeria tax number)
      (thanks Leandro Regueiro)
    • V-number (Vinnutal, Faroe Islands tax number) (thanks Leandro Regueiro)
    • TIN (Taxpayer Identification Number, Ghana tax number) (thanks Leandro Regueiro)
    • PIN (Personal Identification Number, Kenya tax number) (thanks Leandro Regueiro)
    • ICE (Identifiant Commun de l’Entreprise, التعريف الموحد للمقاولة, Morocco tax number)
      (thanks Leandro Regueiro)
    • PIB (Poreski Identifikacioni Broj, Montenegro tax number) (thanks Leandro Regueiro)
    • ЕДБ (Едниствен Даночен Број, North Macedonia tax number) (thanks Leandro Regueiro)
    • CNIC number (Pakistani Computerised National Identity Card number)
      (thanks Syed Haseeb Shah)
    • Enotna matična številka občana (Unique Master Citizen Number)
      (thanks Blaž Bregar)
    • MF (Matricule Fiscal, Tunisia tax number) (thanks Leandro Regueiro)
  • Fix disabling check digit validation of Mexican CURP (thanks guyskk)

  • Support special validation of La Post SIRET (thanks BIGBen99 and Cédric Krier)

  • Fix support for "I" and "O" in CUSIP number (thanks Thomas Kavanagh)

  • Calculate ISO 7064 Mod 97, 10 check digits in the range 02-98 for IBAN
    (thanks David Svenson)

  • Fix German OffeneRegister lookups (change of URL and of data structure)

  • Add extra court alias for Berlin in German Handelsregisternummer (thanks Romuald R)

  • Ensure certificate for the Belarus VAT number check_nalog() lookup is included

  • Support parsing incomplete dates in GS1-128 (thanks Alexis de Lattre)

  • Improve validation of CAS Registry Number

  • Typo fixes (thanks Vladimir and Dimitri Papadopoulos)

  • Add a check_uid() function to the stdnum.ch.uid module

  • All validation exceptions should now inherit from ValueError

  • Switch from nose to pytest as test runner

1.17

03 Oct 15:21
1.17
Compare
Choose a tag to compare

changes from 1.16 to 1.17

  • Add modules for the following number formats:

    • EPIC (Electoral Photo Identity Card, Indian Voter ID) (thanks Gaurav Chauhan)
    • GSTIN (Goods and Services Tax identification number, Indian VAT number) (thanks Gaurav Chauhan)
    • ISRC (International Standard Recording Code) (thanks Nuno André)
    • CC (Número de Cartão de Cidadão, Portuguese Identity number) (thanks David Vaz)
    • Postcode (the Swedish postal code) (thanks Michele Ciccozzi)
    • MOA (Thailand Memorandum of Association Number) (thanks Piruin Panichphol)
    • PIN (Thailand Personal Identification Number) (thanks Piruin Panichphol)
    • TIN (Thailand Taxpayer Identification Number) (thanks Piruin Panichphol)
  • Add ENCF validation support for Dominican Republic NCF (thanks Cristopher Ortega)

  • Add new e-CF types to Dominican Republic NCF (thanks Frank Roberto Chavez Sosa)

  • Improve French NIF validation (thanks Dimitri Papadopoulos)

  • Drop support for Python 2.6 and 3.4

  • Fix parsing of empty fields in Dominican Republic DGII checking (thanks Andres Rodriguez)

  • Fix handling of empty worksheet in Belgian bank download (thanks Dimitri Papadopoulos)

  • Fix detection of natural RUC values (thanks Victor Rodriguez)

  • Fix Belarus VAT number online lookup again

  • Fixes for problems with loading IMSI data from Wikipedia and dealing with inconsistencies

  • Remove South Korean BRN Fair Trade Commission website check due to CAPTCHA

  • Various code and documentation improvements (thanks Dimitri Papadopoulos and Gaurav Chauhan)

1.16

06 Feb 16:34
1.16
Compare
Choose a tag to compare

changes from 1.15 to 1.16

  • Support XI country code for Northern Ireland VAT numbers
    (thanks Alexis de Lattre)
  • Switch data source for Austrian postal codes
    (thanks Bernd Schlapsi)
  • Fix Belarus VAT number online lookup

1.15

11 Jan 22:25
1.15
Compare
Choose a tag to compare

changes from 1.14 to 1.15

  • Add modules for the following number formats:

    • CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
    • PEID (Liechtenstein tax code for individuals and entities)
      (thanks Matthias Schmid)
    • ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
      (thanks Leandro Regueiro)
    • РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
      (thanks Leandro Regueiro)
  • Make list of EU member states part of public API

  • Retain RO prefix in Romanian VAT numbers

  • Support international VAT numbers that are only valid with country prefix

  • Expanded validation for Belgian VAT numbers

  • Use ABN as Australian VAT number

  • Remove GB from EU member states

1.4

09 Aug 16:33
1.14
Compare
Choose a tag to compare
1.4

changes from 1.13 to 1.14

  • Add modules for the following number formats:

    • УНП, UNP (Учетный номер плательщика, the Belarus VAT number)
    • AIC (Italian code for identification of drugs) (thanks Fabrizio Montanari)
    • Company Number (מספר חברה, or short ח.פ. Israeli company number)
      (thanks Leandro Regueiro)
    • NIT (Número de Identificación Tributaria, El Salvador tax number)
      (thanks Leandro Regueiro)
    • USCC (Unified Social Credit Code, 统一社会信用代码, China tax number)
      (thanks Leandro Regueiro)
    • UEN (Singapore's Unique Entity Number) (thanks Leandro Regueiro)
    • BRN (사업자 등록 번호, South Korea Business Registration Number)
      (thanks Leandro Regueiro)
    • MST (Mã số thuế, Vietnam tax number) (thanks Leandro Regueiro)
    • NPWP (Nomor Pokok Wajib Pajak, Indonesian VAT Number)
      (thanks Leandro Regueiro)
    • UBN (Unified Business Number, 統一編號, Taiwanese tax number)
      (thanks Leandro Regueiro)
    • UTR (United Kingdom Unique Taxpayer Reference) (thanks Mohammed Salman)
    • ONRC (Ordine din Registrul Comerţului, Romanian Trade Register identifier)
      (thanks dotbit1)
    • GS1-128 (Standard to encode product information in Code 128 barcodes)
      (thanks Sergi Almacellas Abellana)
    • VATIN (International value added tax identification number)
      (thanks Leandro Regueiro)
  • Fix missing Dominican Republic NCF document types (thanks Gustavo Valverde)

  • Fix issue with extra plus or minus in Swedish Personnummer
    (thanks balderman)

  • Update Dominican Republic DGII endpoint (thanks Gustavo Valverde)

  • Support validating temporary Finnish personal identity codes
    (thanks Aleksi Hoffman)

  • Fix misleading docstring in se.personnummer.get_birth_date()
    (thanks Leon Sandøy)

  • Improve birth date validation in Danish CPR (thanks Leon Sandøy)

  • Add birth date validating in Norwegian Fødselsnummer (thanks Leon Sandøy)

  • Add missing vat aliases for a number of countries (thanks Leandro Regueiro)

  • Use HTTPS instead of HTTP fox VIES lookups (thanks grzekru)

  • Switch to HTTPS URLs where possible

  • Support 6 as third digit in Ecuadorian CI (thanks Christopher Ormaza)

  • Add an online check for South Korean BRN

  • Fix unescaping in Dominican Republic RNC online check (thanks evaldez89)

  • Support foreign residents for Romanian CNP (thanks dotbit1)