CityTax
Create a city tax.
<br>You must have at least one of these scopes: 'settings.manage, setup.manage'.
post/settings/v1/city-tax
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/settings/v1/city-tax
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: settings.manage, setup.manage, admin
Headers
Idempotency-Keystring
Unique key for safely retrying requests without accidentally performing the same operation twice. We'll always send back the same response for requests made with the same key, and keys can't be reused with different request parameters. Keys expire after 24 hours.
Request body
Example request
{
"name": {
"en": "City tax",
"de": "City-Tax"
},
"description": {
"en": "2 Euro per person and night. Business travellers and close family members of citizens do not have to pay city tax.",
"de": "2 Euro pro Person und Nacht. Geschäftsreisende und nahe Familienmitglieder von Anwohnern müssen keine City-Tax bezahlen."
},
"propertyId": "MUC",
"type": "PerPersonPerNight",
"taxHandlingType": "BeforeTax",
"value": 2,
"vatType": "Normal",
"code": "TAX",
"priority": 1,
"includeCityTaxInRateAmount": false,
"subcategories": [
{
"name": {
"en": "Children under 12 don't have to pay city tax",
"de": "Kinder unter 12 Jahren zahlen keine City-Tax"
},
"value": 0,
"age": {
"min": 0,
"max": 12
}
}
],
"ignoredFor": [
{
"distributionChannel": {
"channelCode": "ChannelManager",
"sources": [
"bookingcom"
]
}
}
]
}Response
City tax successfully created.
Example response
{
"id": "MUC-FLE"
}Changes
No recorded changes to this operation across all 1 revision of this API.