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-11-19"
}
| 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" : 14,
"legalEntityId" : 99999,
"startOn" : "2025-11-19",
"endOn" : null,
"createdAt" : "2025-11-19T14:26:16.336425481",
"vat" : "NORMAL"
}
| Path | Type | Description |
|---|---|---|
|
|
id |
|
|
id юр. лица |
|
|
Дата начала |
|
|
Дата окончания |
|
|
Дата создания |
|
|
НДС |
delete
request
DELETE /api/v2/legal-entities/tax/15 HTTP/1.1
| Parameter | Description |
|---|---|
|
id записи налогообложения |
response
HTTP/1.1 200 OK