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

AK3 Data Segment Note

To report errors in a data segment and to identify the location of the data segment.
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
721
Segment ID Code
Identifier (ID)
Mandatory
2
3
-
Code defining the segment ID of the data segment in error. See Appendix A - Number 77.
02
Segment Position in Transaction Set
Numeric (N0)
Mandatory
1
6
-
The numerical count position of this data segment from the start of the transaction set: the transaction set header is count position 1.
03
Loop Identifier Code
String (AN)
Optional
1
4
-
The loop ID number given on the transaction set diagram is the value for this data element in segments LS and LE
04
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
Codes (7)
05
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
Codes (7)
06
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
Codes (7)
07
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
Codes (7)
08
Segment Syntax Error Code
Identifier (ID)
Optional
1
3
-
Code indicating error found based on the syntax editing of a segment
Codes (7)
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.