3.   Service simple data element specifications

     Change indicators

     a plus sign (+)    for an addition
     an asterisk (*)    for an amendment to structure
     a hash sign (#)    for changes to names
     a vertical bar (|) for changes to text for descriptions,
                        notes and functions
     a minus sign (-)   for a deletion
     an X sign (X)      for marked for deletion
------------------------------------------------------------------------------

   0001  Syntax identifier

   Desc: Coded identification of the agency controlling the syntax, and of the
         character repertoire used in an interchange.

   Repr: a4

   Note 1: The data value consists of the letters 'UN', upper case,
           identifying the syntax controlling agency, directly followed by an
           a2 code identifying the character repertoire used.

------------------------------------------------------------------------------

   0002  Syntax version number

   Desc: Version number of the syntax.

   Repr: an1

   Note 1: Shall be '4' to indicate this version of the syntax.

------------------------------------------------------------------------------

   0004  Interchange sender identification

   Desc: Name or coded identification of the sender of the interchange.

   Repr: an..35

   Note 1: Organisation code or name as agreed between interchange partners.
   Note 2: If coded representation is used, its source may be specified by the
           qualifier in data element 0007.

------------------------------------------------------------------------------

   0007  Identification code qualifier

   Desc: Qualifier referring to the identification code.

   Repr: an..4

   Note 1: A qualifier code may refer to an organisation identification as in
           ISO 6523.

------------------------------------------------------------------------------

   0008  Interchange sender internal identification

   Desc: Identification (for example, a division, branch or computer
         system/process) specified by the sender of interchange, to be
         included if agreed, by the recipient in response interchanges, to
         facilitate internal routing.

   Repr: an..35

------------------------------------------------------------------------------

   0010  Interchange recipient identification

   Desc: Name or coded identification of the recipient of the interchange.

   Repr: an..35

   Note 1: Organisation code or name as agreed between interchange partners.
   Note 2: If coded representation is used, its source may be specified by the
           qualifier in data element 0007.

------------------------------------------------------------------------------

   0014  Interchange recipient internal identification

   Desc: Identification (for example, a division, branch or computer
         system/process) specified by the recipient of interchange, to be
         included if agreed, by the sender in response interchanges, to
         facilitate internal routing.

   Repr: an..35

------------------------------------------------------------------------------

   0017  Date

   Desc: Local date when an interchange or a group was prepared.

   Repr: n8

   Note 1: Format is CCYYMMDD.

------------------------------------------------------------------------------

   0019  Time

   Desc: Local time of day when an interchange or a group was prepared.

   Repr: n4

   Note 1: Format is HHMM in 24 hour clock.

------------------------------------------------------------------------------

   0020  Interchange control reference

   Desc: Unique reference assigned by the sender to an interchange.

   Repr: an..14

------------------------------------------------------------------------------

   0022  Recipient reference/password

   Desc: Reference or password to the recipient's system or to a third party
         network as specified in the partners' interchange agreement.

   Repr: an..14

   Note 1: To be used as specified in the partners' interchange agreement. It
           may be qualified by data element 0025.

------------------------------------------------------------------------------

   0025  Recipient reference/password qualifier

   Desc: Qualifier for the recipient's reference or password.

   Repr: an2

   Note 1: To be used as specified in the partners' interchange agreement.

------------------------------------------------------------------------------

   0026  Application reference

   Desc: Identification of the application area assigned by the sender, to
         which the messages in the interchange relate e.g. the message type,
         if all the messages in the interchange are of the same type.

   Repr: an..14

   Note 1: Identification of the application area (e.g. accounting,
           purchasing) or of the message type, as applicable.

------------------------------------------------------------------------------

   0029  Processing priority code

   Desc: Code determined by the sender requesting processing priority for the
         interchange.

   Repr: a1

   Note 1: To be used as specified in the partners' interchange agreement.

------------------------------------------------------------------------------

   0031  Acknowledgement request

   Desc: Code requesting acknowledgement for the interchange.

   Repr: n1

   Note 1: Used if the sender requests that a message related to syntactical
           correctness be sent by the recipient in response.
   Note 2: For UN/EDIFACT a specific message (Syntax and service report -
           CONTRL) is defined for this purpose.

------------------------------------------------------------------------------

   0032  Interchange agreement identifier

   Desc: Identification by name or code of the type of agreement under which
         the interchange takes place.

   Repr: an..35

   Note 1: Name or code to be specified in the partners' interchange
           agreement.

------------------------------------------------------------------------------

   0035  Test indicator

   Desc: Indication that the structural level containing the test indicator is
         a test.

   Repr: n1

------------------------------------------------------------------------------

   0036  Interchange control count

   Desc: The number of messages and packages in an interchange or, if used,
         the number of groups in an interchange.

   Repr: n..6

------------------------------------------------------------------------------

X  0038  Message group identification

   Desc: Identification of the single message type in the group.

   Repr: an..6

   Note 1: This data element will be deleted from the next version of the
           standard. Therefore its use is not recommended.

------------------------------------------------------------------------------

   0040  Application sender identification

   Desc: Name or coded identification of the application sender (for example,
         a division, branch or computer system/process).

   Repr: an..35

------------------------------------------------------------------------------

   0042  Interchange sender internal sub-identification

   Desc: Sub-level of sender internal identification, when further sub-level
         identification is required.

   Repr: an..35

------------------------------------------------------------------------------

   0044  Application recipient identification

   Desc: Name or coded identification of the application recipient (for
         example, a division, branch or computer system/process).

   Repr: an..35

------------------------------------------------------------------------------

   0046  Interchange recipient internal sub-identification

   Desc: Sub-level of recipient internal identification, when further
         sub-level identification is required.

   Repr: an..35

------------------------------------------------------------------------------

   0048  Group reference number

   Desc: Unique reference number for the group within an interchange.

   Repr: an..14

------------------------------------------------------------------------------

   0051  Controlling agency, coded

   Desc: Code identifying a controlling agency.

   Repr: an..3

------------------------------------------------------------------------------

   0052  Message version number

   Desc: Version number of a message type.

   Repr: an..3

------------------------------------------------------------------------------

|  0054  Message release number

   Desc: Release number within the current message version number.

   Repr: an..3

|  Note 1: From UN/EDIFACT Directory release '04A', the more recent code 
           values for this data element shall be derived directly from the 
           UN/EDIFACT directory release number of the referenced message.

------------------------------------------------------------------------------

   0057  Association assigned code

   Desc: Code, assigned by the association responsible for the design and
         maintenance of the message type concerned, which further identifies
         the message.

   Repr: an..6

------------------------------------------------------------------------------

   0058  Application password

   Desc: Password to the recipient's division, department or sectional
         application system/process.

   Repr: an..14

------------------------------------------------------------------------------

   0060  Group control count

   Desc: The number of messages and packages in the group.

   Repr: n..6

------------------------------------------------------------------------------

   0062  Message reference number

   Desc: Unique message reference assigned by the sender.

   Repr: an..14

------------------------------------------------------------------------------

   0065  Message type

   Desc: Code identifying a type of message and assigned by its controlling
         agency.

   Repr: an..6

   Note 1: In UNSMs (United Nations Standard Messages), the representation is
           a6.

------------------------------------------------------------------------------

   0068  Common access reference

   Desc: Reference serving as a key to relate all subsequent transfers of data
         to the same business case or file.

   Repr: an..35

------------------------------------------------------------------------------

   0070  Sequence of transfers

   Desc: Number assigned by the sender indicating the transfer sequence of a
         message related to the same topic. The message could be an addition
         or a change to an earlier transfer related to the same topic.

   Repr: n..2

   Note 1: The first message in the sequence shall be assigned as number 1.

------------------------------------------------------------------------------

   0073  First and last transfer

   Desc: Indication used for the first and last message in a sequence of
         messages related to the same topic.

   Repr: a1

------------------------------------------------------------------------------

   0074  Number of segments in a message

   Desc: The number of segments in a message body, plus the message header
         segment and message trailer segment.

   Repr: n..10

------------------------------------------------------------------------------

+  0076  Syntax release number

   Desc: The number of a syntax release (within an existing syntax version
         number).

   Repr: an2

------------------------------------------------------------------------------

   0080  Service code list directory version number

   Desc: Version number of the service code list directory.

   Repr: an..6

------------------------------------------------------------------------------

   0081  Section identification

   Desc: Identification of the separation of sections of a message.

   Repr: a1

------------------------------------------------------------------------------

   0083  Action, coded

   Desc: A code indicating acknowledgement, or rejection (the action taken) of
         a subject interchange, or part of the subject interchange, or
         indication of interchange receipt.

   Repr: an..3

------------------------------------------------------------------------------

   0085  Syntax error, coded

   Desc: A code indicating the error detected.

   Repr: an..3

------------------------------------------------------------------------------

   0087  Anti-collision segment group identification

   Desc: To identify uniquely an anti-collision segment group in a message.

   Repr: an..4

   Note 1: The value of this data element shall be the segment group number of
           the UGH/UGT segment group as stated in the message specification.

------------------------------------------------------------------------------

|  0096  Segment position in message body

|  Desc: The numerical count position of a specific segment that is within the
         actual received message body. The numbering starts with, and
         includes, the UNH or the UIH segment as segment number 1. To identify
         a segment that contains an error, this is the numerical count
         position of that segment. To report that a segment is missing, this
         is the numerical count position of the last segment that was
         processed before the position where the missing segment was expected
         to be. A missing segment group is denoted by identifying the first
         segment in the group as missing.

   Repr: n..6

------------------------------------------------------------------------------

   0098  Erroneous data element position in segment

   Desc: The numerical count position of the stand-alone or composite data
         element in error. The segment code and each following stand-alone or
         composite data element defined in the segment description shall cause
         the count to be incremented. The segment tag has position number 1.

   Repr: n..3

------------------------------------------------------------------------------

   0104  Erroneous component data element position

   Desc: The numerical count position of the component data element in error.
         Each component data element position defined in the composite data
         element description shall cause the count to be incremented. The
         count starts at 1.

   Repr: n..3

------------------------------------------------------------------------------

   0110  Code list directory version number

   Desc: Version number of the code list directory.

   Repr: an..6

------------------------------------------------------------------------------

   0113  Message type sub-function identification

   Desc: Code identifying a sub-function of a message type.

   Repr: an..6

   Note 1: The code qualifies the message type data element (0065) to allow
           the recipient to identify a specific sub-function of a message.

------------------------------------------------------------------------------

   0115  Message subset identification

   Desc: Coded identification of a message subset, assigned by its controlling
         agency.

   Repr: an..14

------------------------------------------------------------------------------

   0116  Message subset version number

   Desc: Version number of the message subset.

   Repr: an..3

------------------------------------------------------------------------------

   0118  Message subset release number

   Desc: Release number within the message subset version number.

   Repr: an..3

------------------------------------------------------------------------------

   0121  Message implementation guideline identification

   Desc: Coded identification of the message implementation guideline,
         assigned by its controlling agency.

   Repr: an..14

------------------------------------------------------------------------------

   0122  Message implementation guideline version number

   Desc: Version number of the message implementation guideline.

   Repr: an..3

------------------------------------------------------------------------------

   0124  Message implementation guideline release number

   Desc: Release number within the message implementation guideline version
         number.

   Repr: an..3

------------------------------------------------------------------------------

   0127  Scenario identification

   Desc: Code identifying scenario.

   Repr: an..14

------------------------------------------------------------------------------

   0128  Scenario version number

   Desc: Version number of a scenario.

   Repr: an..3

------------------------------------------------------------------------------

   0130  Scenario release number

   Desc: Release number within the scenario version number.

   Repr: an..3

------------------------------------------------------------------------------

   0133  Character encoding, coded

   Desc: Coded identification of the character encoding used in the
         interchange.

   Repr: an..3

   Note 1: To be used as specified in the partners' interchange agreement, for
           the purpose of identifying the character repertoire encoding
           technique used in the interchange (when the default encoding
           defined by the character repertoire's associated character set
           specification is not used).

------------------------------------------------------------------------------

   0135  Service segment tag, coded

   Desc: Code identifying a service segment.

   Repr: an..3

------------------------------------------------------------------------------

   0136  Erroneous data element occurrence

   Desc: The numerical occurrence of the repeating stand-alone or composite
         data element in error. Each occurrence (as indicated by the
         repetition separator) shall cause the count to be incremented. The
         count starts at 1.

   Repr: n..6

------------------------------------------------------------------------------

   0138  Security segment position

   Desc: The numerical count position of a specific security segment that is
         within the actual received security header/trailer segment group
         pair, identified by its security reference number. The numbering
         starts with, and includes, the USH segment as segment number 1. To
         identify a security segment that contains an error, this is the
         numerical count position of that security segment. To report that a
         security segment is missing, this is the numerical count position of
         the last security segment that was processed before the position
         where the missing security segment was expected to be. A missing
         security segment group is denoted by identifying the first segment in
         the security segment group as missing.

   Repr: n..6

------------------------------------------------------------------------------

   0300  Initiator control reference

   Desc: A reference assigned by the dialogue initiator.

   Repr: an..35

------------------------------------------------------------------------------

   0303  Initiator reference identification

   Desc: Organisation code or name assigned by the party that initiated the
         transaction or dialogue.

   Repr: an..35

------------------------------------------------------------------------------

   0304  Responder control reference

   Desc: A reference assigned by the dialogue responder.

   Repr: an..35

------------------------------------------------------------------------------

   0306  Transaction control reference

   Desc: A reference assigned by the transaction initiator.

   Repr: an..35

------------------------------------------------------------------------------

   0311  Dialogue identification

   Desc: Code identifying a dialogue.

   Repr: an..14

------------------------------------------------------------------------------

   0314  Event time

   Desc: Time of event.

   Repr: an..15

   Note 1: Format is HHMMSS ... with up to 9 more digits of precision. A 'Z'
           as the last character indicates UTC time. (ISO 8601)

------------------------------------------------------------------------------

   0320  Sender sequence number

   Desc: Identification of the sequence number of the message or package
         within the sender interchange.

   Repr: n..6

------------------------------------------------------------------------------

   0323  Transfer position, coded

   Desc: Indication of the position of a transfer.

   Repr: a1

------------------------------------------------------------------------------

   0325  Duplicate Indicator

   Desc: Indication that the structure is a duplicate of a previously sent
         structure.

   Repr: a1

------------------------------------------------------------------------------

   0331  Report function, coded

   Desc: Coded value identifying type of status or error report.

   Repr: an..3

------------------------------------------------------------------------------

#  0332  Status

   Desc: Textual explanation of the reason for the status or error report.

   Repr: an..70

------------------------------------------------------------------------------

#  0333  Status, coded

   Desc: Code identifying the reason for the status or error report.

   Repr: an..3

------------------------------------------------------------------------------

#| 0335  Language, coded

|  Desc: Code identifying the language used.

   Repr: an..3

   Note 1: The code list for this data element is maintained by ISO (ISO 639).

------------------------------------------------------------------------------

   0336  Time offset

   Desc: UTC (Universal Co-ordinated Time) offset from event time.

   Repr: n4

   Note 1: Format is HHMM. Shall be prefixed with '-' for negative offsets.
           (ISO 8601)

------------------------------------------------------------------------------

   0338  Event date

   Desc: Date of event.

   Repr: n..8

   Note 1: Format is YYMMDD or CCYYMMDD.

------------------------------------------------------------------------------

   0340  Interactive message reference number

   Desc: Unique interactive message reference assigned by the sender.

   Repr: an..35

------------------------------------------------------------------------------

   0342  Dialogue version number

   Desc: Version number of a dialogue.

   Repr: an..3

------------------------------------------------------------------------------

   0344  Dialogue release number

   Desc: Release number of a dialogue.

   Repr: an..3

------------------------------------------------------------------------------

   0501  Security service, coded

   Desc: Specification of the security service applied.

   Repr: an..3

------------------------------------------------------------------------------

   0503  Response type, coded

   Desc: Specification of the type of response expected from the recipient.

   Repr: an..3

------------------------------------------------------------------------------

   0505  Filter function, coded

   Desc: Identification of the filtering function used to reversibly map any
         bit pattern on to a restricted character set.

   Repr: an..3

------------------------------------------------------------------------------

   0507  Original character set encoding, coded

   Desc: Identification of the character set in which the secured EDIFACT
         structure was encoded when security mechanisms were applied.

   Repr: an..3

------------------------------------------------------------------------------

   0509  Role of security provider, coded

   Desc: Identification of the role of the security provider in relation to
         the secured item.

   Repr: an..3

------------------------------------------------------------------------------

*  0511  Security party identification

   Desc: Identification of a party involved in the security process, according
         to a defined registry of security parties.

   Repr: an..1024

------------------------------------------------------------------------------

   0513  Security party code list qualifier

   Desc: Identification of the type of identification used to register the
         security parties.

   Repr: an..3

------------------------------------------------------------------------------

   0515  Security party code list responsible agency, coded

   Desc: Identification of the agency in charge of registration of the
         security parties.

   Repr: an..3

------------------------------------------------------------------------------

   0517  Date and time qualifier

   Desc: Specification of the type of date and time.

   Repr: an..3

------------------------------------------------------------------------------

   0518  Encryption reference number

   Desc: Reference number to the encrypted EDIFACT structure.

   Repr: an..35

------------------------------------------------------------------------------

   0520  Security sequence number

   Desc: Sequence number assigned to the EDIFACT structure to which security
         is applied.

   Repr: an..35

   Note 1: This sequence number is security related and may differ from the
           identification of the EDIFACT structure that may appear elsewhere.
           It may be used when sequence integrity is required.

------------------------------------------------------------------------------

   0523  Use of algorithm, coded

   Desc: Specification of the usage made of the algorithm.

   Repr: an..3

------------------------------------------------------------------------------

   0525  Cryptographic mode of operation, coded

   Desc: Specification of the mode of operation used for the algorithm.

   Repr: an..3

------------------------------------------------------------------------------

   0527  Algorithm, coded

   Desc: Identification of the algorithm.

   Repr: an..3

------------------------------------------------------------------------------

   0529  Algorithm code list identifier

   Desc: Specification of the code list used to identify the algorithm.

   Repr: an..3

------------------------------------------------------------------------------

   0531  Algorithm parameter qualifier

   Desc: Specification of the type of parameter value.

   Repr: an..3

------------------------------------------------------------------------------

   0533  Mode of operation code list identifier

   Desc: Specification of the code list used to identify the cryptographic
         mode of operation.

   Repr: an..3

------------------------------------------------------------------------------

   0534  Security reference number

   Desc: Unique reference number assigned by the security originator to a pair
         of security header and security trailer groups.

   Repr: an..14

   Note 1: The value shall be arbitrarily assigned, but the same value shall
           not be used more than once within the same EDIFACT structure, I.e.
           interchange, group, message or package.

------------------------------------------------------------------------------

   0536  Certificate reference

   Desc: Identifies one certificate for a certification authority.

   Repr: an..35

------------------------------------------------------------------------------

   0538  Key name

   Desc: Name used to establish a key relationship between the parties.

   Repr: an..35

------------------------------------------------------------------------------

   0541  Scope of security application, coded

   Desc: Specification of the scope of application of the security service
         defined in the security header.

   Repr: an..3

   Note 1: It defines the data that have to be taken into account by the
           related cryptographic process.

------------------------------------------------------------------------------

   0543  Certificate original character set repertoire, coded

   Desc: Identification of the character set repertoire used to create the
         certificate it was signed.

   Repr: an..3

------------------------------------------------------------------------------

   0545  Certificate syntax and version, coded

   Desc: Coded identification of the syntax and version used to create the
         certificate.

   Repr: an..3

------------------------------------------------------------------------------

   0546  User authorisation level

   Desc: Specification of the authorisation level associated with the owner of
         the certificate.

   Repr: an..35

------------------------------------------------------------------------------

   0548  Service character for signature

   Desc: Service character used when the signature was computed.

   Repr: an..4

   Note 1: In order to avoid translator problems, this service character is
           represented by its value in the character set identified by the
           original character set encoding data element (0507), hexa-filtered
           on, at least, two characters. For example the service character "'"
           is coded "27" (two characters), if ASCII 8bit code page is used.

------------------------------------------------------------------------------

   0551  Service character for signature qualifier

   Desc: Identification of the type of service character used when the
         signature was computed.

   Repr: an..3

------------------------------------------------------------------------------

   0554  Algorithm parameter value

   Desc: Value of a parameter required by the algorithm.

   Repr: an..512

   Note 1: If necessary, this value shall be filtered by an appropriate filter
           function. Note that key names do not need to be filtered.

------------------------------------------------------------------------------

   0556  Length of data in octets of bits

   Desc: A count of the data octets of bits.

   Repr: n..18

------------------------------------------------------------------------------

   0558  List parameter

   Desc: Specification of the list requested or delivered.

   Repr: an..70

------------------------------------------------------------------------------

*  0560  Validation value

   Desc: Security result corresponding to the security function specified.

   Repr: an..1024

   Note 1: If necessary, this value shall be filtered by an appropriate filter
           function.

------------------------------------------------------------------------------

#  0563  Validation value qualifier

   Desc: Identification of the type of validation value.

   Repr: an..3

------------------------------------------------------------------------------

   0565  Message relation, coded

   Desc: Relationship with another message, past or future.

   Repr: an..3

------------------------------------------------------------------------------

   0567  Security status, coded

   Desc: Identification of the security element (key or certificate, for
         instance) status.

   Repr: an..3

------------------------------------------------------------------------------

   0569  Revocation reason, coded

   Desc: Identification of the reason why the certificate has been revoked.

   Repr: an..3

------------------------------------------------------------------------------

   0571  Security error, coded

   Desc: Identifies the security error causing the rejection of the EDIFACT
         structure.

   Repr: an..3

   Note 1: This element shall specify the security error encountered. These
           may be the reason for non-acknowledgement by a request for secure
           acknowledgement, or may be sent on the initiative of the receiver
           of an AUTACK or secured EDIFACT structure which contains error.

------------------------------------------------------------------------------

   0572  Certificate sequence number

   Desc: Specification of a certificate's position within a certification
         path.

   Repr: n..4

   Note 1: Allows certification paths to be ordered by specifying the ordinal
           number of the certificate within a certification path.

------------------------------------------------------------------------------

   0575  List parameter qualifier

   Desc: Specification of the type of list parameter.

   Repr: an..3

------------------------------------------------------------------------------

   0577  Security party qualifier

   Desc: Identification of the role of the security party.

   Repr: an..3

------------------------------------------------------------------------------

   0579  Key management function qualifier

   Desc: Specification of the type of key management function.

   Repr: an..3

------------------------------------------------------------------------------

   0582  Number of padding bytes

   Desc: Count of the number of padding bytes.

   Repr: n..2

------------------------------------------------------------------------------

   0586  Security party name

   Desc: Name of the security party.

   Repr: an..35

------------------------------------------------------------------------------

   0588  Number of security segments

   Desc: The number of security segments in a security header/trailer group
         pair, plus the USD and USU segments where the security header/trailer
         group pair is used for encryption.

   Repr: n..10

   Note 1: Each security header/trailer group pair shall contain its own count
           of the number of security segments within that group pair.
   Note 2: The count of the number of security segments includes the USR
           segment in the security trailer.

------------------------------------------------------------------------------

   0591  Padding mechanism, coded

   Desc: Padding mechanism or padding scheme applied.

   Repr: an..3

------------------------------------------------------------------------------

   0601  Padding mechanism code list identifier

   Desc: Specification of the code list used to identify the padding mechanism
         or padding scheme.

   Repr: an..3

------------------------------------------------------------------------------

   0800  Package reference number

   Desc: Unique package reference number assigned by the sender.

   Repr: an..35

------------------------------------------------------------------------------

   0802  Reference identification number

   Desc: Reference number to identify a message, message group and/or
         interchange, which relates to the object.

   Repr: an..35

------------------------------------------------------------------------------

   0805  Object type qualifier

   Desc: Qualifier referring to the type of object.

   Repr: an..3

------------------------------------------------------------------------------

   0808  Object type attribute

   Desc: The attribute applying to the object type.

   Repr: an..256

------------------------------------------------------------------------------

   0809  Object type attribute identification

   Desc: Coded identification of the attribute applying to the object type.

   Repr: an..256

------------------------------------------------------------------------------

   0810  Length of object in octets of bits

   Desc: Count of the number of octets of bits in the object.

   Repr: n..18

   Note 1: The count shall exclude the segment terminator of the preceding
           EDIFACT structured segment and the first character ('U') of the
           following EDIFACT structured segment.

------------------------------------------------------------------------------

   0813  Reference qualifier

   Desc: Code giving specific meaning to a reference identification number.

   Repr: an..3

------------------------------------------------------------------------------

   0814  Number of segments before object

   Desc: A count of the number of segments appearing between the UNO segment
         and the start of the object.

   Repr: n..3
