Company related persons

Method: GET /company/{registryCode}/relatedPersons

OpenAPI/Swagger: https://ar-rest.rik.ee/docs#/Company/get_company_related_persons

Returns data about persons related to the company – management board members, shareholders, stockholders, procurators, supervisory board members and other related persons. Includes representation rights information, persons entered on the card, ownership data. Suitable for company background checks and related person overviews.

Path parameters

Parameter Type Required Description
registryCode integer Required Registry code of the company.

Query parameters

Parameter Type Required Description
onlyValid boolean Optional Display only valid data. Default: true.

Header parameters

Parameter Type Required Description
apiVersion ApiVersions Optional Api version header Default: "V1"; Allowed values: ["V1"]; Supported versions: ["V1"].
acceptLanguage AcceptLanguage Optional Language of translations of classifiers (est-Estonian, eng-English) Default: "est"; Allowed values: ["est", "eng"].

Response schema

CompanyRelatedPersonsResponse

Field Type Description
legalEntityName string Required. Company Business Name
registryCode integer Required. Company registration code
companyId integer Required. Internal Company ID
vatID string | null VAT identification number
relatedPersons DetailDataRelatedPersons | null Related persons

DetailDataRelatedPersons

Field Type Description
representationRights RepresentationRights Required. Representation rights
personsOnCard array[PersonsOnCard] | null Required. Persons entered on the card
representationRightNormalRulings array[RepresentationRightNormalRuling] | null Normal ruling of the right of representation
representationRightSpecialConditions array[RecordType] | null Special conditions for the right of representation
partialPledgesAndTransfers array[DetailDataPartialPledge] | null Partial pledges and conditional transfers
shareholders array[NonCardRelatedPerson] | null Shareholders
nonCardRelatedPersons array[NonCardRelatedPerson] | null Related persons not on the card
buildingAssociationMembers array[BuildingAssociationMember] | null Building association members

RepresentationRights

Field Type Description
persons array[RepresentationRightsPerson] Required. Persons
representationRightSpecialConditions array[string] Required. Special conditions for the right of representation
representationRightGroups array[RepresentationRightsGroup] Required. Joint representation law groups. Each group shows a combination of persons, all of whom jointly (together) have the right to represent the company. Has meaning especially if the representatives do not have the right of exclusive representation.

RepresentationRightsPerson

Field Type Description
firstName string | null First name
surnameLegalEntityName string Required. Family name or Business name
entityCode string | null Personal code or Company Code
entityCodeCountry string Required. Country of the Entity Code (ISO 3166-1 alpha-3)
entityCodeCountryAsText string | null Country of the Entity Code as text
birthday string (date) | null Date of birth
personType string Required. Person Type
role string Required. Role of the person
roleAsText string Required. Role as Text
exclusiveRightOfRepresentation boolean | null Existence of exclusive right of representation

RepresentationRightsGroup

Field Type Description
groupNumber integer Required. Group number
persons array[RepresentationRightsPerson] Required. Persons in the group

PersonsOnCard

Field Type Description
person PersonRolesInfo Required. Person roles information
address FullAddress Required. Full address
is_gov_institution boolean | null Is government institution
company_registry_status string | null Juridical person's registry status
has_active_tradebans boolean | null Does the person have active trade bans
expirationDate string (date) | null Expiration Date
email string | null E-mail address
cardNumber integer (int64) | null Card number
cardType string | null Card type
entryNumber integer (int64) | null Entry number
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

PersonRolesInfo

Field Type Description
role string Required. Person Role
roleAsText string Required. Person role as text
startDate string (date) | null Connection start date
endDate string (date) | null Connection end date
type string Required. Person Type
firstName string | null First name
surnameLegalEntityName string Required. Family name or business name
identityCode string | null Required. ID code or registry code
foreignCode string | null Foreign ID code
foreignCodeCountry string | null Country of Foreign ID code
foreignCodeCountryAsText string | null Country of foreign ID code as text
birthday string (date) | null Date of birth
share ShareData | null Share ownership data (O, OSAN, S)

FullAddress

Field Type Description
country string | null Country
countryAsText string | null Country as text
address string | null Address
postalCode string | null Zip code
ehak string | null EHAK code Minimum length: 1.
ehakAsText string | null EHAK as text Minimum length: 1.
adsAdobId string | null Address: ADOBID
adsNormalizedFullAddressSuffix string | null Normalized ADS address text suffix (e.g. mailbox number)
adsType string | null Address type: 0 - fullADS, 1 - semiADS, 2 - noADS
adsOid string | null Address: ADS OID
adrId integer | null Address: ADR ID
adsNormalizedFullAddress string | null Address: ADS normalized full address
adsCodeAddress string | null Address: ADS code address
loadingDate string (date) | null Date of loading data from KR

