# Response message format - Booking

<table data-header-hidden><thead><tr><th valign="top">Element Path</th><th>Attribute</th><th>Occ</th><th>Type</th><th>Notes</th></tr></thead><tbody><tr><td valign="top"><p> </p><p>HotelML/Head</p></td><td> </td><td> </td><td> </td><td><p> </p><p>This is the standard element containing some transaction metadata and any applicable errors or warnings. For details of this element and all child elements- see Section 0, header (Response Message)</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation</p></td><td> </td><td><p> </p><p>0..1</p></td><td> </td><td> </td></tr><tr><td valign="top"> </td><td><p> </p><p>xml:lang</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Char 2</p></td><td><p> </p><p>Language of the response. Only returned if a language other than English is requested (by including the Locale element).</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>BookedRate</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Decimal</p></td><td><p> </p><p>Booked room rate</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>ConfirmationNumber</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Char 6-80</p></td><td><p> </p><p>Only returned for committed transactions.</p><p> </p><p>If using passive session control (or no session control) then this isreturned in the successful response to a BookReservation, ModifyReservation and sometimes a CancelReservation message.</p><p> </p><p>If using active session control then this is returned in the response to the</p><p>SessionControl message.</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>CancellationNumber</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Char 6-80</p></td><td><p> </p><p>Only returned for cancelled bookings that are committed.</p><p> </p><p>If using passive session control (or no session control) then this isreturned in the successful response to a CancelReservation message.</p><p> </p><p>If using active session control then this is returned in the response to the</p><p>SessionControl message.</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>CurrencyCode</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Char 3</p></td><td><p> </p><p>Currency code of booked rate</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>HoldReservationTime</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Time</p></td><td><p> </p><p>Hold time for the reservation if not guaranteed</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>HotelComments</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Char 324</p></td><td><p> </p><p>Free-format text comments</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>HotelRoomType</p></td><td><p> </p><p>0..1</p></td><td><p> </p><p>Char 20</p></td><td><p> </p><p>Hotel CRS native room type code</p></td></tr><tr><td valign="top"> </td><td><p> </p><p>InDate</p></td><td><p> </p><p>1</p></td><td><p> </p><p>Date</p></td><td><p> </p><p>Arrival date, in format “2011-07-13”</p></td></tr></tbody></table>

<br>

&#x20;

&#x20;

