diff --git a/api_calls/reference/taxes/create-request.json b/api_calls/reference/taxes/create-request.json index 82e1e113..1e1638b4 100644 --- a/api_calls/reference/taxes/create-request.json +++ b/api_calls/reference/taxes/create-request.json @@ -2,6 +2,7 @@ "taxes": [ { "name_en": "Tax", + "kind": "other", "start_date": "START_DATE", "end_date": "END_DATE", "notes": "Private notes", diff --git a/api_calls/reference/taxes/public-scope-response.json b/api_calls/reference/taxes/public-scope-response.json index 451d0ade..d50694fa 100644 --- a/api_calls/reference/taxes/public-scope-response.json +++ b/api_calls/reference/taxes/public-scope-response.json @@ -8,6 +8,7 @@ "account": 1 }, "id": 4, + "kind": "other", "percentage": "10.0", "created_at": "CREATED_AT", "updated_at": "UPDATED_AT", diff --git a/api_calls/reference/taxes/rates_read-rates_write-scope-response.json b/api_calls/reference/taxes/rates_read-rates_write-scope-response.json index 71ceb184..0fc6bb86 100644 --- a/api_calls/reference/taxes/rates_read-rates_write-scope-response.json +++ b/api_calls/reference/taxes/rates_read-rates_write-scope-response.json @@ -8,6 +8,7 @@ "account": 1 }, "id": 4, + "kind": "other", "percentage": "10.0", "created_at": "CREATED_AT", "updated_at": "UPDATED_AT", diff --git a/api_calls/reference/taxes/update-request.json b/api_calls/reference/taxes/update-request.json index 6352b1f5..c3959671 100644 --- a/api_calls/reference/taxes/update-request.json +++ b/api_calls/reference/taxes/update-request.json @@ -2,6 +2,7 @@ "taxes": [ { "name_en": "Tax", + "kind": "other", "start_date": "START_DATE", "end_date": "END_DATE", "notes": "Private notes" diff --git a/content/reference/changelog.md b/content/reference/changelog.md index 66e36c28..7a9d821b 100644 --- a/content/reference/changelog.md +++ b/content/reference/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2018-02-01 + + * [api improvement] Add `kind` on `taxes` endpoint. + * [api improvement] Extend list of `kinds` on `fees` enums. + ## 2017-11-08 * [doc update] Add `bookings_taxes percentage` to `bookings` endpoint diff --git a/content/reference/endpoints/taxes.md b/content/reference/endpoints/taxes.md index e9a6a718..b5057645 100644 --- a/content/reference/endpoints/taxes.md +++ b/content/reference/endpoints/taxes.md @@ -17,6 +17,7 @@ Name | Type | Read/Write | Description id | Integer | Read | Tax's id. -----------------|---------|------------|------------ name | [Object](/reference/enums#formats) | Read | Tax's name, list of locales described in [enums section](/reference/enums#locales). +kind | String | Read | Tax's kind, list of tax's kinds described in [enums section](/reference/enums#tax-kinds) percentage | [Decimal](/reference/enums#formats) | Read | Tax's percentage. -----------------|---------|------------|------------ created_at | [Time](/reference/enums#formats) | Read | Tax's create time. @@ -31,6 +32,7 @@ Name | Type | Read/Write | Description id | Integer | Read | Tax's id. -----------------|---------|------------|------------ name | [Object](/reference/enums#formats) | Read | Tax's name, list of locales described in [enums section](/reference/enums#locales). +kind | String | Read | Tax's kind, list of tax's kinds described in [enums section](/reference/enums#tax-kinds) notes | String | Read | Tax's private notes. percentage | [Decimal](/reference/enums#formats) | Read | Tax's percentage. -----------------|---------|------------|------------ @@ -46,6 +48,7 @@ Name | Type | Read/Write | Description id | Integer | Read | Tax's id. -----------------|---------|------------|------------ name | [Object](/reference/enums#formats) | Read/Write | Tax's name, list of locales described in [enums section](/reference/enums#locales). +kind | String | Read/Write | Tax's kind, list of tax's kinds described in [enums section](/reference/enums#tax-kinds) notes | String | Read/Write | Tax's private notes. percentage | [Decimal](/reference/enums#formats) | Read/Write | Tax's percentage. Writable only during creation. -----------------|---------|------------|------------ diff --git a/content/reference/enums.md b/content/reference/enums.md index 2ca74a37..2ba5af7f 100644 --- a/content/reference/enums.md +++ b/content/reference/enums.md @@ -125,11 +125,64 @@ rental_price | Price for the rent only, after all discount final_price | Price including all required fees and taxes. {: class="table table-bordered"} +## Tax kinds + +Name | Description +--------------------------------|------------ +value_added | Value added tax (VAT) +city | City tax +goods_and_services | Goods and services tax +government | Government tax +spa | Spa tax +hot_spring | Hot spring tax +residential | Residential tax +sauna_fitness_facilities | Sauna/fitness facilities tax +local_council | Local council tax +provincial_sales | Provincial sales tax +harmonized_sales | Harmonized sales tax +other | Any other type of tax +{: class="table table-bordered"} + ## Fee kinds Name | Description -----------------------------|------------ -cleaning | Cleaning fee +city_tax | City tax fee +resort | Resort fee +service_charge | Service charge +tourism | Tourism fee +destination | Destination fee +environment | Environment fee +municipality | Municipality fee +public_transit_day_ticket | Public transit day ticket +heritage_charge | Heritage charge +cleaning | Cleaning +towel_charge | Towel charge +electricity | Electricity fee +bed_linen | Bed linen fee +gas | Gas fee +oil | Oil fee +wood | Wood fee +water_usage | Water usage fee +transfer | Transfer fee +linen_package | Linen package fee +heating | Heating fee +air_conditioning | Air conditioning fee +kitchen_linen | Kitchen linen fee +housekeeping | Housekeeping fee +airport_shuttle | Airport shuttle fee +shuttle_boat | Shuttle boat fee +sea_plane | Sea plane fee +ski_pass | Ski pass +final_cleaning | Final cleaning fee +wristband | Wristband fee +visa_support | Visa support fee +water_park | Water park fee +club_card | Club card fee +conservation | Conservation fee +credit_card | Credit card fee +internet | Internet fee +parking | Parking fee other | Any other type of fee {: class="table table-bordered"}