Stedi maintains this guide based on public documentation from Babylist. Contact Babylist for official EDI specifications. To report any errors in this guide, please contact us.
X12 850 B2B 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
CUR
040
Currency
Max use 1
Optional
REF
050
Reference Identification
Max use 1
Optional
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Optional
DTM
150
Customer Order
Max use 1
Optional
DTM
150
Delivery Requested
Max use 1
Optional
DTM
150
Requested Ship
Max use 1
Optional
DTM
150
Requested Ship
Max use 1
Optional
TD5
240
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
SAC Loop
OptionalMax >1
SAC
120
Heading > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
SAC Loop end
TD5
240
Heading > TD5
Carrier Details (Routing Sequence/Transit Time)
RequiredMax use 12
—
Usage notes
—
Example
If Identification Code Qualifier (TD5-02) is present, then Identification Code (TD5-03) is required
N9 Loop
OptionalMax >1
N9 Loop end
N1 Bill-to-Party
OptionalMax 1
N1
310
Heading > Bill-to-Party > 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 > Bill-to-Party > 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
N1 Bill-to-Party end
N1 Ordered By
OptionalMax 1
N1
310
Heading > Ordered By > 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 > Ordered By > 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
N1 Ordered By end
N1 Ship To
RequiredMax 1
N1
310
Heading > Ship To > 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 > 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
N1 Ship To end
Heading end
Detail
PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1
Baseline Item Data
RequiredMax use 1
—
Example
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
—
- UP
- U.P.C. Consumer Package Code (1-5-5-1)
CTP Loop
OptionalMax >1
CTP Loop end
PID Loop
OptionalMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID
Product/Item Description
RequiredMax use 1
—
Usage notes
—
Example
PID Loop end
PO4
090
Detail > PO1 Loop > PO4
Item Physical Details
OptionalMax use >1
—
Usage notes
—
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
SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC
Service, Promotion, Allowance, or Charge Information
RequiredMax use 1
—
Usage notes
—
Example
SAC Loop end
N9 Loop
OptionalMax >1
N9 Loop end
PO1 Loop end
Detail end
Summary
CTT Loop
RequiredMax >1
CTT Loop end
Summary end
EDI Samples
Sample 1
ISA*00* *00* *ZZ*SENDER *ZZ*RECEIVER *231009*2239*U*00401*000000001*0*T*>
GS*PO*SENDERGS*RECEIVERGS*20231009*223936*000000001*X*004010
ST*850*0001
BEG*00*SA*Order12345**20220712
CUR*SE*USD
REF*CO*Order12345
DTM*002*20220725
DTM*010*20220715
DTM*806*20220712
TD5**2*UNSP**UNSP
N1*BT*Babylist
N3*1625 Clay Street*Suite 500
N4*Oakland*CA*94612*US
PER*BD*Babylist*TE*1-888-827-7856
N1*ST*Babylist Inc. (EWR1)
N3*1050 Amboy Ave
N4*Perth Amboy*NJ*08861*US
N1*OB*Babylist
N3*1625 Clay Street*Suite 500
N4*Oakland*CA*94612*US
PER*BD**TE*1-888-827-7856
PO1*1*10*EA*155.99*TE*SK*2000801*VN*2000801
PID*F*08***4moms mamaRoo - Black Classic
PO1*2*40*EA*20.99*TE*SK*2000862*VN*2000862
PID*F*08***4moms Newborn Insert - Multi Plush
CTT*2
SE*25*0001
GE*1*000000001
IEA*1*000000001
GS*PO*SENDERGS*RECEIVERGS*20231009*223936*000000001*X*004010
ST*850*0001
BEG*00*SA*Order12345**20220712
CUR*SE*USD
REF*CO*Order12345
DTM*002*20220725
DTM*010*20220715
DTM*806*20220712
TD5**2*UNSP**UNSP
N1*BT*Babylist
N3*1625 Clay Street*Suite 500
N4*Oakland*CA*94612*US
PER*BD*Babylist*TE*1-888-827-7856
N1*ST*Babylist Inc. (EWR1)
N3*1050 Amboy Ave
N4*Perth Amboy*NJ*08861*US
N1*OB*Babylist
N3*1625 Clay Street*Suite 500
N4*Oakland*CA*94612*US
PER*BD**TE*1-888-827-7856
PO1*1*10*EA*155.99*TE*SK*2000801*VN*2000801
PID*F*08***4moms mamaRoo - Black Classic
PO1*2*40*EA*20.99*TE*SK*2000862*VN*2000862
PID*F*08***4moms Newborn Insert - Multi Plush
CTT*2
SE*25*0001
GE*1*000000001
IEA*1*000000001
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.