...
Base Amount: The base amount charged for the accommodation - ie: the cost of the room only
Total Amount: The Total amount charged for the accommodation - ie: the cost of the room inclusive of any additional fees or extras, such as extra occupants
Daily Rates XML with Extras
The following is an example of how daily rates should be sent for a reservation that contains 2 adults and 2 child guests, but the included occupancy is '2' resulting in each child guest incurring a $15 surcharge per person per night.
...
Code Block | ||
---|---|---|
| ||
<RoomStay> <RoomTypes> <RoomType RoomType="King Room" RoomTypeCode="20145" RoomID="303"> <RoomDescription> <Text>King Room</Text> </RoomDescription> </RoomType> </RoomTypes> <RatePlans> <RatePlan RatePlanCode="42951" RatePlanName="King Room Standard" EffectiveDate="2018-02-10" ExpireDate="2018-02-13"> <RatePlanDescription> <Text>King Room Standard</Text> </RatePlanDescription> </RatePlan> </RatePlans> <RoomRates> <RoomRate NumberOfUnits="1" RoomID="303" RoomTypeCode="20145" RatePlanCode="42951" EffectiveDate="2018-02-10" ExpireDate="2018-02-13"> <Rates> <Rate UnitMultiplier="1" EffectiveDate="2018-02-10" ExpireDate="2018-02-11"> <Base AmountAfterTax="900" CurrencyCode="AUD"/> <Total AmountAfterTax="960" CurrencyCode="AUD"/> </Rate> <Rate UnitMultiplier="1" EffectiveDate="2018-02-11" ExpireDate="2018-02-12"> <Base AmountAfterTax="1100" CurrencyCode="AUD"/> <Total AmountAfterTax="1160" CurrencyCode="AUD"/> </Rate> <Rate UnitMultiplier="1" EffectiveDate="2018-02-12" ExpireDate="2018-02-13"> <Base AmountAfterTax="1000" CurrencyCode="AUD"/> <Total AmountAfterTax="1060" CurrencyCode="AUD"/> </Rate> </Rates> </RoomRate> </RoomRates> <GuestCounts> <GuestCount AgeQualifyingCode="10" Count="2"/> <GuestCount AgeQualifyingCode="8" Count="2"/> </GuestCounts> <TimeSpan Start="2018-02-10" End="2018-02-13"/> <Total AmountAfterTax="3045" CurrencyCode="AUD"/> </RoomStay> |
...
Daily Rates XML without Extras
If no additional extras are included in the reservation, both the 'Base' and 'Total' amounts will reflect the same value.
...
Code Block | ||
---|---|---|
| ||
<RoomStay> <RoomTypes> <RoomType RoomType="King Room" RoomTypeCode="20145" RoomID="303"> <RoomDescription> <Text>King Room</Text> </RoomDescription> </RoomType> </RoomTypes> <RatePlans> <RatePlan RatePlanCode="42951" RatePlanName="King Room Standard" EffectiveDate="2018-02-10" ExpireDate="2018-02-13"> <RatePlanDescription> <Text>King Room Standard</Text> </RatePlanDescription> </RatePlan> </RatePlans> <RoomRates> <RoomRate NumberOfUnits="1" RoomID="303" RoomTypeCode="20145" RatePlanCode="42951" EffectiveDate="2018-02-10" ExpireDate="2018-02-13"> <Rates> <Rate UnitMultiplier="1" EffectiveDate="2018-02-10" ExpireDate="2018-02-11"> <Base AmountAfterTax="900" CurrencyCode="AUD"/> <Total AmountAfterTax="900" CurrencyCode="AUD"/> </Rate> <Rate UnitMultiplier="1" EffectiveDate="2018-02-11" ExpireDate="2018-02-12"> <Base AmountAfterTax="1100" CurrencyCode="AUD"/> <Total AmountAfterTax="1100" CurrencyCode="AUD"/> </Rate> <Rate UnitMultiplier="1" EffectiveDate="2018-02-12" ExpireDate="2018-02-13"> <Base AmountAfterTax="1000" CurrencyCode="AUD"/> <Total AmountAfterTax="1000" CurrencyCode="AUD"/> </Rate> </Rates> </RoomRate> </RoomRates> <GuestCounts> <GuestCount AgeQualifyingCode="10" Count="2"/> </GuestCounts> <TimeSpan Start="2018-02-10" End="2018-02-13"/> <Total AmountAfterTax="3000" CurrencyCode="AUD"/> </RoomStay> |
...