GET V2/odata/VatCode

Gets VatCode entities

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of QicsUnity.Api.Areas.V2.Models.VatCode
NameDescriptionTypeAdditional information
VatCodeId

Gets or sets the VatCodeId

integer

None.

Code

Gets or sets code of the VAT code

string

None.

IsDefault

Gets or sets a value indicating whether VAT code is default

boolean

None.

Name

Gets or sets name of the VAT code

string

None.

Percentage

Gets or sets the percentage

decimal number

None.

ReverseCharge

Gets or sets a value indicating whether VAT has reverse charge

boolean

None.

IcpReturn

Gets or sets IcpReturn

QicsUnity.Api.Areas.V2.Models.IcpReturn

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VatCodeId": 1,
    "Code": "sample 2",
    "IsDefault": true,
    "Name": "sample 4",
    "Percentage": 5.0,
    "ReverseCharge": true,
    "IcpReturn": 0
  },
  {
    "VatCodeId": 1,
    "Code": "sample 2",
    "IsDefault": true,
    "Name": "sample 4",
    "Percentage": 5.0,
    "ReverseCharge": true,
    "IcpReturn": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfVatCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QicsUnity.Api.Areas.V2.Models">
  <VatCode>
    <Code>sample 2</Code>
    <IcpReturn>Services</IcpReturn>
    <IsDefault>true</IsDefault>
    <Name>sample 4</Name>
    <Percentage>5</Percentage>
    <ReverseCharge>true</ReverseCharge>
    <VatCodeId>1</VatCodeId>
  </VatCode>
  <VatCode>
    <Code>sample 2</Code>
    <IcpReturn>Services</IcpReturn>
    <IsDefault>true</IsDefault>
    <Name>sample 4</Name>
    <Percentage>5</Percentage>
    <ReverseCharge>true</ReverseCharge>
    <VatCodeId>1</VatCodeId>
  </VatCode>
</ArrayOfVatCode>