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
GS-01
Functional Identifier Code
Identifier (ID)
Mandatory
2
2
-
Code identifying a group of application related transaction sets
GS-02
Application Sender's Code
String (AN)
Mandatory
2
15
-
Code identifying party sending transmission; codes agreed to by trading partners
GS-03
Application Receiver's Code
String (AN)
Mandatory
2
15
-
Code identifying party receiving transmission. Codes agreed to by trading partners
GS-04
Date
Date (DT)
Mandatory
6
6
-
Date (YYMMDD)
GS04 is the group date.
GS-05
Time
Time (TM)
Mandatory
4
8
-
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.
GS-06
Group Control Number
Numeric (N0)
Mandatory
1
9
-
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.
GS-07
Responsible Agency Code
Identifier (ID)
Mandatory
1
2
-
Code used in conjunction with Data Element 480 to identify the issuer of the standard
GS-08
Version / Release / Industry Identifier Code
String (AN)
Mandatory
1
12
-
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.