Legal entity - section link
list
request
GET /api/v2/legal-entities/16/sections HTTP/1.1
Parameter | Description |
---|---|
|
legalEntityId |
response
HTTP/1.1 200 OK
[ {
"category" : "GOODS",
"vatType" : "NON_TAXABLE",
"section" : 2
}, {
"category" : "GOODS",
"vatType" : "NORMAL",
"section" : 2
}, {
"category" : "GOODS",
"vatType" : "PRIVILEGED",
"section" : 2
}, {
"category" : "GOODS",
"vatType" : "SPECIAL_5",
"section" : 2
}, {
"category" : "GOODS",
"vatType" : "SPECIAL_7",
"section" : 2
}, {
"category" : "SERVES",
"vatType" : "NON_TAXABLE",
"section" : 2
}, {
"category" : "SERVES",
"vatType" : "NORMAL",
"section" : 2
}, {
"category" : "SERVES",
"vatType" : "PRIVILEGED",
"section" : 2
}, {
"category" : "SERVES",
"vatType" : "SPECIAL_5",
"section" : 2
}, {
"category" : "SERVES",
"vatType" : "SPECIAL_7",
"section" : 2
} ]
Path | Type | Description |
---|---|---|
|
|
The legal entity section’s section category |
|
|
The legal entity section’s section vat type |
|
|
The legal entity section’s section value |
categories array
request
GET /api/v2/legal-entities/sections/categories HTTP/1.1
response
HTTP/1.1 200 OK
[ "GOODS", "SERVES" ]
update
request
PUT /api/v2/legal-entities/16/sections HTTP/1.1
[ {
"section" : 2,
"category" : "GOODS",
"vatType" : "NORMAL"
}, {
"section" : 2,
"category" : "SERVES",
"vatType" : "NORMAL"
}, {
"section" : 2,
"category" : "GOODS",
"vatType" : "PRIVILEGED"
}, {
"section" : 2,
"category" : "SERVES",
"vatType" : "PRIVILEGED"
}, {
"section" : 2,
"category" : "GOODS",
"vatType" : "SPECIAL_5"
}, {
"section" : 2,
"category" : "SERVES",
"vatType" : "SPECIAL_5"
}, {
"section" : 2,
"category" : "GOODS",
"vatType" : "SPECIAL_7"
}, {
"section" : 2,
"category" : "SERVES",
"vatType" : "SPECIAL_7"
}, {
"section" : 2,
"category" : "GOODS",
"vatType" : "NON_TAXABLE"
}, {
"section" : 2,
"category" : "SERVES",
"vatType" : "NON_TAXABLE"
} ]
Parameter | Description |
---|---|
|
legalEntityId |
Path | Type | Description | Constraints |
---|---|---|---|
category |
String |
The legal entity section’s section category |
|
vatType |
String |
The legal entity section’s section vat type |
|
section |
Number |
The legal entity section’s section value |
response
HTTP/1.1 200 OK