Request Information
Method returns Vat code by Id.
Example URL:
v2.0/VatCodes/{id}
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Vat code Id |
integer |
Required |
| id |
Vat code Id |
integer |
Required |
None.
Response Information
VatCodeApiModel
| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| CountryId | integer |
None. |
|
| CountryType | VatCodeFilterPartner |
None. |
|
| DateValidityFrom | date |
None. |
|
| DateValidityTo | date |
None. |
|
| Id |
Resource identifier |
integer |
Readonly |
| MoneyS3Code | string |
None. |
|
| MoneyS5Code | string |
None. |
|
| Moss | boolean |
None. |
|
| Name | string |
None. |
|
| ReverseChargeType | ReverseChargeType |
None. |
|
| VatMovementType | VatMovementType |
None. |
|
| VatReturnRow | string |
None. |
Sample:
{
"CountryId": 1,
"CountryType": 0,
"Code": "sample string 2",
"Name": "sample string 3",
"MoneyS3Code": "sample string 4",
"MoneyS5Code": "sample string 5",
"Moss": true,
"DateValidityFrom": "2025-12-17T17:50:01.6272177+00:00",
"DateValidityTo": "2025-12-17T17:50:01.6272177+00:00",
"ReverseChargeType": 0,
"VatMovementType": 0,
"VatReturnRow": "sample string 9",
"Id": 10
}
Sample:
<VatCodeApiModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.ReadOnlyEntites">
<Id xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">10</Id>
<Links xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Doklad.Api.ApiModels.BaseModels">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Links>
<Code>sample string 2</Code>
<CountryId>1</CountryId>
<CountryType>WithoutRestriction</CountryType>
<DateValidityFrom>2025-12-17T17:50:01.6272177+00:00</DateValidityFrom>
<DateValidityTo>2025-12-17T17:50:01.6272177+00:00</DateValidityTo>
<MoneyS3Code>sample string 4</MoneyS3Code>
<MoneyS5Code>sample string 5</MoneyS5Code>
<Moss>true</Moss>
<Name>sample string 3</Name>
<ReverseChargeType>NoReverseCharge</ReverseChargeType>
<VatMovementType>None</VatMovementType>
<VatReturnRow>sample string 9</VatReturnRow>
</VatCodeApiModel>