GET VatTypes/GetVatTypes/{SiteId}
Gets A List Of All VAT Types for the Site
Request Information
URI Parameters
Name | Type | Description | Additional information |
---|---|---|---|
SiteId | integer |
Body Parameters
None.
Response Information
Resource Description
Collection of VatTypesModelName | Type | Description | Additional information |
---|---|---|---|
SiteID | integer |
The Site ID |
None. |
VATID | integer |
The VAT ID |
None. |
Name | string |
The name of the Vat Type |
None. |
VATRate | decimal number |
The rate of VAT in % |
None. |
NetMultiplier | decimal number |
Gross Price * Net Multiplier = Net Price |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SiteID": 1, "VATID": 2, "Name": "sample string 3", "VATRate": 4.0, "NetMultiplier": 5.0 }, { "SiteID": 1, "VATID": 2, "Name": "sample string 3", "VATRate": 4.0, "NetMultiplier": 5.0 } ]
application/xml, text/xml
Sample:
<ArrayOfVatTypesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Models"> <VatTypesModel> <Name>sample string 3</Name> <NetMultiplier>5</NetMultiplier> <SiteID>1</SiteID> <VATID>2</VATID> <VATRate>4</VATRate> </VatTypesModel> <VatTypesModel> <Name>sample string 3</Name> <NetMultiplier>5</NetMultiplier> <SiteID>1</SiteID> <VATID>2</VATID> <VATRate>4</VATRate> </VatTypesModel> </ArrayOfVatTypesModel>