Formulas used:
total = (inter price + expenses + manual_expense ) – early bird + city fee+ cleaning fee + sec deposit
$early_bird_discount – doesn’t include extra guest, security, city fee, cleaning fee
$you_earn = $total_price – $security_deposit – floatval($city_fee) – floatval($cleaning_fee) – $service_fee;
$taxes = round ( $you_earn * $taxes_value/100,2);
$price_for_service_fee = $total_price – $security_deposit – floatval($city_fee) – floatval($cleaning_fee);
city fee % Doesn’t consider price for extra guest
city fee % Doesn’t consider extra expenses (added when owner issues invoice)
100% deposit includes automatically expenses (city fee / cleaning fee) – even if the option is set to NO