Stedi maintains this guide based on public documentation from QVC. Contact QVC for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 CommerceHub Drop Ship Purchase Order
—
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
BEG
020
Beginning Segment for Purchase Order
Max use 1
Required
REF
050
Reference Identification Internal Control Number
Max use 1
Required
REF
050
Reference Identification Internal Vendor Number
Max use 1
Required
REF
050
Reference Identification Other Codes
Max use 1
Optional
PER
060
Administrative Communications Contact
Max use 3
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
150
Date/Time Reference Promised for Delivery
Max use 1
Optional
DTM
150
Date/Time Reference Purchase Order
Max use 1
Optional
DTM
150
Date/Time Reference Sold
Max use 1
Optional
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Optional
detail
PO1 Loop
PO1
010
Baseline Item Data
Max use 1
Required
PO4
090
Item Physical Details
Max use 1
Optional
REF
100
Reference Identification
Max use 1
Optional
ITD
150
Terms of Sale/Deferred Terms of Sale
Max use 2
Optional
DTM
210
Date/Time Reference
Max use 10
Required
TD5
250
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
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
—
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
Heading
REF
050
Heading > REF
Reference Identification Internal Control Number
RequiredMax use 1
—
Example
Variants (all may be used)
REFReference Identification Internal Vendor NumberREFReference Identification Other CodesREF
050
Heading > REF
Reference Identification Internal Vendor Number
RequiredMax use 1
—
Example
Variants (all may be used)
REFReference Identification Internal Control NumberREFReference Identification Other CodesREF
050
Heading > REF
Reference Identification Other Codes
OptionalMax use >1
—
Example
Variants (all may be used)
REFReference Identification Internal Control NumberREFReference Identification Internal Vendor Number—
- BT
- Batch Number—
- CO
- Customer Order Number—
- IT
- Internal Customer Number—
- PK
- Packing List Number—
- PQ
- Payee Identification—
- WS
- Warehouse storage location number—
PER
060
Heading > PER
Administrative Communications Contact
OptionalMax use 3
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
—
- CR
- Customer Relations
- OC
- Order Contact
- OD
- Order Department
SAC Loop
OptionalMax >1
Usage notes
—
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
—
- A
- Allowance
- C
- Charge
- N
- No Allowance or Charge—
—
- B800
- Credit
- D340
- Goods and Services Charge—
- F050
- Other (See related description)—
- G821
- Shipping—
- H850
- Tax—
- ZZZZ
- Mutually Defined—
SAC Loop end
DTM
150
Heading > DTM
Date/Time Reference Promised for Delivery
OptionalMax use 1
—
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM
150
Heading > DTM
Date/Time Reference Purchase Order
OptionalMax use 1
—
Usage notes
—
Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM
150
Heading > DTM
Date/Time Reference Sold
OptionalMax use 1
—
Example
Variants (all may be used)
DTMDate/Time Reference Promised for DeliveryDTMDate/Time Reference Purchase OrderIf Time Code (DTM-04) is present, then Time (DTM-03) is required
N9 Loop
RequiredMax >1
N9 Loop end
N1 Loop Bill To Party
OptionalMax 1
PER
360
Heading > N1 Loop Bill To Party > PER
Administrative Communications Contact
RequiredMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Loop Bill To Party end
N1 Loop Ship From
OptionalMax 1
N1
310
Heading > N1 Loop Ship From > N1
Name
RequiredMax use 1
—
Example
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
PER
360
Heading > N1 Loop Ship From > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Loop Ship From end
N1 Loop Ship To
RequiredMax 1
PER
360
Heading > N1 Loop Ship To > PER
Administrative Communications Contact
OptionalMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Loop Ship To end
N1 Loop Warehouse
OptionalMax 1
PER
360
Heading > N1 Loop Warehouse > PER
Administrative Communications Contact
RequiredMax use >1
—
Example
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) is present, then the other is required
N1 Loop Warehouse end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
If Unit or Basis for Measurement Code (PO1-03) is present, then Quantity Ordered (PO1-02) is required
If Basis of Unit Price Code (PO1-05) is present, then Unit Price (PO1-04) is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
If either Product/Service ID Qualifier (PO1-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-10) or Product/Service ID (PO1-11) is present, then the other is required
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) is present, then the other is required
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
CTP Loop
RequiredMax >1
CTP Loop end
PID Loop
RequiredMax >1
PID Loop end
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
—
- A520
- Base Charge
- B800
- Credit
- G821
- Shipping
- H850
- Tax
SAC Loop end
TD5
250
Detail > PO1 Loop > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Example
N9 Loop
OptionalMax >1
N9
330
Detail > PO1 Loop > N9 Loop > N9
Reference Identification
RequiredMax use 1
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
N9 Loop end
N1 Loop Warehouse
OptionalMax >1
N1 Loop Warehouse end
SLN Loop
OptionalMax >1
PO4
518
Detail > PO1 Loop > SLN Loop > PO4
Item Physical Details
OptionalMax use 1
—
Example
If either Gross Weight per Pack (PO4-06) or Unit or Basis for Measurement Code (PO4-07) is present, then the other is required
If Length (PO4-10) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Width (PO4-11) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Height (PO4-12) is present, then Unit or Basis for Measurement Code (PO4-13) is required
If Unit or Basis for Measurement Code (PO4-13) is present, then at least one of Length (PO4-10), Width (PO4-11) or Height (PO4-12) is required
N9 Loop
OptionalMax >1
N9
523
Detail > PO1 Loop > SLN Loop > N9 Loop > N9
Reference Identification
RequiredMax use 1
—
Example
At least one of Reference Identification (N9-02) or Free-form Description (N9-03) is required
—
- 2I
- Tracking Number—
- 4C
- Shipment Destination Code—
- 97
- Package Number—
- DJ
- Delivery Ticket Number
- KK
- Delivery Reference—
- OD
- Original Return Request Reference Number—
- PN
- Permit Number—
- RU
- Route Number—
- S5
- Routing Instruction Number—
N9 Loop end
SAC Loop
OptionalMax >1
SAC
526
Detail > PO1 Loop > SLN Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Example
SAC Loop end
SLN Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Guide Sample
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *230928*1426*U*00401*000000001*0*T*>
GS*PO*SENDERGS*RECEIVERGS*20230928*142650*000000001*X*004010
ST*850*0001
BEG*00*SA*1599999999**20131031
REF*IA*V12345
REF*IT*987654321
REF*X9*123456789
REF*CO*B*93993832
PER*OD**TE*1-800-555-1212
PER*CR**TE*1-800-555-1234*EM*customerserv@help.com
SAC*C*D340***15510**********MERCHANDISE TOTAL
SAC*C*G821***3**********SHIPPING TOTAL
SAC*C*H850***1**********TAX TOTAL
SAC*C*ZZZZ***15730**********ORDER TOTAL
SAC*N*F050*************PLACE AND TRACK YOUR ORDERS AND RETURNS ON QVC.COM!
ITD*08****10**30
DTM*069*20090623
DTM*006*20120202
TD5***USPS PRIORITY MAIL**UG*******ET
TD5***USPS EXPRESS MAIL**UG*******ET
TD5***FIRST-CLASS MAIL**UG*******ET
TD5***UPS MAIL INNOVATIONS**UG*******ET
TD5***UPS SUREPOST**UG*******ET
N9*SD*IQ
N1*ST*MARIE MILLER- MILLER BROTHERS
N2*MARIE*MILLER
N3*21 CORPORATE DR*SUITE 205
N4*COLCHESTER*CT*06415-1949*US
PER*BD**TE*607-272-5555***EM*msmith@xyzCompany.com
PO1*01*1*EA*66.75*TE*SK*K118598*VN*6100000*CB*K118597*UP*67584764 7
CTP*RS*RES*19.47
PID*F*08***BLOUSE
PO4*1*****10*LB
REF*SI*5215428-03
SAC*C*G821***3**********SHIPPING CHARGE
ITD*08****0***1025
DTM*002*20090623
TD5***USPS PRIORITY MAIL**UG*******ET
N9*2I*1Z90894879569*1
MSG*To return this item use the small RETURN YOUR WAY LABEL or visit QVC.com Order Status, select your order to print a Q return label.
N1*WH**54*5001
SLN*1**O
MSG*Additional product information or return instructions
PO4******77*LB
N9*DJ*92841088356.00*USPS TRACKING # eVS
SAC*C*G500***500**********DESCRIPTION
CTT*1
SE*46*0001
GE*1*000000001
IEA*1*000000001
GS*PO*SENDERGS*RECEIVERGS*20230928*142650*000000001*X*004010
ST*850*0001
BEG*00*SA*1599999999**20131031
REF*IA*V12345
REF*IT*987654321
REF*X9*123456789
REF*CO*B*93993832
PER*OD**TE*1-800-555-1212
PER*CR**TE*1-800-555-1234*EM*customerserv@help.com
SAC*C*D340***15510**********MERCHANDISE TOTAL
SAC*C*G821***3**********SHIPPING TOTAL
SAC*C*H850***1**********TAX TOTAL
SAC*C*ZZZZ***15730**********ORDER TOTAL
SAC*N*F050*************PLACE AND TRACK YOUR ORDERS AND RETURNS ON QVC.COM!
ITD*08****10**30
DTM*069*20090623
DTM*006*20120202
TD5***USPS PRIORITY MAIL**UG*******ET
TD5***USPS EXPRESS MAIL**UG*******ET
TD5***FIRST-CLASS MAIL**UG*******ET
TD5***UPS MAIL INNOVATIONS**UG*******ET
TD5***UPS SUREPOST**UG*******ET
N9*SD*IQ
N1*ST*MARIE MILLER- MILLER BROTHERS
N2*MARIE*MILLER
N3*21 CORPORATE DR*SUITE 205
N4*COLCHESTER*CT*06415-1949*US
PER*BD**TE*607-272-5555***EM*msmith@xyzCompany.com
PO1*01*1*EA*66.75*TE*SK*K118598*VN*6100000*CB*K118597*UP*67584764 7
CTP*RS*RES*19.47
PID*F*08***BLOUSE
PO4*1*****10*LB
REF*SI*5215428-03
SAC*C*G821***3**********SHIPPING CHARGE
ITD*08****0***1025
DTM*002*20090623
TD5***USPS PRIORITY MAIL**UG*******ET
N9*2I*1Z90894879569*1
MSG*To return this item use the small RETURN YOUR WAY LABEL or visit QVC.com Order Status, select your order to print a Q return label.
N1*WH**54*5001
SLN*1**O
MSG*Additional product information or return instructions
PO4******77*LB
N9*DJ*92841088356.00*USPS TRACKING # eVS
SAC*C*G500***500**********DESCRIPTION
CTT*1
SE*46*0001
GE*1*000000001
IEA*1*000000001
Test 850
ISA*00* *00* *12*4847011000CH *01*TEST *230921*1529*U*00401*000441279*0*T*>~
GS*PO*4847011000CH*TEST*20230921*15291768*000857834*X*004010~
ST*850*0001~
BEG*00*SA*253545234**20230916~
REF*X9*2323452~
REF*IA*53452345~
REF*IT*XXXXXX1200~
REF*PQ*Visa*Visa~
REF*CO*345523~
REF*BT*453~
PER*OD**TE*8003452215~
PER*OC**TE*8003452212~
PER*CR**TE*8003622444~
SAC*A*B800***9542**********CREDIT TOTAL~
SAC*C*D340***8753**********MERCHANDISE TOTAL~
SAC*C*H850***789**********TAX TOTAL~
SAC*C*ZZZZ***9542**********ORDER TOTAL~
SAC*N*F050*************PLACE AND TRACK YOUR ORDERS AND RETURNS ON QVC.COM! PLUS, EASILY SHOP THE LAST 7~
SAC*N*F050************* DAYS OF ITEMS SOLD ON TV BY CHECKING OUT QVC'S ITEMS RECENTLY ON-AIR PAGE.~
ITD*08****0***00~
DTM*006*20230916~
DTM*069*20230929~
N9*SD*IQ~
N1*BT*David K~
N2*David*K~
N3*5306 West North~
N4*Jersey City*NJ*07042*US~
PER*BD**TE*3144352275~
N1*ST*David K~
N3*5306 West North~
N4*Jersey City*NJ*07042*US~
N1*SF*Jersey North*93*0150~
N3*2200 Tv Road~
N4*Florence*SC*29501*US~
PO1*02*1*EA*37.38*TE*SK*2341341*VN*24234123*CB*2441234*UP*887229891270~
CTP*RS*RES*87.53~
PID*F*08***TEST SKU~
PID*F*35***194~
PID*F*91***284~
PID*F*75***Tan 8~
REF*4D*919~
SAC*A*B800***9542**********CREDIT~
SAC*C*H850***789**********TAX CHARGE~
SAC*C*A520***9542**********LINE SUBTOTAL~
ITD*08****0***00~
DTM*010*20230926~
DTM*002*20230929~
DTM*038*20230926~
TD5***UPS SurePost**UPSN_ST~
N9*2I**01~
N1*WH**54*DMG~
N4*Edison*NJ~
SLN*0*01*O*1*EA~
MSG*Need to return something? Visit QVC.com to begin. Go to ORDER STATUS. Click VIEW ORDER. Click START A RETURN. Need more info? Visit QVC.com and search 'returns,' or call 1.800.367.9444.~
PO4******22.4*OZ***11*4*5.5*IN~
N9*97*36349078~
CTT*1~
SE*56*0001~
GE*1*000857834~
IEA*1*000441279~
GS*PO*4847011000CH*TEST*20230921*15291768*000857834*X*004010~
ST*850*0001~
BEG*00*SA*253545234**20230916~
REF*X9*2323452~
REF*IA*53452345~
REF*IT*XXXXXX1200~
REF*PQ*Visa*Visa~
REF*CO*345523~
REF*BT*453~
PER*OD**TE*8003452215~
PER*OC**TE*8003452212~
PER*CR**TE*8003622444~
SAC*A*B800***9542**********CREDIT TOTAL~
SAC*C*D340***8753**********MERCHANDISE TOTAL~
SAC*C*H850***789**********TAX TOTAL~
SAC*C*ZZZZ***9542**********ORDER TOTAL~
SAC*N*F050*************PLACE AND TRACK YOUR ORDERS AND RETURNS ON QVC.COM! PLUS, EASILY SHOP THE LAST 7~
SAC*N*F050************* DAYS OF ITEMS SOLD ON TV BY CHECKING OUT QVC'S ITEMS RECENTLY ON-AIR PAGE.~
ITD*08****0***00~
DTM*006*20230916~
DTM*069*20230929~
N9*SD*IQ~
N1*BT*David K~
N2*David*K~
N3*5306 West North~
N4*Jersey City*NJ*07042*US~
PER*BD**TE*3144352275~
N1*ST*David K~
N3*5306 West North~
N4*Jersey City*NJ*07042*US~
N1*SF*Jersey North*93*0150~
N3*2200 Tv Road~
N4*Florence*SC*29501*US~
PO1*02*1*EA*37.38*TE*SK*2341341*VN*24234123*CB*2441234*UP*887229891270~
CTP*RS*RES*87.53~
PID*F*08***TEST SKU~
PID*F*35***194~
PID*F*91***284~
PID*F*75***Tan 8~
REF*4D*919~
SAC*A*B800***9542**********CREDIT~
SAC*C*H850***789**********TAX CHARGE~
SAC*C*A520***9542**********LINE SUBTOTAL~
ITD*08****0***00~
DTM*010*20230926~
DTM*002*20230929~
DTM*038*20230926~
TD5***UPS SurePost**UPSN_ST~
N9*2I**01~
N1*WH**54*DMG~
N4*Edison*NJ~
SLN*0*01*O*1*EA~
MSG*Need to return something? Visit QVC.com to begin. Go to ORDER STATUS. Click VIEW ORDER. Click START A RETURN. Need more info? Visit QVC.com and search 'returns,' or call 1.800.367.9444.~
PO4******22.4*OZ***11*4*5.5*IN~
N9*97*36349078~
CTT*1~
SE*56*0001~
GE*1*000857834~
IEA*1*000441279~
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.