arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
502 stars 211 forks source link

Handelsregister numbers with Xjustiz-ID #152

Open kkaiser opened 5 years ago

kkaiser commented 5 years ago

Hi,

instead of using the name of the trade register would it be possible to use the Xjustiz-ID or the EUID in a format function. The codes for all German registers can be found here: https://www.ecb.europa.eu/stats/money/aggregates/anacredit/shared/pdf/List_of_national_identifiers.xlsx The excel file is lacking courts that were renamed (Bremen früher Bremen HRB 18423 == H1101_H1101_HRB18423). I'm not sure if there is a better list somewhere else that can be saved into machine readable format except for the OpenCorporates data that uses this identifier. Here is an example how a company is shown in BRIS:

EPAK GmbH (main name)   Germany     Leipzig, Germany    HRB33517    Gesellschaft mit beschränkter Haftung   U1308   DEU1308.HRB33517

U1308 is the Xjustiz-ID of Amtsgericht Leipzig the EUID just adds the country code DE in front. This would be more useful to store the verified numbers as unique identifiers.

Thanks for this great library!