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

Required

64-bit signed integer

Code

Gets or sets code of the VAT code

string

Required

IsDefault

Gets or sets a value indicating whether VAT code is default

boolean

Required

Name

Gets or sets name of the VAT code

string

Required

Percentage

Gets or sets the percentage

decimal number

Required

ReverseCharge

Gets or sets a value indicating whether VAT has reverse charge

boolean

Nullable

IcpReturn

Gets or sets IcpReturn

QicsUnity.Api.Areas.V2.Models.IcpReturn

Nullable

Response Formats

application/json, text/json

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

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>