EDI GENRALGeneral purpose message

Transaction set

This specification provides the definition of the general purpose message (genral) 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.
Mandatory
AtMax 1
30
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 1
1LOOPOpt
AtMax 10
50
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
60
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 10
2LOOPOpt
AtMax 2
80
NAD
Name and address
To specify the name/address and their related function, either by c082 only and/or unstructured by c058 or structured by c080 thru 3207.
Mandatory
AtMax 1
90
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
3LOOPOpt
AtMax 10
110
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
120
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 10
4LOOPOpt
AtMax 5
140
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
150
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 9
5LOOPOpt
AtMax 100
170
FTX
Free text
To provide free form or coded text information.
Mandatory
AtMax 1
6LOOPOpt
AtMax 100
190
NAD
Name and address
To specify the name/address and their related function, either by c082 only and/or unstructured by c058 or structured by c080 thru 3207.
Mandatory
AtMax 1
200
LOC
Place/location identification
To identify a place or a location and/or related locations.
Opt
AtMax 5
7LOOPOpt
AtMax 10
220
RFF
Reference
To specify a reference.
Mandatory
AtMax 1
230
DTM
Date/time/period
To specify date, and/or time, or period.
Opt
AtMax 10
8LOOPOpt
AtMax 5
250
CTA
Contact information
To identify a person or a department to whom communication should be directed.
Mandatory
AtMax 1
260
COM
Communication contact
To identify a communication number of a department or a person to whom communication should be directed.
Opt
AtMax 5
270
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