In the response message, within the tag response, you can find the list of bookings. You can see the fields desrcibed below:

  • envelope/response/bookings/booking/[dossier number] contains the dossier number
  • envelope/response/bookings/booking/[service name] contains the booking code
  • envelope/response/bookings/booking/[status] conteins status of booking cnf, cxl, snt, snd, rej
  • envelope/response/bookings/booking/[customer code] contains the agency code (the booking reference for the agency who has performed the reservation).
  • envelope/response/bookings/booking/[customertaxcode] contains the customer tax code (VAT number)
  • envelope/response/bookings/booking/[service data] contains the effective date of the service
  • envelope/response/bookings/booking/[service type] contains service type (e.g. 1 = hotel, 2 = cars)
  • envelope/response/bookings/booking/[lastmodified date] shows when the booking has been modified the last time (date).
  • envelope/response/bookings/booking/[lastmodified time] shows when the booking has been modified the last time (time hh:mm:sec)
  • envelope/response/bookings/booking/[creation date] contains the booking creation date
  • envelope/response/bookings/booking/[creation time] contains the booking creation time hh:mm:sec
  • envelope/response/invoices/invoice/issuer[code] contains the code of the office to which the agency (that performed the booking) refers.
  • envelope/response/invoices/invoice/issuer[name] contains the name of the office to which the agency (that performed the booking) refers.
  • envelope/response/invoices/invoice/issuer[address] contains the address of the office to which the agency (that performed the booking) refers.
  • envelope/response/invoices/invoice/issuer[country] contains the country of the office to which the agency (that performed the booking) refers.
  • envelope/response/invoices/invoice/issuer[city] contains the city of the office to which the agency (that performed the booking) refers.
  • envelope/response/invoices/invoice/issuer[zip] contains the zip code of the office to which the agency (that performed the booking) refers.
  • envelope/response/bookings/booking/[supplier reference] contains the booking reference in the supplier system.
  • envelope/response/bookings/booking/[currency type] contains the currency type
  • envelope/response/bookings/booking/[net amount] contains the net amount
  • envelope/response/bookings/booking/[sell amount] contains the sell amount
<envelope>
    <header>
        <version> 1.0.0</version>
        <timestamp> 1258554877</timestamp>
    </header>
    <response type="listall" product="bookings">
        <bookings>
            <booking>
                <dossier number="2020-100905"/>
                <service name="2020-108746"/>
                <customer code="PATICO"/>
                <customertaxcode>00637950015</customertaxcode>
                <service date="2020-05-08"/>
                <service type="3"/>
                <lastmodified date="2020-06-09"/>
                <creation date="2020-03-27"/>
                <issuer code="albafra">
                    <name>Albatravel France</name>
                    <address>110 rue Saint-Dominique 75007 PARIS</address>
                </issuer>
                <supplier reference="W2009-22724" />
                <currency type="EUR" />
                <incee>true</incee>
                <net amount="182.171"/>
                <sell amount="182.171"/>
            </booking>
            <booking>
                <dossier number="2020-100905"/>
                <service name="2020-108751"/>
                <customer code="PATICO"/>
                 <customertaxcode>00637950015</customertaxcode>
                <service date="2020-05-10"/>
                <service type="3"/>
                <lastmodified date="2020-06-09"/>
                <creation date="2020-03-27"/>
                <issuer code="albafra">
                    <name>Albatravel France</name>
                    <address>110 rue Saint-Dominique 75007 PARIS</address>
                </issuer>
                <supplier reference="W2009-22725"/>
                <currency type="EUR"/>
                <incee> true</incee>
                <net amount="182.171"/>
                <sell amount="182.171"/>
            </booking>
            <booking>
                <dossier number="2020-103869"/>
                <service name="2020-112033"/>
                <customer code="PATICO"/>
                <customertaxcode>00637950015</customertaxcode>
                <service date="2020-05-29"/>
                <service type="1"/>
                <lastmodified date="2020-06-01"/>
                <creation date="2020-03-30"/>
                <issuer code="albafra">
                    <name>Albatravel France</name>
                    <address>110 rue Saint-Dominique 75007 PARIS</address>
                </issuer>
                <supplier reference="JCAP3251704"/>
                <currency type="EUR"/>
                <incee>true</incee>
                <net amount="209"/>
                <sell amount="209"/>
            </booking>
        </bookings>
    </response>
</envelope>