Legal entity
list
GET /api/v2/legal-entities?searchString=644901490342 HTTP/1.1
Parameter | Description |
---|---|
|
search by inn or shortName all Matches |
|
Is legal entity closed? Default value is false |
|
HTTP/1.1 200 OK
{
"content" : [ {
"id" : 1,
"shortName" : "ИП Валеева Людмила Александровна",
"inn" : "644901490342",
"kpp" : "0",
"ogrn" : "304644929900308",
"okpo" : "0"
} ],
"pageable" : {
"pageNumber" : 0,
"pageSize" : 10,
"sort" : {
"empty" : false,
"sorted" : true,
"unsorted" : false
},
"offset" : 0,
"paged" : true,
"unpaged" : false
},
"last" : true,
"totalElements" : 1,
"totalPages" : 1,
"first" : true,
"size" : 10,
"number" : 0,
"sort" : {
"empty" : false,
"sorted" : true,
"unsorted" : false
},
"numberOfElements" : 1,
"empty" : false
}
Path | Type | Description |
---|---|---|
|
|
The legal entity’s id |
|
|
The legal entity’s short name |
|
|
The legal entity’s inn |
|
|
The legal entity’s kpp |
|
|
The legal entity’s ogrn |
|
|
The legal entity’s okpo |
create
POST /api/v2/legal-entities HTTP/1.1
{
"name" : "ПОКРОВСК-ОПТИКА",
"shortName" : "ООО \"ПОКРОВСК-ОПТИКА ПЛЮС\"",
"inn" : "2605252913",
"ogrn" : "1026401985576",
"kpp" : "6050114874",
"okpo" : "123",
"taxScheme" : "SIMPLE",
"taxDto" : {
"vat" : "NON_TAXABLE",
"startOn" : "2025-06-27"
},
"priceTag" : "123",
"checkTag" : null,
"address" : "894308, Орловская область, город Павловский Посад, спуск Чехова, 73",
"federalSubjectCode" : null,
"city" : null,
"phone" : "3(7497)392-49-56",
"paymentAccount" : "40817810099910004312",
"bankName" : "Тинькофф банк",
"bankIdentificationCode" : "044525974",
"bankCorrespondentAccount" : "234234324"
}
HTTP/1.1 201 Created
Location: /api/v2/legal-entities
{
"id" : 17,
"name" : "ПОКРОВСК-ОПТИКА",
"shortName" : "ООО \"ПОКРОВСК-ОПТИКА ПЛЮС\"",
"inn" : "2605252913",
"ogrn" : "1026401985576",
"kpp" : "6050114874",
"okpo" : "123",
"taxScheme" : "SIMPLE",
"taxDto" : {
"vat" : "NON_TAXABLE",
"startOn" : "2025-06-27"
},
"priceTag" : "123",
"checkTag" : null,
"address" : "894308, Орловская область, город Павловский Посад, спуск Чехова, 73",
"federalSubjectCode" : null,
"city" : null,
"phone" : "3(7497)392-49-56",
"paymentAccount" : "40817810099910004312",
"bankName" : "Тинькофф банк",
"bankIdentificationCode" : "044525974",
"bankCorrespondentAccount" : "234234324",
"closed" : false
}
Path | Type | Description |
---|---|---|
|
|
The legal entity’s id |
|
|
The legal entity’s name |
|
|
The legal entity’s short name |
|
|
The legal entity’s inn |
|
|
The legal entity’s kpp |
|
|
The legal entity’s ogrn |
|
|
The legal entity’s okpo |
|
|
The legal entity’s tax scheme |
|
|
The legal entity’s tax |
|
|
The legal entity’s tax |
|
|
The legal entity’s price tag |
|
|
The legal entity’s check tag |
|
|
The legal entity’s address |
|
|
The legal entity’s phone |
|
|
The legal entity’s payment account |
|
|
The legal entity’s bank name |
|
|
The legal entity’s bank identification code |
|
|
The legal entity’s bank correspondent account |
|
|
The legal entity’s closed status (defaults to false) |
get
GET /api/v2/legal-entities/23 HTTP/1.1
Parameter | Description |
---|---|
|
legalEntityId |
HTTP/1.1 200 OK
{
"id" : 23,
"name" : "ПОКРОВСК-ОПТИКА",
"shortName" : "ООО \"ПОКРОВСК-ОПТИКА ПЛЮС\"",
"inn" : "7473171750",
"ogrn" : "1026401985576",
"kpp" : "4033396386",
"okpo" : "123",
"taxScheme" : "SIMPLE",
"taxDto" : {
"vat" : "NON_TAXABLE",
"startOn" : "2025-06-27"
},
"priceTag" : "123",
"checkTag" : null,
"address" : "894308, Орловская область, город Павловский Посад, спуск Чехова, 73",
"federalSubjectCode" : null,
"city" : null,
"phone" : "3(7497)392-49-56",
"paymentAccount" : "40817810099910004312",
"bankName" : "Тинькофф банк",
"bankIdentificationCode" : "044525974",
"bankCorrespondentAccount" : "234234324",
"closed" : false
}
update
PUT /api/v2/legal-entities/21 HTTP/1.1
{
"name" : "ПОКРОВСК-ОПТИКА1",
"shortName" : "ООО \"ПОКРОВСК-ОПТИКА ПЛЮС1\"",
"inn" : "0046701692",
"ogrn" : "1029991985576",
"kpp" : "8519069823",
"okpo" : "456",
"taxScheme" : "PATENT",
"priceTag" : "4564",
"checkTag" : null,
"address" : "555555, Орловская область, город Павловский Посад, спуск Чехова, 73",
"federalSubjectCode" : null,
"city" : null,
"phone" : "3(7497)777-77-77",
"paymentAccount" : "40777810099910004312",
"bankName" : "Тинькофф банк2",
"bankIdentificationCode" : "944525999",
"bankCorrespondentAccount" : "934234999"
}
Parameter | Description |
---|---|
|
legalEntityId |
Path | Type | Description | Constraints |
---|---|---|---|
name |
String |
The legal entity’s name |
Must not be blank. |
shortName |
String |
The legal entity’s short name |
|
inn |
String |
The legal entity’s inn |
|
kpp |
String |
The legal entity’s kpp |
|
ogrn |
String |
The legal entity’s ogrn |
|
okpo |
String |
The legal entity’s okpo |
|
taxScheme |
String |
The legal entity’s tax scheme |
|
priceTag |
String |
The legal entity’s price tag |
|
checkTag |
String |
The legal entity’s check tag |
|
checkTag |
String |
The legal entity’s address |
|
phone |
String |
The legal entity’s phone |
Size must be between 0 and 30 inclusive |
paymentAccount |
String |
The legal entity’s payment account |
|
bankName |
String |
The legal entity’s bank name |
|
bankIdentificationCode |
String |
The legal entity’s bank identification code |
|
bankCorrespondentAccount |
String |
The legal entity’s bank correspondent account |
HTTP/1.1 200 OK
delete
DELETE /api/v2/legal-entities/19 HTTP/1.1
Parameter | Description |
---|---|
|
legalEntityId |
HTTP/1.1 200 OK