EDI ANSI X12 Envelope Specifications

Last Revised: 11/28/07

Dynamo applications should use the following mapping to create the envelope records used in the creation of ANSI X12 data files.  The XXED00 record is used to maintain Sender Information and counters.  The XXED01 file is used to maintain information about each EDI trading partner.

ISA Interchange Control Header
Field# Description Mapping
1 Authorization Info Qualifier "00"
2 Authorization Information FILL(10)
3 Security Info Qualifier "00"
4 Security Information FILL(10)
5 Interchange Sender ID Qualifier "12"
6 Interchange Sender ID ED00.ISA6$
7 Interchange Receiver ID Qualifier ED01.ISA7$
8 Interchange Receiver ID ED01.ISA8$
9 Interchange Date Current Date in YYMMDD format, DATE(0:"%Yz%Mz%Dz")
10 Interchange Time Current Time in HHMM military format, DATE(0,TIM:"%Hz%mz")
11 Interchange Standard ID "U"
12 Interchange Version ID ED01.ISA12$
13 Interchange Control# ED00.ISA13:FILL(9,"0")
14 Acknowledgement Requested "0"
15 Test Indicator ED01.ISA15$
16 Sub-element Separator ">"
GS Functional Group Header
Field# Description Mapping
1 Functional ID Code "IN"
2 Application Sender's Code CVS(ED00.ISA6$,2)
3 Application Receiver's Code CVS(ED01.ISA7$,2)
4 Data Interchange Date Current Date in CCYYMMDD format, DATE(0:"%Yl%Mz%Dz")
5 Data Interchange Time Current Time in HHMMSS military format, DATE(0,TIM:"%Hz%mz%sz")
6 Data Interchange Control# Sequential Counter of each GS record, starting with 1, unmasked
7 Responsible Agency Code "X"
8 Version ID Code CVS(ED01.GS8$,2)
ST Transaction Set Header
Field# Description Mapping
1 Transaction Set ID Code "810"
2 Transaction Set Control# Sequential Counter of each GS record, starting with 1, unmasked
SE Transaction Set Trailer
Field# Description Mapping
1 Number of Included Segments Number of records written starting with the ST record and including this SE record
2 Transaction Set Control# same as ST#2
GE Functional Group Trailer
Field# Description Mapping
1 Number of Included Sets Number of GE records written including the current GE record
2 Data Interchange Control# same as GS#6
ISE Interchange Control Trailer
Field# Description Mapping
1 Number of Included Functional Groups Number of IEA records written including the current IEA record
2 Interchange Control# same as ISA#13