X12 Release 4010
Delimiters: ~ Segment * Element > Component
Certified April 18, 2024
Cole Haan

X12 870 Order Status Report

This Draft Standard for Trial Use contains the format and establishes the data contents of the Order Status Report Transaction Set (870) for use within the context of an Electronic Data Interchange (EDI) environment.
ISA
Interchange Control Header
Required
Max Use 1
To start and identify an interchange of zero or more functional groups and interchange-related control segments
ISA01
I01
Authorization Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Authorization Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA02
I02
Authorization Information
Required
alphanumeric (AN)
Min 10 Max 10
Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA03
I03
Security Information Qualifier
Required
ID
Min 2 Max 2
Code to identify the type of information in the Security Information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA04
I04
Security Information
Required
alphanumeric (AN)
Min 10 Max 10
This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA05
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA06
I06
Interchange Sender ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA07
I05
Interchange ID Qualifier
Required
ID
Min 2 Max 2
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA08
I07
Interchange Receiver ID
Required
alphanumeric (AN)
Min 15 Max 15
Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA09
I08
Interchange Date
Required
date (DT)
Min 6 Max 6
Date of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA10
I09
Interchange Time
Required
time (TM)
Min 4 Max 4
Time of the interchange
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA11
I10
Interchange Control Standards Identifier
Required
ID
Min 1 Max 1
Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA12
I11
Interchange Control Version Number
Required
ID
Min 5 Max 5
This version number covers the interchange control segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA13
I12
Interchange Control Number
Required
numeric (N0)
Min 9 Max 9
A control number assigned by the interchange sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA14
I13
Acknowledgment Requested
Required
ID
Min 1 Max 1
Code sent by the sender to request an interchange acknowledgment (TA1)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA15
I14
Usage Indicator
Required
ID
Min 1 Max 1
Code to indicate whether data enclosed by this interchange envelope is test, production or information
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISA16
I15
Component Element Separator
Required
undefined ()
Min 1 Max 1
Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS
Functional Group Header
Required
Max Use 1
To indicate the beginning of a functional group and to provide control information
GS01
479
Functional Identifier Code
Required
ID
Min 2 Max 2
Code identifying a group of application related transaction sets
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS02
142
Application Sender's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party sending transmission; codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS03
124
Application Receiver's Code
Required
alphanumeric (AN)
Min 2 Max 15
Code identifying party receiving transmission. Codes agreed to by trading partners
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS04
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS05
337
Time
Required
time (TM)
Min 4 Max 8
Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS06
28
Group Control Number
Required
numeric (N0)
Min 1 Max 9
Assigned number originated and maintained by the sender
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS07
455
Responsible Agency Code
Required
ID
Min 1 Max 2
Code used in conjunction with Data Element 480 to identify the issuer of the standard
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
GS08
480
Version / Release / Industry Identifier Code
Required
alphanumeric (AN)
Min 1 Max 12
Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ST
Transaction Set Header
Required
Max Use 1
To indicate the start of a transaction set and to assign a control number
ST01
143
Transaction Set Identifier Code
Required
ID
Min 3 Max 3
Code uniquely identifying a Transaction Set
870
Order Status Report
ST02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BSR
Beginning Segment for Order Status Report
Required
Max Use 1
To indicate the beginning of an Order Status Report Transaction Set
BSR01
850
Status Report Code
Required
ID
Min 1 Max 2
Code indicating the reason for sending the report
2
Prearranged Schedule or Agreement
BSR02
847
Order/Item Code
Required
ID
Min 1 Max 2
Code identifying a group of orders and items
PP
Selected Orders - Selected Items
BSR03
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
BSR04
373
Date
Required
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

REF loop

Required
Min Items
Max Loop undefined
REF
Reference Identification
Required
Max Use 1
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
CO
Customer Order Number
REF02
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

HL loop

