Legal entity - tax
get
request
GET /api/v2/legal-entities/99999/tax HTTP/1.1
Parameter | Description |
---|---|
|
id юр. лица |
response
HTTP/1.1 200 OK
[ {
"id" : 5555,
"legalEntityId" : 99999,
"startOn" : "2024-01-01",
"endOn" : "2024-04-30",
"createdAt" : "2024-01-01T00:00:00",
"vat" : "NORMAL"
}, {
"id" : 5554,
"legalEntityId" : 99999,
"startOn" : "2024-05-01",
"endOn" : null,
"createdAt" : "2024-01-01T00:00:00",
"vat" : "NON_TAXABLE"
} ]
Path | Type | Description |
---|---|---|
|
|
id |
|
|
id юр. лица |
|
|
Дата начала |
|
|
Дата окончания |
|
|
Дата создания |
|
|
НДС |
update
request
PUT /api/v2/legal-entities/99999/tax HTTP/1.1
{
"vat" : "NORMAL",
"startOn" : "2025-08-27"
}
Parameter | Description |
---|---|
|
id юр. лица |
Path | Type | Description | Constraints |
---|---|---|---|
startOn |
String |
Дата начала |
Must not be null |
vat |
String |
НДС |
Must not be null |
response
HTTP/1.1 200 OK
{
"id" : 25,
"legalEntityId" : 99999,
"startOn" : "2025-08-27",
"endOn" : null,
"createdAt" : "2025-08-27T07:22:48.242179073",
"vat" : "NORMAL"
}
Path | Type | Description |
---|---|---|
|
|
id |
|
|
id юр. лица |
|
|
Дата начала |
|
|
Дата окончания |
|
|
Дата создания |
|
|
НДС |
delete
request
DELETE /api/v2/legal-entities/tax/26 HTTP/1.1
Parameter | Description |
---|---|
|
id записи налогообложения |
response
HTTP/1.1 200 OK