GS Functional Group Header

To indicate the beginning of a functional group and to provide control information

Position
Element
Name
Type
Requirement
Min
Max
Repeat
GS01
Functional Identifier Code
Identifier (ID)
Mandatory
2
2
1
Code identifying a group of application related transaction sets
GS02
Application Sender's Code
String (AN)
Mandatory
2
15
1
Code identifying party sending transmission; codes agreed to by trading partners
GS03
Application Receiver's Code
String (AN)
Mandatory
2
15
1
Code identifying party receiving transmission; codes agreed to by trading partners
GS04
Date
Date (DT)
Mandatory
8
8
1
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
GS04 is the group date.
GS05
Time
Time (TM)
Mandatory
4
8
1
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
GS05 is the group time.
GS06
Group Control Number
Numeric (N0)
Mandatory
1
9
1
Assigned number originated and maintained by the sender
The data interchange control number GS06 in this header must be identical to the same data element in the associated functional group trailer, GE02.
GS07
Responsible Agency Code
Identifier (ID)
Mandatory
1
2
1
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
GS08
Version / Release / Industry Identifier Code
String (AN)
Mandatory
1
12
1
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.