Required
Min Items
Max Loop 1000
HL
Hierarchical Level
Required
Max Use 1
To identify dependencies among and the content of hierarchically related groups of data segments
HL01
628
Hierarchical ID Number
Required
alphanumeric (AN)
Min 1 Max 12
A unique number assigned by the sender to identify a particular data segment in a hierarchical structure
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
HL03
735
Hierarchical Level Code
Required
ID
Min 1 Max 2
Code defining the characteristic of a level in a hierarchical structure
O
Order
HL
Hierarchical Level
Required
Max Use 1
To identify dependencies among and the content of hierarchically related groups of data segments
HL01
628
Hierarchical ID Number
Required
alphanumeric (AN)
Min 1 Max 12
A unique number assigned by the sender to identify a particular data segment in a hierarchical structure
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
HL03
735
Hierarchical Level Code
Required
ID
Min 1 Max 2
Code defining the characteristic of a level in a hierarchical structure
I
Item
PRF
Purchase Order Reference
Required
Max Use 1
To provide reference to a specific purchase order
PRF01
324
Purchase Order Number
Required
alphanumeric (AN)
Min 1 Max 22
Identifying number for Purchase Order assigned by the orderer/purchaser
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PRF04
373
Date
Optional
longDate (DT)
Min 8 Max 8
Date expressed as CCYYMMDD
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF loop
Required
REF
98
Reference Identification
Required
Min 1 Max 1
Max Use 1
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
CO
Customer Order Number
REF02
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF loop
Optional
REF
98
Reference Identification
Required
Min 1 Max 1
Max Use 1
To specify identifying information
Syntax Notes
At least one of REF02 or REF03 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
REF01
128
Reference Identification Qualifier
Required
ID
Min 2 Max 3
Code qualifying the Reference Identification
CO
Customer Order Number
REF02
127
Reference Identification
Required
alphanumeric (AN)
Min 1 Max 30
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PO1 loop
Required
Max Loop 1000
PO1
98
Baseline Item Data
Required
Min 1 Max 1
Max Use 1
To specify basic and most frequently used line item data
Syntax Notes
If PO103 is present, then and PO102 is required.
If PO105 is present, then and PO104 is required.
If any of PO106 or PO107 are present, then all are required.
If any of PO108 or PO109 are present, then all are required.
If any of PO110 or PO111 are present, then all are required.
If any of PO112 or PO113 are present, then all are required.
If any of PO114 or PO115 are present, then all are required.
If any of PO116 or PO117 are present, then all are required.
If any of PO118 or PO119 are present, then all are required.
If any of PO120 or PO121 are present, then all are required.
If any of PO122 or PO123 are present, then all are required.
If any of PO124 or PO125 are present, then all are required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
PID
98
Product/Item Description
Optional
Min 1 Max 1
Max Use 1000
To describe a product or process in coded or free-form format
Syntax Notes
If PID04 is present, then and PID03 is required.
At least one of PID04 or PID05 is required.
If PID07 is present, then and PID03 is required.
If PID08 is present, then and PID04 is required.
If PID09 is present, then and PID05 is required.
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
ISR_loop
Required
Min 1 Max 1
Max Loop 104
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
CTT
Transaction Totals
Optional
Max Use 1
To transmit a hash total for a specific element in the transaction set
Syntax Notes
If any of CTT03 or CTT04 are present, then all are required.
If any of CTT05 or CTT06 are present, then all are required.
CTT01
354
Number of Line Items
Required
numeric (N0)
Min 1 Max 6
Total number of line items in the transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE
Transaction Set Trailer
Required
Max Use 1
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
SE01
96
Number of Included Segments
Required
numeric (N0)
Min 1 Max 10
Total number of segments included in a transaction set including ST and SE segments
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here
SE02
329
Transaction Set Control Number
Required
alphanumeric (AN)
Min 4 Max 9
Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set
123
Description Goes Here
123
Description Goes Here
123
Description Goes Here

Schedule a Demo

Schedule a Demo

BOOK A DEMO