RepresentationRightNormalRuling

Field Type Description
role string Required. Role of the person
content string Required. Content

RecordType

Field Type Description
type string | null Type
typeAsText string | null Type as text
content string | null Content
cardNumber integer (int64) | null Card number
cardType string | null Card type
entryNumber integer (int64) | null Entry number
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

DetailDataPartialPledge

Field Type Description
partialPledgesORTransfers string Required. Partial pledge or conditional transfer
owner PersonTypeInfo Required. Owner information
size number (double) | null Part size
rank integer (int64) | null Partial pledge ranking
description string | null Partial pledge description
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

PersonTypeInfo

Field Type Description
type string Required. Person Type
firstName string | null First name
surnameLegalEntityName string Required. Family name or business name
identityCode string | null ID code or registry code
foreignCode string | null Foreign ID code
foreignCodeCountry string | null Country of Foreign ID code
foreignCodeCountryAsText string | null Country of foreign ID code as text
birthday string (date) | null Date of birth

NonCardRelatedPerson

Field Type Description
person PersonRolesInfo Required. Person roles information
email string | null E-mail address
address FullAddress Required. Full address
is_gov_institution boolean | null Is government institution
company_registry_status string | null Juridical person's registry status
has_active_tradebans boolean | null Does the person have active trade bans
sharePercentage number (double) | null Share Percentage
shareSize number (double) | null Share Size
shareCurrency string | null Share currency
shareCurrencyAsText string | null Share Currency as text
shareOwnershipType string | null Type of Ownership
shareOwnershipTypeAsText string | null Ownership type as text
shareFractionNumerator integer (int64) | null Fraction numerator
shareFractionDenominator integer (int64) | null Fraction denominator
expirationDate string (date) | null Expiration Date
authoritySource string | null Authority Source
authoritySourceAsText string | null Authority source as text
authoritySourceDate string (date) | null Authority Source Date
groupId integer (int64) | null Group ID
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

BuildingAssociationMember

Field Type Description
membershipNumber string Required. Membership Number
area number (float) | null Area
taxRateNumerator integer (int64) | null Tax rate numerator
taxRateDenominator integer (int64) | null Tax rate denominator
members array[BuildingAssociationParticipant] Required. Building association members
restrictions array[BuildingAssociationRestriction] Required. Building association restrictions
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

BuildingAssociationParticipant

Field Type Description
person PersonTypeInfo Required. Person information
contribution number (float) | null Installment
email string | null E-mail address
address FullAddress Required. Full address
ownershipType string Required. Type of Ownership
ownershipTypeAsText string | null Ownership type as text
fractionNumerator integer (int64) | null Fraction numerator
fractionDenominator integer (int64) | null Fraction denominator
groupId integer (int64) | null Group ID
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

BuildingAssociationRestriction

Field Type Description
type string Required. Type
typeAsText string Required. Type as text
content string Required. Content
recordId integer (int64) | null ID
startDate string (date) | null Start date
endDate string (date) | null Ending date

CustomValidationError

Field Type Description
message string Required. Error message
code APIError Required. Error code. Allowed values: 2001, 4030, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049.
id string | null Required. Error identifier
timestamp string (date-time) Error timestamp

HTTPValidationError

Field Type Description
detail array[ValidationError] List of validation errors

ShareData

Field Type Description
sharePercentage number (double) | null Share Percentage
shareSize number (double) | null Share Size
shareCurrencyAsText string | null Share Currency as text

ValidationError

Field Type Description
loc array[string | integer] Required. Location of the error in the request
msg string Required. Error message
type string Required. Error type
input any Input that caused the validation error. The type is unrestricted.
ctx object Additional error context

Responses

200 OK

Successful request – a management board member with a normal representation rule and a sole shareholder. Representation rights are determined from the returned rights and conditions, not from the role code alone.

