GET api/agency/getvatrate?vatRateType={vatRateType}&vatDate={vatDate}

Gets the current VAT rate unless the date is specified

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vatRateType

Vat Rate type, "standard" is currently option

string

Required

vatDate

Date of VAT value, used to get historic or future VAT Rates

date

None.

Body Parameters

None.

Response Information

Resource Description

VatRateDataContract
NameDescriptionTypeAdditional information
VatRateType

EnumDataContract

None.

VatRatePercentage

decimal number

None.

ValidFrom

date

None.

ValidTo

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "VatRateType": {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  "VatRatePercentage": 1.1,
  "ValidFrom": "2020-07-10T02:56:09.6565071Z",
  "ValidTo": "2020-07-10T02:56:09.6565071Z",
  "Id": 4
}