AK4 Data Element Note

To report errors in a data element and to identify the location of the data element.

Position
Element
Name
Type
Requirement
Min
Max
Repeat
AK4-01
Element Position in Segment
Numeric (N0)
Mandatory
1
2
-
This is used to indicate the relative position of the data element in error in this data segment. The count starts with 1 for the data element immediately following the segment ID. This value is 0 for an error in the segment ID.
AK4-02
Data Element Reference Number
Numeric (N0)
Optional
1
4
-
This is the reference number used to locate the data element in the dictionary.
AK4-03
Data Element Syntax Error Code
Identifier (ID)
Mandatory
1
3
-
Code indicating the error found after syntax edits of a data element.
AK4-04
Copy of Bad Data Element
String (AN)
Optional
1
99
-
This is a copy of the data element in error.

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.