How do I calculate hotel fee frequencies?

If you use the includeHotelFeeBreakdown element in your hotel list request, you can return a more detailed breakdown of the amounts provided in HotelFees.

It is important to remember that HotelFees always provides total values, and the optional HotelFeeBreakdown element is intended to provide further details about these totals. There is no need to multiply provided fees by the indicated frequency to obtain total values.

However, you may divide a provided amount as indicated by the frequency to obtain nightly/daily/weekly values for display.

 

Example

This is an excerpt from a typical hotel list response for a four night stay. In this case, there is a separate resort fee detailed in the HotelFees array:

<ChargeableRateInfo averageBaseRate="10.53" averageRate="10.53" commissionableUsdTotal="42.12" currencyCode="USD" maxNightlyRate="10.53" nightlyRateTotal="42.12" surchargeTotal="5.76" total="47.88">
 <NightlyRatesPerRoom size="4">
   <NightlyRate baseRate="10.53" rate="10.53" promo="false" />
   <NightlyRate baseRate="10.53" rate="10.53" promo="false" />
   <NightlyRate baseRate="10.53" rate="10.53" promo="false" />
   <NightlyRate baseRate="10.53" rate="10.53" promo="false" />
 </NightlyRatesPerRoom>


<HotelFees size="1">
   <HotelFee description="ResortFee" amount="60.00”>
     <HotelFeeBreakdown unit="Per accomodation" frequency="Per night" />
   </HotelFee>
</HotelFees>

The total amount to be charged in the form of a resort fee is $60.00. The frequency value indicates the resort fee is calculated on a per-night basis, and the unit confirms it is calculated on a room-by-room basis.

Using this information, you can calculate that the per-night value is $15:

($60.00 total / 4 nights) / 1 room = $15 per night

Was this article helpful?
4 out of 4 found this helpful
Have more questions? Submit a request
Powered by Zendesk