United Nations Directories  for Electronic Data Interchange for
Administration, Commerce and Transport



UN/EDIFACT






                                           Message Type : RESMSG
                                           Version      : D
                                           Release      : 01C
                                           Contr. Agency: UN

                                           Revision     : 1
                                           Date         : 2001-11-07






SOURCE: D10 Travel, Tourism and Leisure (SWG)



                               CONTENTS

                          Reservation message

0.     INTRODUCTION

1.     SCOPE

       1.1   Functional definition

       1.2   Field of application

       1.3   Principles

2.     REFERENCES

3.     TERMS AND DEFINITIONS

       3.1   Standard terms and definitions

4.     MESSAGE DEFINITION

       4.1   Segment clarification

       4.2   Segment index (alphabetical sequence by tag)

       4.3   Message structure
             4.3.1 Segment table













----------------------------------------------------------------------
For general information on UN standard message types see UN Trade Data
Interchange Directory, UNTDID, Part 4, Section 2.3, UN/ECE UNSM
General Introduction
----------------------------------------------------------------------



0.     INTRODUCTION

       This specification provides the definition of the Reservation
       message (RESMSG) to be used in Electronic Data Interchange
       (EDI) between trading partners involved in administration,
       commerce and transport.

1.     SCOPE

1.1    Functional definition

       A Reservation message is sent by a tourism operator to one or
       more service providers in order to request desired services.
       These services may be subject to confirmation by any of the
       parties concerned.

1.2    Field of application

       The Reservation message may be used for both national and
       international applications. It is based on universal practice
       related to administration, commerce and transport, and is not
       dependent on the type of business or industry.

1.3    Principles

       A Reservation message may cover one or more services provided
       by one or more suppliers for a person or for a group of
       persons.
       
       This message is part of a scenario which includes research,
       availability query, reservation and cancellation of services
       relating to travel, tourism and leisure.
       
       The response to this message is the Supplier response message
       (SUPRES).

2.     REFERENCES

       See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General
       Introduction, Section 1.

3.     TERMS AND DEFINITIONS

3.1    Standard terms and definitions

       See UNTDID, Part 4, Chapter 2.3 UN/ECE UNSM - General
       Introduction, Section 2.

4.     MESSAGE DEFINITION

4.1    Segment clarification

       This section should be read in conjunction with the segment
       table which indicates mandatory, conditional and repeating
       requirements.

0010   UNH, Message header
       A service segment starting and uniquely identifying a message.
       The message type code for the Reservation message is RESMSG.

       Note: Reservation messages conforming to this document must
       contain the following data in segment UNH, composite S009:

       Data element  0065 RESMSG
                     0052 D
                     0054 01C
                     0051 UN

0020   BGM, Beginning of message
       A segment identifying the Reservation message.

0030   LAN, Language
       A segment identifying the language used in a transaction.

0040   PCD, Percentage details
       A segment containing a percentage factor which relates to the
       services or products requested in the whole message.

0050   PAI, Payment instructions
       A segment specifying a method of payment relating to the
       services or products requested in the whole message.

0060   DTM, Date/time/period
       A segment specifying a date that applies to the message, (e.g.
       date of this message, date until such message is valid).

0070   FTX, Free text
       A segment for information in coded or clear form to provide any
       other information related to the whole message.

0080   LOC, Place/location identification
       A segment containing location information pertaining to the
       services or products requested in the whole message.

0090   MOA, Monetary amount
       A segment containing the monetary amounts to be paid by the
       sender for all beneficiaries, services or products requested in
       the whole message.

0100 X PAT, Payment terms basis
       A segment specifying payment terms relating to the services or
       products requested in the whole message.

0110   FII, Financial institution information
       A segment containing financial institution information relating
       to the services or products requested in the whole message.


0120   Segment group 1:  RFF-DTM
       A group of segments indicating references relating to the
       message.

0130      RFF, Reference
          A segment containing references relating to the whole
          message.

0140      DTM, Date/time/period
          A segment specifying the date that applies to the previous
          reference.


0150   Segment group 2:  NAD-RFF-COM-LAN-SG3
       A group of segments identifying the sender and the receiver and
       all other parties involved in the transaction and how to
       communicate information to each of them.

0160      NAD, Name and address
          A segment providing name and address of the parties related
          to the message (sender, receiver, airline, agent).

