Stedi maintains this guide based on public documentation from Target. Contact Target for official EDI specifications. To report any errors in this guide, please contact us.
X12 860 Retail Purchase Order Change Request - Buyer Initiated
—
Delimiters
- ~ Segment
- * Element
- > Component
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
BCH
020
Beginning Segment for Purchase Order Change
Max use 1
Required
REF
050
Reference Identification
Max use 1
Required
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
CSH
110
Sales Requirements
Max use 5
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 5
Optional
DTM
150
Date/Time Reference
Max use 10
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Optional
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
—
- 00
- No Authorization Information Present (No Meaningful Information in I02)
—
- 00
- No Security Information Present (No Meaningful Information in I04)
—
- U
- U.S. EDI Community of ASC X12, TDCC, and UCS
—
- 00401
- Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
—
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
—
- PC
- Purchase Order Change Request - Buyer Initiated (860)
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
—
- BK
- Blanket Order (Quantity Firm)
- RL
- Release or Delivery Order—
- SA
- Stand-alone Order
REF
050
Heading > REF
Reference Identification
RequiredMax use >1
—
Usage notes
—
Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
SAC Loop
OptionalMax >1
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
—
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
SAC Loop end
ITD
130
Heading > ITD
Terms of Sale/Deferred Terms of Sale
OptionalMax use 5
—
Usage notes
—
Example
If Terms Discount Percent (ITD-03) is present, then at least one of Terms Discount Due Date (ITD-04), Terms Discount Days Due (ITD-05) or Day of Month (ITD-13) is required
—
- 01
- Basic
- 02
- End of Month (EOM)
- 04
- Deferred or Installment
- 05
- Discount Not Applicable
- 08
- Basic Discount Offered
- 09
- Proximo
- 12
- 10 Days After End of Month (10 EOM)
- 14
- Previously agreed upon—
- 24
- Anticipation—
DTM
150
Heading > DTM
Date/Time Reference
OptionalMax use 10
—
Usage notes
—
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
—
- 010
- Requested Ship
- 015
- Promotion Start—
- 037
- Ship Not Before
- 038
- Ship No Later
- 063
- Do Not Deliver After
- 064
- Do Not Deliver Before
- 078
- Promised for Delivery (Week of)—
- 118
- Requested Pick-up—
TD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
OptionalMax use 12
—
Usage notes
—
Example
—
- 2
- Standard Carrier Alpha Code (SCAC)
- 92
- Assigned by Buyer or Buyer's Agent
—
- A
- Air
- C
- Consolidation
- H
- Customer Pickup
- M
- Motor (Common Carrier)
- U
- Private Parcel Service
N9 Loop
OptionalMax >1
N9 Loop end
N1 Loop
OptionalMax >1
N1
300
Heading > N1 Loop > N1
Name
RequiredMax use 1
—
Usage notes
—
Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
—
- BY
- Buying Party (Purchaser)
- MF
- Manufacturer of Goods
- ST
- Ship To
- ZZ
- Mutually Defined—
N1 Loop end
Heading end
Detail
POC Loop
OptionalMax >1
POC
010
Detail > POC Loop > POC
Line Item Change
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (POC-12) or Product/Service ID (POC-13) is present, then the other is required
If either Product/Service ID Qualifier (POC-08) or Product/Service ID (POC-09) is present, then the other is required
If Basis of Unit Price Code (POC-07) is present, then Unit Price (POC-06) is required
If Quantity Ordered (POC-03) is present, then Quantity Left to Receive (POC-04) and Composite Unit of Measure (POC-05) are required
—
- AI
- Add Additional Item(s)—
- CA
- Changes To Line Items—
- DI
- Delete Item(s)—
- PC
- Price Change
- PQ
- Unit Price/Quantity Change—
- PR
- Unit Price/Reschedule Change—
OptionalMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- LE
- Catalog Price per Each
- PP
- Price per Pound
- QT
- Quoted
- UM
- Price per Unit of Measure—
- WD
- Wholesale Price per Dozen
- WE
- Wholesale Price per Each
—
Usage notes
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IB
- International Standard Book Number (ISBN)
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IB
- International Standard Book Number (ISBN)
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
CTP
040
Detail > POC Loop > CTP
Pricing Information
OptionalMax use >1
—
Usage notes
—
Example
If Multiple Price Quantity (CTP-11) is present, then Unit Price (CTP-03) is required
PID Loop
OptionalMax >1
PID
050
Detail > POC Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
—
- F
- Free-form
- S
- Structured (From Industry Code List)
- X
- Semi-structured (Code and Text)
—
- 08
- Product
- 73
- Vendor color description
- 74
- Vendor size description
—
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
PID Loop end
SAC Loop
OptionalMax >1
SAC
130
Detail > POC Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
If either Agency Qualifier Code (SAC-03) or Agency Service, Promotion, Allowance, or Charge Code (SAC-04) is present, then the other is required
—
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
—
- HA
- Hanger Service
- TC990101
- Ticketing Service
SAC Loop end
SLN Loop
OptionalMax >1
SLN
460
Detail > POC Loop > SLN Loop > SLN
Subline Item Detail
RequiredMax use 1
—
Usage notes
—
Example
If either Product/Service ID Qualifier (SLN-15) or Product/Service ID (SLN-16) is present, then the other is required
If either Product/Service ID Qualifier (SLN-13) or Product/Service ID (SLN-14) is present, then the other is required
If either Product/Service ID Qualifier (SLN-11) or Product/Service ID (SLN-12) is present, then the other is required
If either Product/Service ID Qualifier (SLN-09) or Product/Service ID (SLN-10) is present, then the other is required
If Basis of Unit Price Code (SLN-07) is present, then Unit Price (SLN-06) is required
If Relationship Code (SLN-08) is present, then Unit Price (SLN-06) is required
RequiredMax use 1
To identify a composite unit of measure
(See Figures Appendix for examples of use)
—
- LE
- Catalog Price per Each
- QT
- Quoted
- WD
- Wholesale Price per Dozen
- WE
- Wholesale Price per Each
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IB
- International Standard Book Number (ISBN)
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IB
- International Standard Book Number (ISBN)
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IB
- International Standard Book Number (ISBN)
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
—
- CB
- Buyer's Catalog Number
- EN
- European Article Number (EAN) (2-5-5-1)
- EO
- EAN/UCC - 8
- IB
- International Standard Book Number (ISBN)
- IN
- Buyer's Item Number—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
- VA
- Vendor's Style Number
PID
480
Detail > POC Loop > SLN Loop > PID
Product/Item Description
OptionalMax use 1000
—
Usage notes
—
Example
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
At least one of Product Description Code (PID-04) or Description (PID-05) is required
—
- VI
- Voluntary Inter-Industry Commerce Standard (VICS) EDI
SLN Loop end
POC Loop end
Detail end
Summary
CTT Loop
OptionalMax >1
CTT Loop end
Summary end
EDI Samples
Sample 860
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231103*0257*U*00401*000000001*0*T*>
GS*PC*SENDERGS*RECEIVERGS*20231103*025723*000000001*X*004010
ST*860*0001
BCH*01*SA*12345678901-1234***20000301*****20000401
REF*IA*3342078*VENDORABC
REF*DP*907
REF*PD*024678AB
FOB*DF*DE*Minneapolis, MN
CSH*Y
SAC*N**VI*OHPR
ITD*01*2*0**30
DTM*037*20000315
DTM*038*20000331
DTM*063*20000522
DTM*064*20000529
DTM*015*20000531
TD5*B*2*NEMF*C*VIA N ENGLAND MTR FRT
N9*ZZ*SPH
MSG*"Special Order Instructions will appear here."
N1*BY**92*1001
N1*ST*SHIP VIA VCD to DC*92*0998
N1*MF*FACTORY NAME
N2*FACTORY ID*MANUFACTURERS ID
N3*1234 Your Street
N4*Your City*MN*55440
POC*000001*PC*36*36*EA*4.06*WE*VA*100*UP*123456789016*CB*Target SKU
CTP*RS*RES*9.99********3
PID*F*08***SWEATER
PID*X*08*VI*PP*TOOL SET
PID*X*08*VI*PP*DIARY SET
PO4*6*************4
SAC*N**VI*HA
SAC*N**VI*TC990101*********Ticketing Code
SLN*000001**I*2400*EA*4.52**I*CB*Target SKU*UP*023456789015*VA*100
SLN*000001**I*2400*EA*4.52**I*CB*Target SKU*EN*1234567890123*VA*200
PID*F*08*VI*PP*Long Sleeve Sweater
CTT*123*1800
SE*36*0001
GE*1*000000001
IEA*1*000000001
GS*PC*SENDERGS*RECEIVERGS*20231103*025723*000000001*X*004010
ST*860*0001
BCH*01*SA*12345678901-1234***20000301*****20000401
REF*IA*3342078*VENDORABC
REF*DP*907
REF*PD*024678AB
FOB*DF*DE*Minneapolis, MN
CSH*Y
SAC*N**VI*OHPR
ITD*01*2*0**30
DTM*037*20000315
DTM*038*20000331
DTM*063*20000522
DTM*064*20000529
DTM*015*20000531
TD5*B*2*NEMF*C*VIA N ENGLAND MTR FRT
N9*ZZ*SPH
MSG*"Special Order Instructions will appear here."
N1*BY**92*1001
N1*ST*SHIP VIA VCD to DC*92*0998
N1*MF*FACTORY NAME
N2*FACTORY ID*MANUFACTURERS ID
N3*1234 Your Street
N4*Your City*MN*55440
POC*000001*PC*36*36*EA*4.06*WE*VA*100*UP*123456789016*CB*Target SKU
CTP*RS*RES*9.99********3
PID*F*08***SWEATER
PID*X*08*VI*PP*TOOL SET
PID*X*08*VI*PP*DIARY SET
PO4*6*************4
SAC*N**VI*HA
SAC*N**VI*TC990101*********Ticketing Code
SLN*000001**I*2400*EA*4.52**I*CB*Target SKU*UP*023456789015*VA*100
SLN*000001**I*2400*EA*4.52**I*CB*Target SKU*EN*1234567890123*VA*200
PID*F*08*VI*PP*Long Sleeve Sweater
CTT*123*1800
SE*36*0001
GE*1*000000001
IEA*1*000000001
Sample 860 (2)
ISA*00*0000000000*00*0000000000*08*1111411111 *ZZ*11S1911111 *230907*2053*U*00401*000001111*0*P*>~
GS*PC*1111411111*11S1911111*20230907*2053*17*X*004010~
ST*860*1111~
BCH*04*SA*1111-1111111-1111***20230807**D***20230907~
REF*IA*222222*ABCD~
REF*DP*111~
FOB*DF*OR*LA CA~
CSH*N~
TD5*B*92*AAA BBB~
N1*BY*TARGET DC 1111*92*1111~
N3*1111 MAIN ST~
N4*CITY*CA*11111*US~
POC*1*PQ*6*0*EA*75.5*WE*CB*1111111*VA*2222222*UP*3333333~
CTT*1*6~
SE*13*1111~
GE*1*17~
IEA*1*000001111~
GS*PC*1111411111*11S1911111*20230907*2053*17*X*004010~
ST*860*1111~
BCH*04*SA*1111-1111111-1111***20230807**D***20230907~
REF*IA*222222*ABCD~
REF*DP*111~
FOB*DF*OR*LA CA~
CSH*N~
TD5*B*92*AAA BBB~
N1*BY*TARGET DC 1111*92*1111~
N3*1111 MAIN ST~
N4*CITY*CA*11111*US~
POC*1*PQ*6*0*EA*75.5*WE*CB*1111111*VA*2222222*UP*3333333~
CTT*1*6~
SE*13*1111~
GE*1*17~
IEA*1*000001111~
Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page 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. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.