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

Dezrez.Core.DataContracts.External.Api.Role.Command.VAT.VatRateDataContract
NameDescriptionTypeAdditional information
VatRateType

Dezrez.Core.DataContracts.External.Api.System.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": "2024-11-21T09:43:17.552411Z",
  "ValidTo": "2024-11-21T09:43:17.552411Z",
  "Id": 4
}