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

E13 Segment Order in Transaction Set

To provide the list of segments in a transaction set for the electronic form of the X12 standards
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
487
Maintenance Operation Code
Identifier (ID)
Mandatory
1
1
-
Code indicating the type maintenance operation.
Codes (5)
02
Position in Set
Numeric (N0)
Mandatory
1
6
-
Relative position of the segment in the transaction set.
When E1302 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 suceeding 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.
03
Section Designator
Identifier (ID)
Optional
1
1
-
Designates the section of a transaction set standard.
Codes (4)
04
Segment ID Code
Identifier (ID)
Optional
2
3
-
Code defining the segment ID of the data segment in error. See Appendix A - Number 77.
05
Requirement Designator
Identifier (ID)
Optional
1
1
-
Requirement designator as specified in the standard or standards convention.
Codes (6)
06
Maximum Use
Numeric (N0)
Optional
1
7
-
Number of times a data segment may appear. The use of 9999999 in the electronic form is to be interpreted to mean >1.
07
Loop Name
String (AN)
Optional
2
4
-
The name of the loop.
08
Loop Repeat Count
Numeric (N0)
Optional
1
7
-
Loop repeat count as specified in the standard. The use of 9999999 in the electronic form is to be interpreted to mean >>1.
09
Loop Level Number
Numeric (N0)
Optional
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 with 2, etc.
10
Note Identification Number
Numeric (N0)
Optional
1
6
-
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 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.