EDI
API DocsTerminal
NEW!
Programmatically translate EDI to JSON with the EDI Core REST API
Get started in minutes →
Segment
in
X12 Release 003030

GS Functional Group Header

To indicate the beginning of a functional group and to provide control information
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
479
Functional Identifier Code
Identifier (ID)
Mandatory
2
2
-
Code identifying a group of application related Transaction Sets.
Codes (127)
02
Application Sender's Code
String (AN)
Mandatory
2
15
-
Code identifying party sending transmission. Codes agreed to by trading partners.
03
Application Receiver's Code
String (AN)
Mandatory
2
15
-
Code identifying party receiving transmission. Codes agreed to by trading partners.
04
Date
Date (DT)
Mandatory
6
6
-
Date (YYMMDD).
GS04 is the Group Date.
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.
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.
07
Responsible Agency Code
Identifier (ID)
Mandatory
1
2
-
Code used in conjunction with Data Element 480 to identify the issuer of the standard.
Codes (2)
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.
Codes (19)
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.
Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference and Mapping Guides are provided for marketing purposes and are 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.