0170      RFF, Reference
          A segment indicating any additional reference for the party
          identified in the preceding NAD segment.

0180      COM, Communication contact
          A segment containing communication information for the party
          identified in the preceding NAD segment.

0190      LAN, Language
          A segment indicating the language to be used by the party
          identified in the preceding NAD segment.


0200      Segment group 3:  CTA-COM-LAN
          A group of segments identifying a person or a department
          within a party specified in the preceding NAD segment and
          how to communicate with them.

0210         CTA, Contact information
             A segment identifying a person or a department for the
             party specified in the preceding NAD segment, and to whom
             the communication should be directed.

0220         COM, Communication contact
             A segment providing communication information for the
             person or department identified in the preceding CTA
             segment.

0230         LAN, Language
             A segment indicating the language to communicate with the
             person or department identified in the preceding CTA
             segment.


0240   Segment group 4:  SEQ-SG5-SG9
       A group of segments relating to the requested services and to
       the beneficiaries.

0250      SEQ, Sequence details
          A segment which provides a sequence number for later
          reference to a related service, product or beneficiary.


0260      Segment group 5:  IMD-QTY-LAN-DTM-NAD-RFF-PCD-PAI-PAT-FII-
                            DIM-FTX-SG6-SG7-SG8
          A group of segments identifying a particular service or
          product requested.

0270         IMD, Item description
             A segment identifying a particular product or service.

0280         QTY, Quantity
             A segment specifying a quantity related to the service or
             product identified in the preceding IMD segment.

0290         LAN, Language
             A segment indicating the language to be used for the
             requested service or product identified in the preceding
             IMD segment.

0300         DTM, Date/time/period
             A segment to indicate any date and/or time pertaining to
             the service or product identified in the preceding IMD
             segment.

0310         NAD, Name and address
             A segment specifying name and address information related
             to the service or product identified in the preceding IMD
             segment.

0320         RFF, Reference
             A segment containing reference relating to the service or
             product identified in the preceding IMD segment.

0330         PCD, Percentage details
             A segment containing percentage factors which relate to
             the service or product identified in the preceding IMD
             segment.

0340         PAI, Payment instructions
             A segment specifying methods of payment relating to the
             service or product identified in the preceding IMD
             segment.

0350 X       PAT, Payment terms basis
             A segment specifying payment terms for the service or
             product identified in an associated IMD segment.

0360         FII, Financial institution information
             A segment containing financial institution information
             relating to the service or product identified in the
             preceding IMD segment.

0370         DIM, Dimensions
             A segment providing dimensions which may be required for
             the provision of the service or product identified in the
             preceding IMD segment.

0380         FTX, Free text
             A segment for information in coded or clear form to
             provide any other information related to the service or
             product identified in the preceding IMD segment.


0390         Segment group 6:  LOC-NAD-DTM
             A group of segments identifying location and if necessary
             the name and address of a specific place connected with
             this location.

0400            LOC, Place/location identification
                A segment containing location information pertaining
                to the service or product identified in the preceding
                IMD segment.

0410            NAD, Name and address
                A segment providing name and address information
                relating to the information specified in the preceding
                LOC segment.

0420            DTM, Date/time/period
                A segment providing date and/or time information
                relating to the information specified in the preceding
                LOC segment.


0430         Segment group 7:  MOA-QTY
             A group of segments containing the monetary amount to be
             paid related to the quantity of the service or product
             identified in the preceding IMD segment.

0440            MOA, Monetary amount
                A segment containing the monetary amount to be paid by
                the sender for the service or product identified in
                the preceding IMD segment.

0450            QTY, Quantity
                A segment specifying a quantity related to the service
                or product identified in the IMD segment.


0460         Segment group 8:  RCS-FII-MOA-RFF-FTX
             A group of segments providing special conditions or
             additional requirements related to the service or product
             identified in the preceding IMD segment.

0470            RCS, Requirements and conditions
                A segment to specify types of requirements attached to
                the provision of a service.

0480            FII, Financial institution information
                A segment containing financial institution information
                relating to the special conditions or requirements
                identified in the preceding RCS segment.

0490            MOA, Monetary amount
                A segment containing the monetary amount to be paid by
                the sender for the special conditions or requirements
                identified in the preceding RCS segment.

