For the complete documentation index, see llms.txt. This page is also available as Markdown.

Response message format - Booking

HotelML/Head

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)

HotelML/Reservation

0..1

xml:lang

0..1

Char 2

Language of the response. Only returned if a language other than English is requested (by including the Locale element).

BookedRate

0..1

Decimal

Booked room rate

ConfirmationNumber

0..1

Char 6-80

Only returned for committed transactions.

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.

If using active session control then this is returned in the response to the

SessionControl message.

CancellationNumber

0..1

Char 6-80

Only returned for cancelled bookings that are committed.

If using passive session control (or no session control) then this isreturned in the successful response to a CancelReservation message.

If using active session control then this is returned in the response to the

SessionControl message.

CurrencyCode

0..1

Char 3

Currency code of booked rate

HoldReservationTime

0..1

Time

Hold time for the reservation if not guaranteed

HotelComments

0..1

Char 324

Free-format text comments

HotelRoomType

0..1

Char 20

Hotel CRS native room type code

InDate

1

Date

Arrival date, in format “2011-07-13”

OutDate

1

Date

Departure date in format “2011-07-16”

CheckInText

0..1

Char 64.

Free-format check-in text comments

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

CommissionableStatus

0..1

Enum.

Specifies whether the rate is commissionable. Values are: “Commissionable”,

“NonCommissionable” and “Unknown”

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

NonRefundableStay

0..1

Boolean

Indicates whether the rate is non-refundable.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

CredentialsRequired

0..1

Boolean

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.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PropertyCode

1

Char 10

Chain and property code, separated by a semi-colon – e.g. “UI;AB1234”

NumberOfPersons

0..1

Integer

Number of paying guests per room

RateGuaranteed

0..1

Boolean

Set to “true” if rate is guarantee or “false” of a quote.

RatePlanCode

0..1

Char 10

Rate plan code (same as in request message)

RatePlanDescription

0..1

Char

Rate plan description

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

RateFrequency

0..1

Enum

Denotes the frequency of the rate. "Daily", "Nightly", "Weekly", "Monthly",

"PerStay", "Weekend"

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

RoomTypeCode

0..1

Char 10

Room type code (same as in request message)

SessionID

0..1

Char

Only returned when using session control and reservation is not yet committed – i.e. Session=”New” is included in the request message.

RateChange

0..1

Boolean

Denotes if the rate has changed

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

TaxInformation

0..1

Char 104

Tax description

Token

0..1

Char

Token generated by UltraDirect

TotalBookedInclusiveFees

0..1

Decimal

Estimated total price per room based on request parameters, including all

known taxes and fees.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

TotalBookedInclusive

0..1

Decimal

Estimated total price per room based on request parameters, including all known taxes, fees and surcharges.

TotalBookedRate

0..1

Decimal

Estimated total price per room based on request parameters, excluding all known taxes, fees and surcharges.

TotalTaxes

0..1

Decimal

Total tax amount.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

TotalSurcharges

0..1

Decimal

Total Surcharges.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

HotelML/Reservation/DepositPolicy

0..1

This element is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

Time

0..1

Time

The time the deposit payment is required.

Date

0..1

Date

The date by when the deposit payment must be made. Can be used in conjunction with the existing Time attribute

TimeInterval

0..1

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.

IntervalUnits

0..1

Enum

Specifies the type of TimeInterval. Values are “Hours”, “Days”, “Weeks”, “Months”

IntervalOffsetType

0..1

Enum.

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)

Values are: “BeforeArrival” and “AfterBooking”

Amount

0..1

Decimal

The deposit payment amount that is required by the deadline

HotelML/Reservation/PrePayPolicy

0..1

This element is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

Time

0..1

Time

The time the prepayment is required.

Date

0..1

Date

The date by when the prepayment must be made. Can be used in conjunction with the existing Time attribute

TimeInterval

0..1

Used with IntervalUnits and optionally IntervalOffsetType to specify the number of days/weeks prior to arrival (or after booking) that the prepayment is required.