{
 "legalEntityName": "NÄIDIS OÜ",
 "registryCode": 12345678,
 "companyId": 987654,
 "vatID": "EE101234567",
 "relatedPersons": {
 "representationRights": {
 "persons": [
 {
 "firstName": "Mari",
 "surnameLegalEntityName": "Maasikas",
 "entityCode": "48503151233",
 "entityCodeCountry": "EST",
 "birthday": "1985-03-15",
 "personType": "F",
 "role": "JUHL",
 "roleAsText": "Management board member",
 "exclusiveRightOfRepresentation": true,
 "entityCodeCountryAsText": "Estonia"
 }
 ],
 "representationRightSpecialConditions": [],
 "representationRightGroups": []
 },
 "personsOnCard": [
 {
 "person": {
 "role": "JUHL",
 "roleAsText": "Management board member",
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "F",
 "firstName": "Mari",
 "surnameLegalEntityName": "Maasikas",
 "identityCode": "48503151233",
 "foreignCode": null,
 "foreignCodeCountry": null,
 "foreignCodeCountryAsText": null,
 "birthday": "1985-03-15"
 },
 "address": {},
 "expirationDate": null,
 "email": "[email protected]",
 "cardNumber": 1,
 "cardType": "R",
 "entryNumber": 1,
 "recordId": 111222,
 "startDate": "2024-05-15",
 "endDate": null
 }
 ],
 "representationRightNormalRulings": [
 {
 "role": "JUHL",
 "content": "Every member of the Management Board may represent the private limited company in concluding all transactions."
 }
 ],
 "representationRightSpecialConditions": null,
 "partialPledgesAndTransfers": null,
 "shareholders": [
 {
 "person": {
 "role": "OSAN",
 "roleAsText": "Shareholder",
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "F",
 "firstName": "Mari",
 "surnameLegalEntityName": "Maasikas",
 "identityCode": "48503151233",
 "foreignCode": null,
 "foreignCodeCountry": null,
 "foreignCodeCountryAsText": null,
 "birthday": "1985-03-15",
 "share": {
 "sharePercentage": 100.0,
 "shareSize": 2500.0,
 "shareCurrencyAsText": "euro"
 }
 },
 "address": {},
 "sharePercentage": 100.0,
 "shareSize": 2500.0,
 "shareCurrency": "EUR",
 "shareCurrencyAsText": "euro",
 "shareOwnershipType": "L",
 "shareOwnershipTypeAsText": "Sole ownership",
 "shareFractionNumerator": null,
 "shareFractionDenominator": null,
 "expirationDate": null,
 "authoritySource": null,
 "authoritySourceAsText": null,
 "authoritySourceDate": null,
 "groupId": null,
 "recordId": 111333,
 "startDate": "2024-05-15",
 "endDate": null
 }
 ],
 "nonCardRelatedPersons": null,
 "buildingAssociationMembers": null
 }
}
200 OK (Multiple Roles)

Successful request – an exception to the normal representation rule, with a foreign management board member and a supervisory board member.

{
 "legalEntityName": "SUUR ETTEVÕTE AS",
 "registryCode": 10000001,
 "companyId": 123456,
 "vatID": "EE100000001",
 "relatedPersons": {
 "representationRights": {
 "persons": [
 {
 "firstName": "Jüri",
 "surnameLegalEntityName": "Juurikas",
 "entityCode": "38006201232",
 "entityCodeCountry": "EST",
 "birthday": "1980-06-20",
 "personType": "F",
 "role": "JUHL",
 "roleAsText": "Management board member",
 "exclusiveRightOfRepresentation": true,
 "entityCodeCountryAsText": "Estonia"
 },
 {
 "firstName": "Anna",
 "surnameLegalEntityName": "Aedmaasikas",
 "entityCode": "49011251238",
 "entityCodeCountry": "EST",
 "birthday": "1990-11-25",
 "personType": "F",
 "role": "JUHL",
 "roleAsText": "Management board member",
 "exclusiveRightOfRepresentation": false,
 "entityCodeCountryAsText": "Estonia"
 },
 {
 "firstName": "Erik",
 "surnameLegalEntityName": "Esimerkki",
 "entityCode": "FI-EXAMPLE-001",
 "entityCodeCountry": "FIN",
 "birthday": "1988-08-12",
 "personType": "F",
 "role": "JUHL",
 "roleAsText": "Management board member",
 "exclusiveRightOfRepresentation": false,
 "entityCodeCountryAsText": "Finland"
 }
 ],
 "representationRightSpecialConditions": [
 "The company may be represented by Jüri Juurikas alone or by Anna Aedmaasikas and Erik Esimerkki jointly."
 ],
 "representationRightGroups": [
 {
 "groupNumber": 1,
 "persons": [
 {
 "firstName": "Anna",
 "surnameLegalEntityName": "Aedmaasikas",
 "entityCode": "49011251238",
 "entityCodeCountry": "EST",
 "birthday": "1990-11-25",
 "personType": "F",
 "role": "JUHL",
 "roleAsText": "Management board member",
 "exclusiveRightOfRepresentation": false,
 "entityCodeCountryAsText": "Estonia"
 },
 {
 "firstName": "Erik",
 "surnameLegalEntityName": "Esimerkki",
 "entityCode": "FI-EXAMPLE-001",
 "entityCodeCountry": "FIN",
 "birthday": "1988-08-12",
 "personType": "F",
 "role": "JUHL",
 "roleAsText": "Management board member",
 "exclusiveRightOfRepresentation": false,
 "entityCodeCountryAsText": "Finland"
 }
 ]
 }
 ]
 },
 "personsOnCard": [
 {
 "person": {
 "role": "JUHL",
 "roleAsText": "Management board member",
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "F",
 "firstName": "Jüri",
 "surnameLegalEntityName": "Juurikas",
 "identityCode": "38006201232",
 "foreignCode": null,
 "foreignCodeCountry": null,
 "foreignCodeCountryAsText": null,
 "birthday": "1980-06-20"
 },
 "address": {},
 "expirationDate": null,
 "email": null,
 "cardNumber": 1,
 "cardType": "R",
 "entryNumber": 3,
 "recordId": 222111,
 "startDate": "2024-05-15",
 "endDate": null
 },
 {
 "person": {
 "role": "JUHL",
 "roleAsText": "Management board member",
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "F",
 "firstName": "Anna",
 "surnameLegalEntityName": "Aedmaasikas",
 "identityCode": "49011251238",
 "foreignCode": null,
 "foreignCodeCountry": null,
 "foreignCodeCountryAsText": null,
 "birthday": "1990-11-25"
 },
 "address": {},
 "expirationDate": null,
 "email": null,
 "cardNumber": 1,
 "cardType": "R",
 "entryNumber": 3,
 "recordId": 222114,
 "startDate": "2024-05-15",
 "endDate": null
 },
 {
 "person": {
 "role": "JUHL",
 "roleAsText": "Management board member",
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "F",
 "firstName": "Erik",
 "surnameLegalEntityName": "Esimerkki",
 "identityCode": null,
 "foreignCode": "FI-EXAMPLE-001",
 "foreignCodeCountry": "FIN",
 "foreignCodeCountryAsText": "Finland",
 "birthday": "1988-08-12"
 },
 "address": {},
 "expirationDate": null,
 "email": null,
 "cardNumber": 1,
 "cardType": "R",
 "entryNumber": 3,
 "recordId": 222115,
 "startDate": "2024-05-15",
 "endDate": null
 }
 ],
 "shareholders": null,
 "nonCardRelatedPersons": [
 {
 "person": {
 "role": "N",
 "roleAsText": "Member of the supervisory board",
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "F",
 "firstName": "Peeter",
 "surnameLegalEntityName": "Porgand",
 "identityCode": "37502071230",
 "foreignCode": null,
 "foreignCodeCountry": null,
 "foreignCodeCountryAsText": null,
 "birthday": "1975-02-07"
 },
 "address": {},
 "expirationDate": null,
 "email": null,
 "recordId": 222112,
 "startDate": "2024-05-15",
 "endDate": null
 }
 ],
 "representationRightSpecialConditions": [
 {
 "content": "The company may be represented by Jüri Juurikas alone or by Anna Aedmaasikas and Erik Esimerkki jointly.",
 "cardType": "R",
 "cardNumber": 1,
 "entryNumber": 3,
 "startDate": "2024-05-15",
 "endDate": null,
 "type": "YHESJ",
 "typeAsText": "Requirements for the joint right of representation of the management board or a body substituting for the management board",
 "recordId": 222116
 }
 ],
 "representationRightNormalRulings": [
 {
 "role": "JUHL",
 "content": "Every member of the Management Board may represent the public limited company in concluding all transactions."
 }
 ]
 }
}
403 Forbidden

Access to the service is denied. OpenAPI does not specify a response body schema.

404 Not Found

Illustrative error response. Code 4041 is allowed by the APIError enum; OpenAPI does not define its meaning.

{
 "message": "Company not found",
 "code": 4041,
 "id": "abc123-def456"
}
422 Validation Error

Invalid request – registry code does not meet the requirements.

{
 "detail": [
 {
 "loc": [
 "path",
 "registryCode"
 ],
 "msg": "value is not a valid integer",
 "type": "type_error.integer"
 }
 ]
}