Description
Multiply nonnegative nights, rooms, and feePerRoomNight for fee.
Hospitality charges depend on the unit of service, inclusion rules, deposits, commissions, and tax bases. Operation order can change an amount, while arithmetic alone does not establish contract terms or liability.
Multiply nonnegative nights, rooms, and feePerRoomNight for fee.
When to use this tool
Use Hospitality Resort Fee Night Basis when you need one supplied billing or cost component.
How to use the tool and how it works
- Enter nights, rooms, feePerRoomNight, taxableFraction, taxRate. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read fee, tax, total. Use the output convention below.
Multiply nonnegative nights, rooms, and feePerRoomNight for fee. Apply taxableFraction in [0, 1] and nonnegative taxRate to that fee, then add tax.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| nights | Nights | Required. Safe integer; minimum 0. |
| rooms | Rooms | Required. Safe integer; minimum 0. |
| feePerRoomNight | Fee Per Room Night | Required. Finite number; minimum 0. |
| taxableFraction | Taxable Fraction | Required. Finite number; minimum 0; maximum 1. |
| taxRate | Tax Rate | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fee | Fee | Required. Finite number. |
| tax | Tax | Required. Finite number. |
| total | Total | Required. Finite number. |
{
"input": {
"nights": 3,
"rooms": 2,
"feePerRoomNight": 20,
"taxableFraction": 1,
"taxRate": 0.1
},
"output": {
"fee": 120,
"tax": 12,
"total": 132
}
} Limitations and assumptions
- Rates are fractions and amounts share one currency; actual fee disclosure, tax liability, exemptions, and monetary rounding are not determined.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Reconcile the result with booking terms, actual invoice rules, taxes, and monetary rounding.
References
Similar or alternative tools
- Room Upgrade Supplement Tax Order
Apply taxRate to base plus supplement only when supplementTaxable, then add the full supplement and tax to base.
- Minibar Deposit Vatbase Flag
Include deposit in taxBase only when depositTaxable, calculate tax, and add purchase, deposit, and tax.