Update taxAsk AIpatch https://open-api.guesty.com/v1/taxes/{id}Update tax by id.Path ParamsidstringrequiredThe tax idBody Paramstypestringenum 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 valuesunitsstringenumDetermines whether the tax amount should be treated as a fixed or percentage valuePERCENTAGEFIXEDAllowed:PERCENTAGEFIXEDamountnumber≥ 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 quantifierstringenumDetermines by what factor the tax amount will be multipliedPER_NIGHTPER_GUESTPER_GUEST_PER_NIGHTPER_STAYAllowed:PER_NIGHTPER_GUESTPER_GUEST_PER_NIGHTPER_STAYappliedToAllFeesboolean 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 objectnamestringlength ≤ 40The name for the tax, which will be used accross guesty. there can be no two taxes with the same name. to remove a name of existing tax pass empty stringResponses 200The tax has been successfully updated. 400The input provided is invalid.Updated 3 months ago