IntervalUnits

0..1

Enum

Specifies the type of TimeInterval. Values are “Hours”, “Days”, “Weeks”, “Months”

IntervalOffsetType

0..1

Enum.

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)

Values are: “BeforeArrival” and “AfterBooking”

Amount

0..1

Decimal

The prepayment amount that is required by the deadline

HotelML/Reservation/CancelPolicy

0..1

Cancellation policy

Description

0..1

Char 314

Cancellation policy description

Time

0..1

Time

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).

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

Date

0..1

Date

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.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

TimeInterval

0..1

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.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

IntervalUnits

0..1

Enum

Specifies the type of TimeInterval. Values are “Hours”, “Days”, “Weeks”, “Months”

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

IntervalOffsetType

0..1

Enum.

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”

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PenaltyAmount

0..1

Decimal

The cancellation penalty expressed as a monetary amount.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PenaltyAmountTaxIndic

ator

0..1

Enum.

Indicates whether the penalty amount includes or excludes taxes. Values are: “Inclusive”, “Exclusive” and “Unknown”.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PenaltyAmountFeeIn

dicator

0..1

Enum.

Indicates whether the penalty amount includes or excludes fees. Values are: “Inclusive”, “Exclusive” and “Unknown”.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PenaltyNights

0..1

Integer

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").

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PenaltyPercentage

0..1

Decimal

The cancellation penalty expressed as a percentage. The associated PenaltyNights and PercentageQualifier indicate what this is a percentage of.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

PercentageQualifier

0..1

Enum.

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"). 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"). Values are: “FullStay”, “FirstLast”, “Nights”

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

HotelML/Reservation/

CommissionPolicy

0..1

This element is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

Percentage

0..1

Decimal

Commission payable expressed as a percentage of the booking value

HotelML/Reservation/ ExtraBed

0..3

Charges for rollaways and cribs/cots.

Charge

1

Decimal

Charge for the rollaway/crib.

Currency

0..1

Char 3

Type

1

1

Values “ChildRollAway”, “AdultRollAway”, “Crib”.

HotelML/Reservation/ ExtraPerson

0..2

Charge

1

Decimal

Charge for the extra adult or child

Currency

0..1

Char 3

Type

1

Enum.

Values “Adult” and “Child”

HotelML/Reservation

/GuaranteePolicy

0..1

Description

0..1

Char

Guarantee policy description

HoldTime

0..1

Time

The time (on day of arrival) that the room will be held.

This attribute is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

HotelML/Reservation/Guest

1..M

Total length of Title + FirstName + LastName + MiddleName + Suffix will not exceed 95 characters

FirstName

1

Char

Guest’s first name or initials

LastName

1

Char

Guest’s last name

MiddleName

0..1

Char

Guest’s middle name or initial (optional)

NumberOfAdults

0..1

Integer

Number of adults staying per room. Normally at least one adult is required per room.

NumberOfChildren

0..1

Integer

Number of children staying per room

NumberOfRooms

1

Integer

Number of rooms (of the specified type and rate) to be booked.

Primary

Boolean

Indicates whether the Guest element if for the primary guest. One and only one Guest element must have Primary=”true”

Suffix

0..1

Char

Guest name suffix

Title

0..1

Char

Guest name title

HotelML/Reservation/ RateChange

0..M

This may be returned if the nightly rate changes during the stay.

Charge

1

Decimal

The room rate

CurrencyCode

0..1

Char 3

Currency code of the room rate – will be in the same currency as the bookable room rate

Date

1

Date

The start of the date range for which the rate applies.

Frequency

0..1

Enum

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"

MoreRateChange

0..1

Boolean

Only set to “true” in the last RateChange element if there are additional rate changes that have not been returned in the response.

HotelML/Reservation/Amenity

0..6

This can repeat up to 6 times for amenities/services.

This element is an enhanced booking feature, and VersionCompliance must

