Request Information

Method returns Vat code by Id.

Example URL:
v2.0/VatCodes/{id}
NameDescriptionTypeAdditional information
id

Vat code Id

integer

Required

id

Vat code Id

integer

Required

None.

Response Information

VatCodeApiModel
NameDescriptionTypeAdditional information
Code

string

None.

CountryId

integer

None.

DateValidityFrom

date

None.

DateValidityTo

date

None.

Id

Resource identifier

integer

Readonly

MoneyS3Code

string

None.

MoneyS5Code

string

None.

Name

string

None.

VatReturnRow

string

None.

Sample:
{
  "CountryId": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "MoneyS3Code": "sample string 4",
  "MoneyS5Code": "sample string 5",
  "DateValidityFrom": "2021-05-08T06:32:03.1469843+00:00",
  "DateValidityTo": "2021-05-08T06:32:03.1469843+00:00",
  "VatReturnRow": "sample string 8",
  "Id": 9
}
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">9</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>
  <DateValidityFrom>2021-05-08T06:32:03.1469843+00:00</DateValidityFrom>
  <DateValidityTo>2021-05-08T06:32:03.1469843+00:00</DateValidityTo>
  <MoneyS3Code>sample string 4</MoneyS3Code>
  <MoneyS5Code>sample string 5</MoneyS5Code>
  <Name>sample string 3</Name>
  <VatReturnRow>sample string 8</VatReturnRow>
</VatCodeApiModel>