0500            RFF, Reference
                A segment containing reference information relating to
                the special conditions or requirements identified in
                the preceding RCS segment.

0510            FTX, Free text
                A segment for information in coded or clear form to
                provide any other information related to the preceding
                RCS segment.


0520      Segment group 9:  MEM-SG10
          A group of segments containing information pertaining to the
          beneficiaries of the services or products requested in the
          message.

0530         MEM, Membership details
             A segment specifying relationship between persons within
             a group.


0540         Segment group 10: NAD-ATT-RFF-LAN-FTX-COM-SG11-SG12-SG13-
                               SG14
             A group of segments providing information related to a
             group or an individual beneficiary.

0550            NAD, Name and address
                A segment specifying name and address information
                related to the preceding MEM segment.

0560            ATT, Attribute
                A segment specifying an attribute related to the
                preceding NAD segment.

0570            RFF, Reference
                A segment providing reference information related to
                the preceding NAD segment.

0580            LAN, Language
                A segment providing language information which relates
                to the preceding NAD segment.

0590            FTX, Free text
                A segment for information in coded or clear form to
                provide any other information related to the preceding
                NAD segment.

0600            COM, Communication contact
                A segment providing communication information related
                to the preceding NAD segment.


0610            Segment group 11: CTA-COM
                A group of segments providing contact information
                related to the NAD segment.

0620               CTA, Contact information
                   A segment providing contact information related to
                   the preceding NAD segment.

0630               COM, Communication contact
                   A segment providing communication information
                   related to the preceding CTA segment.


0640            Segment group 12: DOC-LOC-DTM
                A group of segments providing documentation
                information related to the preceding NAD segment.

0650               DOC, Document/message details
                   A segment indicating a type of document (e.g.
                   passport, visa, driving licence, vaccination
                   certificate, etc...) related to the preceding NAD
                   segment.

0660               LOC, Place/location identification
                   A segment identifying the place of issue of the
                   document referenced in the preceding DOC segment.

0670               DTM, Date/time/period
                   A segment indicating the date of issue of the
                   document referenced in the preceding DOC segment.


0680            Segment group 13: PAI-PAT-FII-MOA-RFF
                A group of segments providing payment information,
                payment terms, financial institution, monetary amount
                and references related to the preceding NAD segment.

0690               PAI, Payment instructions
                   A segment specifying a method of payment relating
                   to the preceding NAD segment.

0700 X             PAT, Payment terms basis
                   A segment providing payment terms related to the
                   preceding PAI segment.

0710               FII, Financial institution information
                   A segment providing financial institution
                   information relating to preceding PAI segment.

0720               MOA, Monetary amount
                   A segment providing monetary information (e.g. a
                   rate request, maximum price, etc...) related to the
                   preceding PAI segment.

0730               RFF, Reference
                   A segment providing reference information related
                   to the preceding PAI segment.


0740            Segment group 14: RCS-MOA-RFF-FTX
                A group of segments providing information of special
                requirements or conditions related to the preceding
                NAD segment.

0750               RCS, Requirements and conditions
                   A segment to specify a type of requirement (e.g.
                   special diet needs, handicapped facilities, etc...)
                   related to the preceding NAD segment.

0760               MOA, Monetary amount
                   A segment providing a monetary amount related to
                   the preceding RCS segment.

0770               RFF, Reference
                   A segment containing reference information relating
                   to the preceding RCS segment.

0780               FTX, Free text
                   A segment specifying information in coded or clear
                   form to provide any other information related to
                   the preceding RCS segment.

0790   UNT, Message trailer
       A service segment ending a message, giving the total number of
       segments in the message (including the UNH & UNT) and the
       control reference number of the message.

4.2    Segment index (alphabetical sequence by tag)

          ATT Attribute
          BGM Beginning of message
          COM Communication contact
          CTA Contact information
          DIM Dimensions
          DOC Document/message details
          DTM Date/time/period
          FII Financial institution information
          FTX Free text
          IMD Item description
          LAN Language
          LOC Place/location identification
          MEM Membership details
          MOA Monetary amount
          NAD Name and address
          PAI Payment instructions
       X  PAT Payment terms basis
          PCD Percentage details
          QTY Quantity
          RCS Requirements and conditions
          RFF Reference
          SEQ Sequence details
          UNH Message header
          UNT Message trailer