&#x20;

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"> </td><td valign="top"><p> </p><p>OutDate</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>Departure date in format “2011-07-16”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  CheckInText</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Char 64.</p></td><td valign="top"><p> </p><p>  Free-format check-in text comments</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  CommissionableStatus</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Enum.</p></td><td valign="top"><p> </p><p>  Specifies whether the rate is commissionable. Values are: “Commissionable”,</p><p>  “NonCommissionable” and “Unknown”</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  NonRefundableStay</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>  Indicates whether the rate is non-refundable.</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  CredentialsRequired</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>  Indicates whether some form of credentials are required at check-in, such as a AAA ID card, Government card or any other form of ID required to book a special rate.</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>PropertyCode</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Char 10</p></td><td valign="top"><p> </p><p>Chain and property code, separated by a semi-colon – e.g. “UI;AB1234”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>NumberOfPersons</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Integer</p></td><td valign="top"><p> </p><p>Number of paying guests per room</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>RateGuaranteed</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Boolean</p></td><td valign="top"><p> </p><p>Set to “true” if rate is guarantee or “false” of a quote.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>RatePlanCode</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 10</p></td><td valign="top"><p> </p><p>Rate plan code (same as in request message)</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   RatePlanDescription</p><p> </p><p> </p><p> </p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Char</p></td><td valign="top"><p> </p><p>  Rate plan description</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top">   RateFrequency</td><td valign="top">  0..1</td><td valign="top">  Enum</td><td valign="top"><p>   Denotes the frequency of the rate. "Daily", "Nightly", "Weekly", "Monthly",</p><p>   "PerStay", "Weekend"</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>RoomTypeCode</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 10</p></td><td valign="top"><p> </p><p>Room type code (same as in request message)</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>SessionID</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Only returned when using session control and reservation is not yet committed – i.e. Session=”New” is included in the request message.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  RateChange</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>  Denotes if the rate has changed</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>TaxInformation</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 104</p></td><td valign="top"><p> </p><p>Tax description</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Token</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Token generated by UltraDirect</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   TotalBookedInclusiveFees</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Decimal</p></td><td valign="top"><p> </p><p>  Estimated total price per room based on request parameters, including all</p><p>  known taxes and fees.</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>TotalBookedInclusive</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>Estimated total price per room based on request parameters, including all known taxes, fees and surcharges.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>TotalBookedRate</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>Estimated total price per room based on request parameters, excluding all known taxes, fees and surcharges.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   TotalTaxes</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Decimal</p></td><td valign="top"><p> </p><p>  Total tax amount.</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   TotalSurcharges</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Decimal</p></td><td valign="top"><p> </p><p>  Total Surcharges.</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/DepositPolicy</p></td><td valign="top"> </td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"> </td><td valign="top"><p> This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p> </p><p>The time the deposit payment is required.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The date by when the deposit payment must be made. Can be used in conjunction with the existing Time attribute</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>TimeInterval</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Used with IntervalUnits and optionally IntervalOffsetType to specify the number of days/weeks prior to arrival (or after booking) that the deposit payment is required.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>IntervalUnits</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum</p></td><td valign="top"><p> </p><p>Specifies the type of TimeInterval. Values are “Hours”, “Days”, “Weeks”, “Months”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>IntervalOffsetType</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates whether the time interval (defined by the existing TimeInterval and IntervalUnits attributes) relates to the interval after the booking is made or before arrival (e.g. deposit payment must be made X days after it was made or X days prior to arrival)</p><p> </p><p>Values are: “BeforeArrival” and “AfterBooking”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  Amount</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>The deposit payment amount that is required by the deadline</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/PrePayPolicy</p></td><td valign="top"> </td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"> </td><td valign="top"><p> This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p> </p><p>The time the prepayment is required.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The date by when the prepayment must be made. Can be used in conjunction with the existing Time attribute</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>TimeInterval</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Used with IntervalUnits and optionally IntervalOffsetType to specify the number of days/weeks prior to arrival (or after booking) that the prepayment is required.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>IntervalUnits</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum</p></td><td valign="top"><p> </p><p>Specifies the type of TimeInterval. Values are “Hours”, “Days”, “Weeks”, “Months”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>IntervalOffsetType</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates whether the time interval (defined by the existing TimeInterval and IntervalUnits attributes) relates to the interval after the booking is made or before arrival (e.g. prepayment must be made X days after it was made or X days prior to arrival)</p><p> </p><p>Values are: “BeforeArrival” and “AfterBooking”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  Amount</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>  Decimal</p></td><td valign="top"><p> </p><p>  The prepayment amount that is required by the deadline</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/CancelPolicy</p></td><td valign="top"> </td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Cancellation policy</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Description</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 314</p></td><td valign="top"><p> </p><p>Cancellation policy description</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p>The latest time that the reservation can be cancelled without incurring a penalty. This is normally on the day of arrival but can be on a specific date (if the Date attribute is also returned).</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p>The latest date that the booking can be cancelled in order to avoid any penalties. Can be used in conjunction with the existing Time attribute. If the Time is attribute is specified without a Date then the day of arrival is assumed.</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>TimeInterval</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"> </td><td valign="top"><p>Used with IntervalUnits and optionally IntervalOffsetType to specify the number of days/weeks prior to arrival (or after booking) that it can be cancelled without penalty.</p><p> </p><p> This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>IntervalUnits</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum</p></td><td valign="top"><p>Specifies the type of TimeInterval. Values are “Hours”, “Days”, “Weeks”, “Months”</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>IntervalOffsetType</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p>Indicates whether the time interval (defined by the existing TimeInterval and IntervalUnits attributes) relates to the interval after the booking is made or before arrival (e.g. booking can be cancelled X days after it was made or X days prior to arrival).  Values are: “BeforeArrival” and “AfterBooking”</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  PenaltyAmount</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Decimal</p></td><td valign="top"><p>The cancellation penalty expressed as a monetary amount.</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  PenaltyAmountTaxIndic</p><p>  ator</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Enum.</p></td><td valign="top"><p>Indicates whether the penalty amount includes or excludes taxes. Values are: “Inclusive”, “Exclusive” and “Unknown”.</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>PenaltyAmountFeeIn</p><p>  dicator</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Enum.</p></td><td valign="top"><p>Indicates whether the penalty amount includes or excludes fees. Values are: “Inclusive”, “Exclusive” and “Unknown”.</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>PenaltyNights</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Integer</p></td><td valign="top"><p>This attribute can be used on its own to indicate the number of nights that will be charged if the reservation is cancelled in the penalty period (e.g. PenaltyNights="1" indicates that 1 night will be charged). It can also be grouped together with the PenaltyPercentage and PercentageQualifier attributes if the cancel penalty is expressed as a percentage applied to a given number of nights (e.g. if the cancel penalty is 5% of 2 nights then PenaltyNights="2" and PenaltyPercentage="5.00" and PercentageQualifier="Nights").</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>PenaltyPercentage</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>  Decimal</p></td><td valign="top"><p>The cancellation penalty expressed as a percentage. The associated PenaltyNights and PercentageQualifier indicate what this is a percentage of.</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>PercentageQualifier</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>  Enum.</p></td><td valign="top"><p>The qualifier indicates how the percentage is applied when determining the cancel penalty (e.g. if the cancel penalty is 30% of the first and last night’s stay then PenaltyPercentage="30.00" and PercentageQualifier= "FirstLast").<br><br>They can also be grouped together with the PenaltyNights if the cancel penalty is expressed as a percentage applied to a given number of nights (e.g. if the cancel penalty is 5% of 2 nights then PenaltyNights="2" and PenaltyPercentage="5.00" and PercentageQualifier="Nights").<br><br>Values are: “FullStay”, “FirstLast”, “Nights”</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"><p>  HotelML/Reservation/</p><p>  CommissionPolicy</p></td><td valign="top"> </td><td valign="top">  0..1</td><td valign="top"> </td><td valign="top"><p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top">  Percentage</td><td valign="top">  0..1</td><td valign="top">  Decimal</td><td valign="top">  Commission payable expressed as a percentage of the booking value</td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/ ExtraBed</p></td><td valign="top"> </td><td valign="top"><p> </p><p>0..3</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Charges for rollaways and cribs/cots.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Charge</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>Charge for the rollaway/crib.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Currency</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 3</p></td><td valign="top"> </td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Type</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Values “ChildRollAway”, “AdultRollAway”, “Crib”.</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/ ExtraPerson</p></td><td valign="top"> </td><td valign="top"><p> </p><p>0..2</p></td><td valign="top"> </td><td valign="top"> </td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Charge</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>Charge for the extra adult or child</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Currency</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 3</p></td><td valign="top"> </td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Type</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Values “Adult” and “Child”</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation</p><p>/GuaranteePolicy</p></td><td valign="top"> </td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"> </td><td valign="top"> </td></tr></tbody></table>

