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

YNQ Yes/No Question

To identify and answer yes and no questions, including the date, time, and comments further qualifying the condition
Sequence
Element
Name
Type
Requirement
Min
Max
Repeat
01
1321
Condition Indicator
Identifier (ID)
Conditional
2
2
-
Code indicating a condition
E010910
Codes (1236)
02
Yes/No Condition or Response Code
Identifier (ID)
Mandatory
1
1
-
Code indicating a Yes or No condition or response
YNQ02 confirms or denies the statement made in YNQ01, YNQ09 or YNQ10. A "Y" indicates the statement is confirmed; an "N" indicates the statement is denied.
Codes (4)
03
Date Time Period Format Qualifier
Identifier (ID)
Conditional
2
3
-
Code indicating the date format, time format, or date and time format
P0304
Codes (39)
04
Date Time Period
String (AN)
Conditional
1
35
-
Expression of a date, a time, or range of dates, times or dates and times
05
Free-Form Message Text
String (AN)
Optional
1
264
-
Free-form message text
06
Free-Form Message Text
String (AN)
Optional
1
264
-
Free-form message text
07
Free-Form Message Text
String (AN)
Optional
1
264
-
Free-form message text
08
Code List Qualifier Code
Identifier (ID)
Conditional
1
3
-
Code identifying a specific industry code list
C0908
Codes (624)
09
Industry Code
String (AN)
Conditional
1
30
-
Code indicating a code from a specific industry code list
10
Free-Form Message Text
String (AN)
Conditional
1
264
-
Free-form message text
YNQ10 contains a free-form question when codified questions are not available.
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.