EDI GESMESGeneric statistical message

Transaction set

This specification provides the definition of the generic statistical message (gesmes) to be used in electronic data interchange (edi) between trading partners involved in administration, commerce and transport.

Segments

Position
Segment
Name
Max use
10
UNH
Message header
To end and check the completeness of an interchange
Mandatory
AtMax 1
20
BGM
Beginning of message
To indicate the type and function of a message and to transmit the identifying number.
Opt
AtMax 1
30
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9
1LOOPOpt
AtMax 9999
50
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
60
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
2LOOPOpt
AtMax 9
80
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
90
IDE
Identity
To identify an object.
Opt
AtMax 1
3LOOPOpt
AtMax 5
110
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
120
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
4LOOPOpt
AtMax 99
140
VLI
Value list identification
To identify a coded or non coded value list.
Mandatory
AtMax 1
150
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9999
160
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
170
IDE
Identity
To identify an object.
Opt
AtMax 9
5LOOPOpt
AtMax 5
190
GIR
Related identification numbers
To specify a related set of identification numbers.
Mandatory
AtMax 1
200
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
6LOOPOpt
AtMax 9999
220
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
230
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 999
240
IDE
Identity
To identify an object.
Opt
AtMax 5
7LOOPOpt
AtMax 999
260
STC
Statistical concept
To specify a statistical concept.
Mandatory
AtMax 1
270
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
280
IDE
Identity
To identify an object.
Opt
AtMax 5
8LOOPOpt
AtMax 9999
300
ASI
Array structure identification
To identify the structure of an array.
Mandatory
AtMax 1
310
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 5
320
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9
330
IDE
Identity
To identify an object.
Opt
AtMax 5
9LOOPOpt
AtMax 999
350
SCD
Structure component definition
To specify a component of a data structure (e.g. an array or table).
Mandatory
AtMax 1
360
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 99
10LOOPOpt
AtMax 9999
380
IDE
Identity
To identify an object.
Mandatory
AtMax 1
390
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 99
400
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 2
11LOOPOpt
AtMax 999
420
DSI
Data set identification
To identify a data set.
Mandatory
AtMax 1
430
STS
Status
To specify the type of industry sector/application to which this segment refers, giving the status and status reason relevant to conducting business and/or services.
Opt
AtMax 9
440
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
450
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 5
460
GIR
Related identification numbers
To specify a related set of identification numbers.
Opt
AtMax 2
470
ARR
Array information
To contain the data in a array.
Opt
AtMax 9999
12LOOPOpt
AtMax 99
490
IDE
Identity
To identify an object.
Mandatory
AtMax 1
500
GIS
General indicator
To transmit a processing indicator.
Opt
AtMax 5
510
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 5
13LOOPOpt
AtMax 999
530
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
540
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
14LOOPOpt
AtMax 999
560
SCD
Structure component definition
To specify a component of a data structure (e.g. an array or table).
Mandatory
AtMax 1
570
ATT
Attribute
To identify a specific attribute.
Opt
AtMax 9
580
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 9999
15LOOPOpt
AtMax 9999
600
CDV
Code value definition
To provide information related to a code value.
Mandatory
AtMax 1
610
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 99
16LOOPOpt
AtMax 5
630
NAD
Name and address
To specify the name/address and their related function, either by co82 only and/or unstructured by co58 or structured by co80 thru 3207.
Mandatory
AtMax 1
640
IDE
Identity
To identify an object.
Opt
AtMax 1
17LOOPOpt
AtMax 5
660
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
670
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
18LOOPOpt
AtMax 5
690
FNS
Footnote set
To identify a set of footnotes.
Mandatory
AtMax 1
19LOOPOpt
AtMax 9999
710
REL
Relationship
To identify the direct relationship between the data/information contained in one segment and the data/information contained in one or more other segments.
Mandatory
AtMax 1
720
ARR
Array information
To contain the data in a array.
Opt
AtMax 1
730
IDE
Identity
To identify an object.
Opt
AtMax 99
20LOOPOpt
AtMax 9999
750
FNT
Footnote
To identify a footnote.
Mandatory
AtMax 1
760
FTX
Free text
To provide free form or coded text information.
Opt
AtMax 9999
770
UNT
Message trailer
To end and check the completeness of a message.
Mandatory
AtMax 1

Elements

PositionElementNameRequirementTypeMin/MaxRepeat
10
Message reference numberMandatoryAlphanumeric1/1AtMax 1
20
Message identifierMandatoryAtMax 1
10
Message type identifierMandatoryAlphanumeric1/1Exact 1
20
Message type version numberMandatoryAlphanumeric1/1Exact 1
30
Message type release numberMandatoryAlphanumeric1/1Exact 1
40
Controlling agencyMandatoryAlphanumeric1/1Exact 1
50
Association assigned codeOptAlphanumeric1/1Exact 1
30
Common access referenceOptAlphanumeric1/1AtMax 1
40
Status of the transferOptAtMax 1