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
6
-
Time expressed in 24-hour clock time (HHMMSS) (Time range: 000000 through 235959)
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. Positions 1-3, version number, positions 4-6, release and subrelease level of version; positions 7-12, industry or trade association identifier (optionally assigned by user).

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.