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

RED Related Data

To provide business data related to an item within a transaction to which a business application editing process has been applied, and an error condition has resulted
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
352
Description
String (AN)
Mandatory
1
80
1
A free-form description to clarify the related data elements and their content
RED01 provides the related business data, whose nature is defined by the code in RED02 or RED06.
As an example of the use of the RED01 element, an application edit is applied to the Unit Price element within an Invoice (810) transaction set. The result of that edit indicates an invalid unit price. One piece of related business data would be the associated Product or Service Identification (data element #234). In this example, RED01 would be used to convey the associated Product or Service Identification.
02
Related Data Identification Code
Identifier (ID)
Conditional
2
3
1
Code identifying the nature of data related to an application edit error condition
R0206
E0206
RED02 is an X12-defined code identifying the specific type of related data in RED01.
Codes (24)
03
Agency Qualifier Code
Identifier (ID)
Conditional
2
2
1
Code identifying the agency assigning the code values
P030506
RED03 identifies the agency maintaining the code list identified in RED05.
Codes (195)
04
Source Subqualifier
String (AN)
Optional
1
15
1
A reference that indicates the table or text maintained by the Source Qualifier
C0403
RED04 provides further qualification of the agency identified in RED03.
05
Code List Qualifier Code
Identifier (ID)
Conditional
1
3
1
Code identifying a specific industry code list
RED05 identifies the code list containing the code indicated in RED06.
Codes (971)
06
Industry Code
String (AN)
Conditional
1
30
1
Code indicating a code from a specific industry code list
RED06 is an industry-defined code identifying the specific type of related data in RED01.
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.