Create taxAsk AIpost https://open-api.guesty.com/v1/taxesCreate tax configuration with the provided settings.Body ParamsunitTypeIdstring The unit (listing) id on which the new tax will apply. To apply the tax on account level, leave this field empty. typestringenumrequired The tax type. Each tax type can only be defined once on account/listing level. LOCAL_TAXCITY_TAXVATGOODS_AND_SERVICES_TAXTOURISM_TAXOTHERSTATE_TAXCOUNTY_TAXOCCUPANCY_TAXTRANSIENT_OCCUPANCY_TAXHOME_SHARING_TAXHARMONIZED_SALES_TAXMINIMUM_ALTERNATE_TAXShow 13 enum valuesunitsstringenumrequiredDetermines whether the tax amount should be treated as a fixed or percentage valuePERCENTAGEFIXEDAllowed:PERCENTAGEFIXEDamountnumberrequired≥ 0 the amount of the tax, could be a fixed value or percentage whether units is 'FIXED' or 'PERCENTAGE' respectively. when 'FIXED' then 'amount' has to be greater then 0 when 'PERCENTAGE' then 'amount' has to be greater then 0 and smaller or equal to 100 quantifierstringenumrequiredDetermines by what factor the tax amount will be multipliedPER_NIGHTPER_GUESTPER_GUEST_PER_NIGHTPER_STAYAllowed:PER_NIGHTPER_GUESTPER_GUEST_PER_NIGHTPER_STAYnamestringlength ≤ 40The name for the tax, which will be used accross guesty. there can be no two taxes with the same name.appliedToAllFeesboolean Relevant only when the units equals 'PERCENTAGE' When equals 'true', then the tax will be calculated on all fees and 'appliedOnFees' must contain all values truefalseappliedOnFeesarray of strings Relevant only when the unit equals 'PERCENTAGE' This defines the fees on which the tax will be calculated appliedOnFeesADD stringisAppliedByDefaultboolean When set to 'true' and 'appliedByDefaultOnChannels' is not empty, then Guesty will prededuct the tax from the accommodation fare. can not be 'true' when 'appliedByDefaultOnChannels' is empty truefalseappliedByDefaultOnChannelsarray of strings When contains values and 'isAppliedByDefault' is set to 'true', then Guesty will prededuct the tax from the accommodation fare. can not contain elements when 'isAppliedByDefault' is 'false' currently, only supported for reservations received from source Airbnb appliedByDefaultOnChannelsADD stringconditionalOverridesobjectSet additional conditions for this taxconditionalOverrides objectResponses 201The tax has been successfully created. 400The input provided is invalid.Updated 3 months ago