Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Estonian company data from business registry #1851

Closed
vohmar opened this issue Feb 11, 2021 · 1 comment · Fixed by #2040
Closed

Validate Estonian company data from business registry #1851

vohmar opened this issue Feb 11, 2021 · 1 comment · Fixed by #2040

Comments

@vohmar
Copy link
Contributor

vohmar commented Feb 11, 2021

  • Goes for companies with ident type org and ident country code EE
  • Download (and insert into database?) business registry data from open data source (available in ziped csv and xml formats):
    https://avaandmed.rik.ee/andmed/ARIREGISTER/
  • Company data is checked on creating new contact object, adding contact object to a domain, renewing domains related to the contact object, updating domain and contact objects

Looking for cases where

  • company status is not R - registered or L - liquidation (need separate ticket for handling companies in liquidation process - L)
  • company not found

Result:

  • all domains related to the contact objects with the problematic company registry nr will be set to soft ForceDelete
  • in case of bankrupt companies the email template chosen would be for the ended organizations
  • new template is required for the other cases including where company is not found
  • update the name of all contact objects where the name does not match the one found in business registry data
@vohmar
Copy link
Contributor Author

vohmar commented Jun 15, 2021

to start with we should compare the registry data against business registry open data to list the companies not found without setting force delete straight away- separate script like was done in case of email validation (#2029)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant