Legal Entities
Create new legal entity
Unique global identifier for legal entities participating in financial transactions
^\d{4}[0]{2}[A-Z\d]{12}\d{2}$
The legal name of the entity
LegalFormEnum
Country code in ISO 3166-1 alpha-2 standard
Number at which the company is registered
An administrative court in which the company was registered
An administrative court zip code in which the company was registered
The date on which the entity was registered
The date on which the entity was founded
The value-added tax id of the legal entity
The purpose of the legal entity
The tax number of the legal entity
Determine whether the shares of that company are on the list (or board) of stock that are officially traded on a stock exchange
Determine where the shares of that company are officially traded on a stock exchange. Only when entity is listed
Average profit for the year (after tax)
Average revenue for the year
Liquid assets
Last annual financial statement date
External Id in partner's system. This value has to be unique
OK
Bad Request
Conflict
Not Implemented
POST /entities/legal-entities HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1167
{
"legalEntityIdentifier": "text",
"legalName": "text",
"legalForm": "LIMITED_LIABILITY_COMPANY",
"naceSectors": [
{
"section": "text",
"code": "text",
"description": "text"
}
],
"registerCountry": "AF",
"registerNumber": "text",
"registerCourt": "text",
"registerCourtZipCode": "text",
"registeredOn": "2025-08-30",
"foundedOn": "2025-08-30",
"vatId": "text",
"purpose": "text",
"mainAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"correspondenceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"invoiceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"contact": {
"phone": "text",
"email": "text",
"fax": "text",
"website": "text"
},
"searchId": "123e4567-e89b-12d3-a456-426614174000",
"taxNumber": "text",
"isListed": true,
"listedAt": "text",
"averageProfit": 1,
"averageRevenue": 1,
"liquidAssets": 1,
"lastAnnualFinancialStatement": "2025-08-30",
"fatcaCrsDeclaration": {
"isForeignTaxResidency": true,
"isSanctionedCountries": true,
"fatcaClassification": "ACTIVE_NFE",
"activeNfeType": "LE_BY_INCOME_ASSETS"
},
"externalId": "text"
}
{
"legalEntityId": "123e4567-e89b-12d3-a456-426614174000"
}
Get legal entities
String value used for pagination
Maximum number of items to return
20
Legal entity status Filter
OK
Bad Request
Not Implemented
GET /entities/legal-entities HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"data": [
{
"legalEntityId": "123e4567-e89b-12d3-a456-426614174000",
"globalId": "text",
"lei": {
"legalEntityIdentifier": "text",
"leiStatus": "ISSUED",
"leiValidUntil": "2025-08-30"
},
"createdOn": "2025-08-30T17:48:40.388Z",
"modifiedOn": "2025-08-30T17:48:40.388Z",
"verifiedOn": "2025-08-30T17:48:40.388Z",
"isSanction": true,
"riskLevel": "LOW",
"legalEntityStatus": "CREATED",
"legalName": "text",
"legalForm": "LIMITED_LIABILITY_COMPANY",
"naceSectors": [
{
"section": "text",
"code": "text",
"description": "text"
}
],
"registerCountry": "AF",
"registerNumber": "text",
"registerCourt": "text",
"registerCourtZipCode": "text",
"registeredOn": "2025-08-30",
"foundedOn": "2025-08-30",
"vatId": "text",
"purpose": "text",
"mainAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"correspondenceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"invoiceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"contact": {
"phone": "text",
"email": "text",
"fax": "text",
"website": "text"
},
"searchId": "123e4567-e89b-12d3-a456-426614174000",
"taxNumber": "text",
"isListed": true,
"listedAt": "text",
"averageProfit": 1,
"averageRevenue": 1,
"liquidAssets": 1,
"lastAnnualFinancialStatement": "2025-08-30",
"fatcaCrsDeclaration": {
"isForeignTaxResidency": true,
"isSanctionedCountries": true,
"fatcaClassification": "ACTIVE_NFE",
"activeNfeType": "LE_BY_INCOME_ASSETS"
},
"externalId": "text"
}
],
"pagination": {
"cursor": "text",
"limit": 1
}
}
Get legal entity
Legal Entity ID
OK
Bad Request
Not Found
Not Implemented
GET /entities/legal-entities/{legalEntityId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"legalEntityId": "123e4567-e89b-12d3-a456-426614174000",
"globalId": "text",
"lei": {
"legalEntityIdentifier": "text",
"leiStatus": "ISSUED",
"leiValidUntil": "2025-08-30"
},
"createdOn": "2025-08-30T17:48:40.388Z",
"modifiedOn": "2025-08-30T17:48:40.388Z",
"verifiedOn": "2025-08-30T17:48:40.388Z",
"isSanction": true,
"riskLevel": "LOW",
"legalEntityStatus": "CREATED",
"legalName": "text",
"legalForm": "LIMITED_LIABILITY_COMPANY",
"naceSectors": [
{
"section": "text",
"code": "text",
"description": "text"
}
],
"registerCountry": "AF",
"registerNumber": "text",
"registerCourt": "text",
"registerCourtZipCode": "text",
"registeredOn": "2025-08-30",
"foundedOn": "2025-08-30",
"vatId": "text",
"purpose": "text",
"mainAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"correspondenceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"invoiceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"contact": {
"phone": "text",
"email": "text",
"fax": "text",
"website": "text"
},
"searchId": "123e4567-e89b-12d3-a456-426614174000",
"taxNumber": "text",
"isListed": true,
"listedAt": "text",
"averageProfit": 1,
"averageRevenue": 1,
"liquidAssets": 1,
"lastAnnualFinancialStatement": "2025-08-30",
"fatcaCrsDeclaration": {
"isForeignTaxResidency": true,
"isSanctionedCountries": true,
"fatcaClassification": "ACTIVE_NFE",
"activeNfeType": "LE_BY_INCOME_ASSETS"
},
"externalId": "text"
}
Update legal entity
Legal Entity ID
Unique requestor identification in UUID format
Average profit for the year (after tax)
Average revenue for the year
Liquid assets
Last annual financial statement date
External Id in partner's system. This value has to be unique
Accepted
No content
Bad Request
Not Implemented
PATCH /entities/legal-entities/{legalEntityId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Requestor-ID: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 492
{
"averageProfit": 1,
"averageRevenue": 1,
"liquidAssets": 1,
"lastAnnualFinancialStatement": "2025-08-30",
"mainAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"correspondenceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"invoiceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"externalId": "text"
}
No content
This operation requests a fuzzy search for a legal entity by the company name and the country in which it was registered. The name does not have to be complete and will return a list of companies that most closely match the search criteria.
Legal name
provider id
OK
Bad Request
Not Found
Not Implemented
GET /entities/vendor/legal-entities HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"address": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"businessOfficeType": "Headquarters",
"legalForm": "GMBH",
"name": "Hummel Dienstleistungsgesellschaft mbH",
"providerId": 727420,
"registerCourt": "Kassel",
"registrationNumber": "HRB 205873"
}
]
This operation requests preparation of data for a legal entity by its full name and the country in which was registered. As a result of the operation, a unique search id is returned, which can be used on other endpoints. The outcome of the matching will be presented for review on the Get Legal Entity By Search Id endpoint. The result can be discarded and all company details can be filled in manually or the result can be accepted and the company can be created on the Create Legal Entity Customer - search based endpoint. This endpoint will, among others, automatically pull company documents from public registers. As this might not always succeed, it is recommended to call this endpoint multiple times in case of failure.
The name of the company
The provider id of the company
OK
Bad Request
Not Implemented
POST /entities/vendor/legal-entities HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"companyName": "text",
"providerId": "text"
}
{
"searchId": "123e4567-e89b-12d3-a456-426614174000"
}
Get legal entity search result
Search ID
OK
Bad Request
Not Found
Not Implemented
GET /entities/vendor/legal-entities/{searchId} HTTP/1.1
Host: tvda-api.platform-test.tradevest.ai
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"search": {
"searchId": "123e4567-e89b-12d3-a456-426614174000",
"status": "WAITING_FOR_DATA",
"documentTypes": [
"KYC"
]
},
"legalEntity": {
"legalName": "text",
"legalForm": "LIMITED_LIABILITY_COMPANY",
"naceSectors": [
{
"section": "text",
"code": "text",
"description": "text"
}
],
"registerCountry": "AF",
"registerNumber": "text",
"registerCourt": "text",
"registerCourtZipCode": "text",
"registeredOn": "2025-08-30",
"foundedOn": "2025-08-30",
"vendorRecordId": "text",
"legalEntityIdentifier": "text",
"purpose": "text",
"vatId": "text",
"mainAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"correspondenceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"invoiceAddress": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
},
"contact": {
"phone": "text",
"email": "text",
"fax": "text",
"website": "text"
}
},
"legalRepresentatives": [
{
"firstName": "text",
"lastName": "text",
"gender": "MALE",
"birthDay": "2025-08-30",
"birthPlace": "text",
"academicDegree": "text",
"title": "text",
"position": "MANAGING_DIRECTOR",
"taxId": "text",
"representationCompetence": "text",
"nationalities": [
"AF"
],
"address": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
}
}
],
"beneficialOwners": [
{
"firstName": "text",
"lastName": "text",
"gender": "MALE",
"birthDay": "2025-08-30",
"birthPlace": "text",
"academicDegree": "text",
"title": "text",
"taxId": "text",
"scope": "text",
"representationCompetence": "text",
"share": 1,
"nationalities": [
"AF"
],
"address": {
"street": "text",
"streetNumber": "text",
"city": "text",
"zip": "text",
"country": "AF",
"additionalInfo": "text"
}
}
],
"documents": [
{
"contentType": "text",
"documentId": "text",
"documentType": "KYC",
"length": 1,
"name": "text",
"timestamp": null
}
]
}
Last updated