<br>

&#x20;

&#x20;

&#x20;

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top"> </td><td valign="top"><p> </p><p>Description</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Guarantee policy description</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>HoldTime</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Time</p></td><td valign="top"><p> </p><p>The time (on day of arrival) that the room will be held.</p><p> </p><p>  This attribute is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>response.</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/Guest</p></td><td valign="top"> </td><td valign="top"><p> </p><p>1..M</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Total length of Title + FirstName + LastName + MiddleName + Suffix will not exceed 95 characters</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>FirstName</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Guest’s first name or initials</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>LastName</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Guest’s last name</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>MiddleName</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Guest’s middle name or initial (optional)</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>NumberOfAdults</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Integer</p></td><td valign="top"><p> </p><p>Number of adults staying per room. Normally at least one adult is required per room.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>NumberOfChildren</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Integer</p></td><td valign="top"><p> </p><p>Number of children staying per room</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>NumberOfRooms</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Integer</p></td><td valign="top"><p> </p><p>Number of rooms (of the specified type and rate) to be booked.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Primary</p></td><td valign="top"> </td><td valign="top"><p> </p><p>Boolean</p></td><td valign="top"><p> </p><p>Indicates whether the Guest element if for the primary guest. One and only one Guest element must have Primary=”true”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Suffix</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Guest name suffix</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Title</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char</p></td><td valign="top"><p> </p><p>Guest name title</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/ RateChange</p></td><td valign="top"> </td><td valign="top"><p> </p><p>0..M</p></td><td valign="top"> </td><td valign="top"><p> </p><p>This may be returned if the nightly rate changes during the stay.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Charge</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>The room rate</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>CurrencyCode</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 3</p></td><td valign="top"><p> </p><p>Currency code of the room rate – will be in the same currency as the bookable room rate</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The start of the date range for which the rate applies.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Frequency</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum</p></td><td valign="top"><p> </p><p>Denotes the frequency of the rate. Will be the same be the same frequency as the bookable rate (i.e. RoomType/@RateFrequency) –normally “Nightly”. Values are "Daily", "Nightly", "Weekly", "Monthly", "PerStay", "Weekend"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>MoreRateChange</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Boolean</p></td><td valign="top"><p> </p><p>Only set to “true” in the last RateChange element if there are additional rate changes that have not been returned in the response.</p></td></tr><tr><td valign="top"><p> </p><p>HotelML/Reservation/Amenity</p></td><td valign="top"> </td><td valign="top">  0..6</td><td valign="top"> </td><td valign="top"><p> </p><p>This can repeat up to 6 times for amenities/services.</p><p> </p><p>  This element is an enhanced booking feature, and VersionCompliance must</p><p>  be set to “EnhancedBook_V1” in the request for this to be returned in the</p><p>  response.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   Code</p></td><td valign="top"><p> </p><p>  1</p></td><td valign="top"><p> </p><p>  Char 6</p></td><td valign="top">Amenity code. This is a string for Enhanced V2. For V1 please see Appendix 1b for possible values .<br><br>(*Only Applicable for “Enhanced_V2”)</td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   Confirmable</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>Indicates whether the amenity/service is confirmable</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   Description</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Char 30</p></td><td valign="top"><p> </p><p>Amenity description</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   ExtraCharge</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>Indicates whether there is an extra charge for the amenity/service</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>   OnRequest</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>Indicates whether the amenity/service is on-request</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  Room</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>Indicates this is a room-level amenity</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>  Property</p></td><td valign="top"><p> </p><p>  0..1</p></td><td valign="top"><p> </p><p>  Boolean</p></td><td valign="top"><p> </p><p>Indicates this is a property-level amenity</p></td></tr><tr><td valign="top">HotelML/Reservation/TaxDetail</td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td valign="top">(*Only Applicable for “Enhanced_V2”)</td></tr><tr><td valign="top"> </td><td valign="top">EffectiveStartDate</td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The date that the tax is effective, if applicable. In format “2011-07-19”</p></td></tr><tr><td valign="top"> </td><td valign="top">EffectiveEndDate</td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The date that the tax expires, if applicable. In format “2011-07-19”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Type</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Coded field identifying the type of tax. Values are listed in appendix 1A</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Order</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Integer</p></td><td valign="top"><p> </p><p>Indicates the order in which the tax should be applied when calculating the total amount.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Basis</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates whether the tax is independent of all other charges, or whether it is compounded, meaning it must be calculated against the sum of all previous charges as well as the room rate. Values are "Compound" and “Independent"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Unit</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates whether the tax is a flat amount or percentage. Values are</p><p>"Monetary" and "Percentage"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Amount</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>The tax amount - expressed as a flat amount or percentage, depending on the value of Unit.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>CurrencyCode</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 3</p></td><td valign="top"><p> </p><p>Tax currency code</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Application</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates how the tax is to be applied. Values are "PerRoomPerStay", "PerRoomPerNight", "PerPersonPerStay", "PerPersonPerNight"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Description</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 64</p></td><td valign="top"><p> </p><p>Tax description</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Inclusive</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Boolean</p></td><td valign="top"><p> </p><p>Indicates whether it is inclusive of other taxes and fees</p></td></tr><tr><td valign="top"> </td><td valign="top">PaymentCollector Type</td><td valign="top">0..1</td><td valign="top">Enum.</td><td valign="top">Defines who collects the tax.  Values: “Hotel”, “TravelAgency” and “HotelOrAgency”</td></tr><tr><td valign="top"> </td><td valign="top">ComputationMode</td><td valign="top">0..1</td><td valign="top">Char 3</td><td valign="top"><p>Tax application mode:</p><p>-on Tax (tax on tax or fee)</p><p>-on Net (tax on amount before included taxes)</p><p>-on Rate (tax on amount containing included taxes)</p><p> </p><p>Valid Values- TAX , NET , RATE</p></td></tr><tr><td valign="top"> </td><td valign="top">ParentTaxID</td><td valign="top">0..1</td><td valign="top">Integer</td><td valign="top">Reference ID for tax on fee or tax on tax.</td></tr><tr><td valign="top">HotelML/Reservation/FeeDetail</td><td valign="top"> </td><td valign="top"> </td><td valign="top"> </td><td valign="top">(*Only Applicable for “Enhanced_V2”)</td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>EffectiveStartDate</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The date that the fee is effective, if applicable. In format “2011-07-19”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>EffectiveEndDate</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Date</p></td><td valign="top"><p> </p><p>The date that the fee expires, if applicable. In format “2011-07-19”</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Type</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Coded field identifying the type of Fee. Values are listed in appendix 1A</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Order</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Integer</p></td><td valign="top"><p> </p><p>Indicates the order in which the fee should be applied when calculating the total amount.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Basis</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates whether the fee is independent of all other charges, or whether it is compounded, meaning it must be calculated against the sum of all previous charges as well as the room rate. Values are "Compound" and “Independent"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Unit</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates whether the fee is a flat amount or percentage. Values are "Monetary" and "Percentage"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Amount</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Decimal</p></td><td valign="top"><p> </p><p>The fee amount - expressed as a flat amount or percentage, depending on the value of Unit.</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>CurrencyCode</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 3</p></td><td valign="top"><p> </p><p>Fee currency code</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Application</p></td><td valign="top"><p> </p><p>1</p></td><td valign="top"><p> </p><p>Enum.</p></td><td valign="top"><p> </p><p>Indicates how the fee is to be applied. Values are "PerRoomPerStay", "PerRoomPerNight", "PerPersonPerStay", "PerPersonPerNight"</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Description</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Char 64</p></td><td valign="top"><p> </p><p>Fee description</p></td></tr><tr><td valign="top"> </td><td valign="top"><p> </p><p>Inclusive</p></td><td valign="top"><p> </p><p>0..1</p></td><td valign="top"><p> </p><p>Boolean</p></td><td valign="top"><p> </p><p>Indicates whether it is inclusive of other taxes and fees</p></td></tr><tr><td valign="top"> </td><td valign="top">PaymentCollector Type</td><td valign="top">0..1</td><td valign="top">Enum.</td><td valign="top">Defines who collects the tax.  Values: “Hotel”, “TravelAgency” and “HotelOrAgency”</td></tr><tr><td valign="top"> </td><td valign="top">ComputationMode</td><td valign="top">0..1</td><td valign="top">Char 3</td><td valign="top"><p>Tax application mode:</p><p>-on Tax (tax on tax or fee)</p><p>-on Net (tax on amount before included taxes)</p><p>-on Rate (tax on amount containing included taxes)</p><p> </p><p>Valid Values- TAX , NET , RATE</p></td></tr><tr><td valign="top"> </td><td valign="top">ParentTaxID</td><td valign="top">0..1</td><td valign="top">Integer</td><td valign="top">Reference ID for tax on fee or tax on tax.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.rategain.com/ultradirect/ultradirect-transaction-sets-xml/booking-transactions/response-message-format-booking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
