E13 Segment Order in Transaction Set

To provide the list of segments in a transaction set for the electronic form of the X12 standards

Position
Element
Name
Type
Requirement
Min
Max
Repeat
E13-01
Maintenance Operation Code
Identifier (ID)
Mandatory
1
1
1
Code indicating the type maintenance operation
E13-02
Position in Set
Numeric (N0)
Mandatory
1
6
1
Relative position of the segment in the transaction set
When E1302 is used in the Electronic Form Transaction Set (868) to send a complete transaction set, it is 10 for the first segment and incremented by 10 for each succeeding segment to the end of the transaction set. When used in the Electronic Form Transaction Set to delete or replace an existing segment, it is the matching sequence number of the segment existing in the transaction set. When used in the Electronic Form Transaction Set to add a segment, it is a number which will insert the new segment in its position within the transaction set.
E13-03
Section Designator Code
Identifier (ID)
Optional
1
1
1
Code specifying the section of a transaction set standard
E13-04
Segment ID Code
Identifier (ID)
Optional
2
3
1
Code specifying the segment ID of the data segment in error (See Appendix A - Number 77)
E13-05
Requirement Designator Code
Identifier (ID)
Optional
1
1
1
Code specifying the requirement designator as specified in the standard or standards convention
E13-06
Maximum Use
Numeric (N0)
Optional
1
7
1
Number of times a data segment may appear; the use of 9999999 in the electronic form is to be interpreted to mean >1
E13-07
Loop Name
String (AN)
Optional
2
4
1
The name of the loop
E13-08
Loop Repeat Count
Numeric (N0)
Optional
1
7
1
Loop repeat count as specified in the standard; the use of 9999999 in the electronic form is to be interpreted to mean >1
E13-09
Loop Level Number
Numeric (N0)
Optional
1
1
1
A number used by the electronic form of the X12 standards to specify the loop level of a segment within a transaction set; it is 1 for the first loop level and is incremented by 1 for each succeeding loop within a loop level
E1309 contains a number (1-9) indicating the loop-level structure within the transaction set. The number 1 indicates the outermost loop, 2 indicates the next loop within the loop, 3 indicates the next loop within 2, etc.
E13-10
Note Identification Number
Numeric (N0)
Optional
1
6
1
A number providing a reference to a segment or file which contains notes or comments related to X12 standards documentation
E1310 is the note ID number of the E40 segment which contains this segment's nonstandard comments. These comments are as they appear in the transaction set listings of the standards documentation.

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.