Document ID XML Sample

The Customer / Document structure is used for passing on information received from channels/OTAS in regards to additional guest identity information such as passport #, identification card # etc...

Example of a reservation with detailed document information for the guest.

<OTA_ResRetrieveRS xmlns="http://www.opentravel.org/OTA/2003/05" Version="1.0" TimeStamp="2022-08-01T09:32:47+08:00" EchoToken="echo-abc123">
  <Success/>
  <ReservationsList>
   <HotelReservation CreateDateTime="2022-07-01T18:29:35+00:00" ResStatus="Book">
    <POS>
        <Source>
            <RequestorID Type="22" ID="SITEMINDER"/>
            <BookingChannel Type="7" Primary="true">
                <CompanyName Code="BDC">****</CompanyName>
            </BookingChannel>
        </Source>
    </POS>
    <UniqueID Type="14" ID="BDC-3658173719"/>
    <UniqueID Type="16" ID="X-UNIQUE_ID_PLACEHOLDER-X" ID_Context="MESSAGE_UNIQUE_ID"/>
    <RoomStays>
        <RoomStay>
            <RoomTypes>
                <RoomType RoomType="Grand Deluxe Doppelzimmer - General - Breakfast included - " RoomTypeCode="LX">
                    <RoomDescription>
                        <Text>****</Text>
                    </RoomDescription>
                </RoomType>
            </RoomTypes>
            <RatePlans>
                <RatePlan ExpireDate="2022-08-04" EffectiveDate="2022-08-03" RatePlanCode="2p">
                    <AdditionalDetails>
                        <AdditionalDetail Type="43">
                            <DetailDescription>
                                <Text>****</Text>
                            </DetailDescription>
                        </AdditionalDetail>
                    </AdditionalDetails>
                </RatePlan>
            </RatePlans>
            <RoomRates>
                <RoomRate NumberOfUnits="1" RatePlanCode="2p" RoomTypeCode="LX">
                    <Rates>
                        <Rate ExpireDate="2022-08-04" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2022-08-03">
                            <Total AmountAfterTax="217.00" CurrencyCode="EUR"/>
                        </Rate>
                    </Rates>
                </RoomRate>
            </RoomRates>
            <GuestCounts>
                <GuestCount Count="2" AgeQualifyingCode="10"/>
            </GuestCounts>
            <TimeSpan End="2022-08-04" Start="2022-08-03"/>
            <Total AmountAfterTax="217.00" CurrencyCode="EUR"/>
            <BasicPropertyInfo HotelCode="1CH28577"/>
            <ResGuestRPHs>
                <ResGuestRPH RPH="1"/>
            </ResGuestRPHs>
            <Comments>
                <Comment>
                    <Text>****</Text>
                </Comment>
            </Comments>
        </RoomStay>
    </RoomStays>
    <ResGuests>
        <ResGuest ResGuestRPH="1" PrimaryIndicator="true">
            <Profiles>
                <ProfileInfo>
                    <Profile ProfileType="1">
                        <Customer>
                            <PersonName>
                                <GivenName>****</GivenName>
                                <Surname>****</Surname>
                            </PersonName>
                            <Address/>
                        </Customer>
                    </Profile>
                </ProfileInfo>
            </Profiles>
        </ResGuest>
    </ResGuests>
    <ResGlobalInfo>
        <Guarantee>
            <GuaranteesAccepted>
                <GuaranteeAccepted>
                    <PaymentCard CardNumber="X-PAYMENT_CARD_NO_PLACEHOLDER-X" ExpireDate="0621" CardType="1" CardCode="MC">
                        <CardHolderName>****</CardHolderName>
                    </PaymentCard>
                </GuaranteeAccepted>
            </GuaranteesAccepted>
        </Guarantee>
        <Fees>
            <Fee Amount="26.04" Type="Inclusive" TaxInclusive="true" Code="27">
                <Description Name="Commission">
                    <Text>****</Text>
                </Description>
            </Fee>
        </Fees>
        <Total AmountAfterTax="217.00" CurrencyCode="EUR"/>
        <HotelReservationIDs>
            <HotelReservationID ResID_Type="14" ResID_Value="3658173719"/>
        </HotelReservationIDs>
        <Profiles>
            <ProfileInfo>
                <Profile ProfileType="1">
                    <Customer>
                        <Document DocID="P123456" DocType="18" Gender="unknown" BirthDate="1920-02-29" BirthCountry="US" BirthPlace="Sydney" DocHolderNationality="AU" DocIssueAuthority="ImmigionNNNNNNNN" DocIssueCountry="AU" DocIssueLocation="Sydney" DocIssueStateProvince="QLD" EffectiveDate="2020-01-01" ExpireDate="2025-01-01">
                              <DocumentHolderName>Test Person</DocumentHolderName>
                        </Document>
                        <PersonName>
                            <GivenName>****</GivenName>
                            <Surname>****</Surname>
                        </PersonName>
                        <Telephone PhoneNumber="****"/>
                        <Email>****</Email>
                        <Address>
                            <CountryName>****</CountryName>
                        </Address>
                    </Customer>
                </Profile>
            </ProfileInfo>
        </Profiles>
        <Comments>
            <Comment>
                <Text>****</Text>
            </Comment>
        </Comments>
        <BasicPropertyInfo HotelCode="1CH28577"/>
    </ResGlobalInfo>
   </HotelReservation>
  </ReservationsList>
</OTA_ResRetrieveRS>