GET api/agency/getvatrate?vatRateType={vatRateType}&vatDate={vatDate}
Gets the current VAT rate unless the date is specified
Request Information
URI Parameters
Name | Description | Type | Additional 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.VatRateDataContractName | Description | Type | Additional 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-10-30T15:16:50.2991706Z", "ValidTo": "2024-10-30T15:16:50.2991706Z", "Id": 4 }