4.3 Message structure 4.3.1 Segment table Pos Tag Name S R 0010 UNH Message header M 1 0020 BGM Beginning of message M 1 0030 LAN Language C 1 0040 PCD Percentage details C 1 0050 PAI Payment instructions C 1 0060 DTM Date/time/period C 5 0070 FTX Free text C 5 0080 LOC Place/location identification C 2 0090 MOA Monetary amount C 5 0100 X PAT Payment terms basis C 10 0110 FII Financial institution information C 5 0120 ----- Segment group 1 ------------------ C 5-----------+ 0130 RFF Reference M 1 | 0140 DTM Date/time/period C 1-----------+ 0150 ----- Segment group 2 ------------------ C 5-----------+ 0160 NAD Name and address M 1 | 0170 RFF Reference C 5 | 0180 COM Communication contact C 5 | 0190 LAN Language C 1 | | 0200 ----- Segment group 3 ------------------ C 5----------+| 0210 CTA Contact information M 1 || 0220 COM Communication contact C 5 || 0230 LAN Language C 1----------++ 0240 ----- Segment group 4 ------------------ C 99----------+ 0250 SEQ Sequence details M 1 | | 0260 ----- Segment group 5 ------------------ C 99---------+| 0270 IMD Item description M 1 || 0280 QTY Quantity C 1 || 0290 LAN Language C 1 || 0300 DTM Date/time/period C 20 || 0310 NAD Name and address C 1 || 0320 RFF Reference C 99 || 0330 PCD Percentage details C 1 || 0340 PAI Payment instructions C 1 || 0350 X PAT Payment terms basis C 5 || 0360 FII Financial institution information C 5 || 0370 DIM Dimensions C 2 || 0380 FTX Free text C 5 || || 0390 ----- Segment group 6 ------------------ C 10--------+|| 0400 LOC Place/location identification M 1 ||| 0410 NAD Name and address C 1 ||| 0420 DTM Date/time/period C 10--------+|| || 0430 ----- Segment group 7 ------------------ C 99--------+|| 0440 MOA Monetary amount M 1 ||| 0450 QTY Quantity C 1---------+|| || 0460 ----- Segment group 8 ------------------ C 10--------+|| 0470 RCS Requirements and conditions M 1 ||| 0480 FII Financial institution information C 5 ||| 0490 MOA Monetary amount C 2 ||| 0500 RFF Reference C 1 ||| 0510 FTX Free text C 1---------++| | 0520 ----- Segment group 9 ------------------ C 99---------+| 0530 MEM Membership details M 1 || || 0540 ----- Segment group 10 ------------------ C 99--------+|| 0550 NAD Name and address M 1 ||| 0560 ATT Attribute C 99 ||| 0570 RFF Reference C 99 ||| 0580 LAN Language C 1 ||| 0590 FTX Free text C 5 ||| 0600 COM Communication contact C 5 ||| ||| 0610 ----- Segment group 11 ------------------ C 1--------+||| 0620 CTA Contact information M 1 |||| 0630 COM Communication contact C 5--------+||| ||| 0640 ----- Segment group 12 ------------------ C 5--------+||| 0650 DOC Document/message details M 1 |||| 0660 LOC Place/location identification C 1 |||| 0670 DTM Date/time/period C 10-------+||| ||| 0680 ----- Segment group 13 ------------------ C 10-------+||| 0690 PAI Payment instructions M 1 |||| 0700 X PAT Payment terms basis C 1 |||| 0710 FII Financial institution information C 1 |||| 0720 MOA Monetary amount C 1 |||| 0730 RFF Reference C 9--------+||| ||| 0740 ----- Segment group 14 ------------------ C 10-------+||| 0750 RCS Requirements and conditions M 1 |||| 0760 MOA Monetary amount C 2 |||| 0770 RFF Reference C 2 |||| 0780 FTX Free text C 1--------++++ 0790 UNT Message trailer M 1

Copyright United Nations, all rights reserved
 
UN Economic Commission for Europe
Palais des Nations, CH-1211 Geneva 10, Switzerland
Tel: +41-22 917 2016 Fax: +41-22 917 0037 E-mail: TradeMaster@unece.org
 
UN/EDIFACT Directories