be set to “EnhancedBook_V1” in the request for this to be returned in the

response.

Code

1

Char 6

Amenity code. This is a string for Enhanced V2. For V1 please see Appendix 1b for possible values . (*Only Applicable for “Enhanced_V2”)

Confirmable

0..1

Boolean

Indicates whether the amenity/service is confirmable

Description

0..1

Char 30

Amenity description

ExtraCharge

0..1

Boolean

Indicates whether there is an extra charge for the amenity/service

OnRequest

0..1

Boolean

Indicates whether the amenity/service is on-request

Room

0..1

Boolean

Indicates this is a room-level amenity

Property

0..1

Boolean

Indicates this is a property-level amenity

HotelML/Reservation/TaxDetail

(*Only Applicable for “Enhanced_V2”)

EffectiveStartDate

0..1

Date

The date that the tax is effective, if applicable. In format “2011-07-19”

EffectiveEndDate

0..1

Date

The date that the tax expires, if applicable. In format “2011-07-19”

Type

0..1

Enum.

Coded field identifying the type of tax. Values are listed in appendix 1A

Order

0..1

Integer

Indicates the order in which the tax should be applied when calculating the total amount.

Basis

0..1

Enum.

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"

Unit

0..1

Enum.

Indicates whether the tax is a flat amount or percentage. Values are

"Monetary" and "Percentage"

Amount

1

Decimal

The tax amount - expressed as a flat amount or percentage, depending on the value of Unit.

CurrencyCode

0..1

Char 3

Tax currency code

Application

1

Enum.

Indicates how the tax is to be applied. Values are "PerRoomPerStay", "PerRoomPerNight", "PerPersonPerStay", "PerPersonPerNight"

Description

0..1

Char 64

Tax description

Inclusive

0..1

Boolean

Indicates whether it is inclusive of other taxes and fees

PaymentCollector Type

0..1

Enum.

Defines who collects the tax. Values: “Hotel”, “TravelAgency” and “HotelOrAgency”

ComputationMode

0..1

Char 3

Tax application mode:

-on Tax (tax on tax or fee)

-on Net (tax on amount before included taxes)

-on Rate (tax on amount containing included taxes)

Valid Values- TAX , NET , RATE

ParentTaxID

0..1

Integer

Reference ID for tax on fee or tax on tax.

HotelML/Reservation/FeeDetail

(*Only Applicable for “Enhanced_V2”)

EffectiveStartDate

0..1

Date

The date that the fee is effective, if applicable. In format “2011-07-19”

EffectiveEndDate

0..1

Date

The date that the fee expires, if applicable. In format “2011-07-19”

Type

0..1

Enum.

Coded field identifying the type of Fee. Values are listed in appendix 1A

Order

0..1

Integer

Indicates the order in which the fee should be applied when calculating the total amount.

Basis

0..1

Enum.

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"

Unit

0..1

Enum.

Indicates whether the fee is a flat amount or percentage. Values are "Monetary" and "Percentage"

Amount

1

Decimal

The fee amount - expressed as a flat amount or percentage, depending on the value of Unit.

CurrencyCode

0..1

Char 3

Fee currency code

Application

1

Enum.

Indicates how the fee is to be applied. Values are "PerRoomPerStay", "PerRoomPerNight", "PerPersonPerStay", "PerPersonPerNight"

Description

0..1

Char 64

Fee description

Inclusive

0..1

Boolean

Indicates whether it is inclusive of other taxes and fees

PaymentCollector Type

0..1

Enum.

Defines who collects the tax. Values: “Hotel”, “TravelAgency” and “HotelOrAgency”

ComputationMode

0..1

Char 3

Tax application mode:

-on Tax (tax on tax or fee)

-on Net (tax on amount before included taxes)

-on Rate (tax on amount containing included taxes)

Valid Values- TAX , NET , RATE

ParentTaxID

0..1

Integer

Reference ID for tax on fee or tax on tax.

Last updated