Target
/
Drop Ship Purchase Order
  • Specification
  • EDI Inspector
Import guide into your account
Target logo

X12 850 Drop Ship Purchase Order

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Purchase Order Transaction Set (850) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to provide for customary and established business and industry practice relative to the placement of purchase orders for goods and services. This transaction set should not be used to convey purchase order changes or purchase order acknowledgment information.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
  • Sample 850
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/target/drop-ship-purchase-order/01HBRNN9MB9XVKJJZV2MFQQJ8M
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
Max use 1
Required
DTM
150
Date/Time Reference
Max use 10
Required
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Required
N9 Loop
detail
PO1 Loop
PO1
010
Baseline Item Data
Max use 1
Required
MSG
289
Message Text
Max use 1
Optional
PKG Loop
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

To start and identify an interchange of zero or more functional groups and interchange-related control segments

Example
ISA-01
I01
Authorization Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 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)

ISA-03
I03
Security Information Qualifier
Required
Identifier (ID)

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 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)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 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

ISA-07
I05
Interchange ID Qualifier
Required
Identifier (ID)
Min 2Max 2

Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 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

ISA-09
I08
Interchange Date
Required
Date (DT)
YYMMDD format

Date of the interchange

ISA-10
I09
Interchange Time
Required
Time (TM)
HHMM format

Time of the interchange

ISA-11
I10
Interchange Control Standards Identifier
Required
Identifier (ID)

Code to identify the agency responsible for the control standard used by the message that is enclosed by the interchange header and trailer

U
U.S. EDI Community of ASC X12, TDCC, and UCS
ISA-12
I11
Interchange Control Version Number
Required
Identifier (ID)

This version number covers the interchange control segments

00401
Draft Standards for Trial Use Approved for Publication by ASC X12 Procedures Review Board through October 1997
ISA-13
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)
Min 1Max 1

Code sent by the sender to request an interchange acknowledgment (TA1)

0
No Acknowledgment Requested
1
Interchange Acknowledgment Requested
ISA-15
I14
Usage Indicator
Required
Identifier (ID)
Min 1Max 1

Code to indicate whether data enclosed by this interchange envelope is test, production or information

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 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

>
Component Element Separator

Functional Group Header

RequiredMax use 1

To indicate the beginning of a functional group and to provide control information

Example
GS-01
479
Functional Identifier Code
Required
Identifier (ID)

Code identifying a group of application related transaction sets

PO
Purchase Order (850)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

Code identifying party sending transmission; codes agreed to by trading partners

GS-03
124
Application Receiver's Code
Required
String (AN)
Min 2Max 15

Code identifying party receiving transmission. Codes agreed to by trading partners

GS-04
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

GS-05
337
Time
Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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)

GS-06
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)
Min 1Max 2

Code used in conjunction with Data Element 480 to identify the issuer of the standard

T
Transportation Data Coordinating Committee (TDCC)
X
Accredited Standards Committee X12
GS-08
480
Version / Release / Industry Identifier Code
Required
String (AN)

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

004010
Draft Standards Approved for Publication by ASC X12 Procedures Review Board through October 1997

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1

To indicate the start of a transaction set and to assign a control number

Example
ST-01
143
Transaction Set Identifier Code
Required
Identifier (ID)

Code uniquely identifying a Transaction Set

  • The transaction set identifier (ST01) used by the translation routines of the interchange partners to select the appropriate transaction set definition (e.g., 810 selects the Invoice Transaction Set).
850
Purchase Order
ST-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

BEG
020
Heading > BEG

Beginning Segment for Purchase Order

RequiredMax use 1

To indicate the beginning of the Purchase Order Transaction Set and transmit identifying numbers and dates

Usage notes

BEG00DS12345678901234567890200908019859

Example
BEG-01
353
Transaction Set Purpose Code
Required
Identifier (ID)

Code identifying purpose of transaction set

00
Original
BEG-02
92
Purchase Order Type Code
Required
Identifier (ID)

Code specifying the type of Purchase Order

DS
Dropship
BEG-03
324
Purchase Order Number
Required
String (AN)
Min 1Max 22

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

Release ID
Note: this value will be a 10 digit number

BEG-04
328
Release Number
Required
String (AN)
Min 1Max 30

Number identifying a release against a Purchase Order previously placed by the parties involved in the transaction

BEG-05
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • BEG05 is the date assigned by the purchaser to purchase order.
Usage notes

PO create date

BEG-06
367
Contract Number
Required
String (AN)
Min 1Max 30

Contract number

REF
050
Heading > REF

Reference Identification

RequiredMax use >1

To specify identifying information

Usage notes

Up to five occurrences of the REF may be sent.

Vendor number will always be a minimum of four digits.

Sample REF Segments

---

REFD736
REFOQ66414265
REFWSTTTT
REF VR12345
REF
KK*B

Example
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

D7
Coverage Code

Type of protection provided by an insurance policy
Qualifier for order type.

KK
Delivery Reference
OQ
Order Number

Qualifies a code that identifies the authorizing documentation for a household goods

VR
Vendor ID Number
WS
Warehouse storage location number
REF-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

When REF01 = D7, this will contain the order type.
36 is Target.com

When REF01 = OQ, this will contain the Target.com guest order ID.

When REF01 = VR, this will contain the Target.com assigned vendor number.

Vendor number will always be a minimum of 4 digits.

When REF01 = WS, this will contain the EDC. A code which identifies a specific Warehouse location. A minimum of 4 characters.

When REF01 = KK, this will contain the managed delivery date code (Code only will be sent. The description is included for information purposes only).

Code - Description
O - Same Day Shipping
B - On
N - Non - Upgradeable
H - Hazardous Material
A - Preorder on or after delivery

DTM
150
Heading > DTM

Date/Time Reference

RequiredMax use 10

To specify pertinent dates and times

Usage notes

DTM00120101105
DTM00620101104
DTM01720101106

Example
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

Code specifying type of date or time, or both date and time

001
Cancel After

Required Ship Date

006
Sold

Guest Order Date

017
Estimated Delivery
DTM-02
373
Date
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

TD5
240
Heading > TD5

Carrier Details (Routing Sequence/Transit Time)

RequiredMax use 12

To specify the carrier and sequence of routing and provide transit time information

Usage notes

TD52*SCACNS*******G2

Example
TD5-02
66
Identification Code Qualifier
Required
Identifier (ID)

Code designating the system/method of code structure used for Identification Code (67)

  • When specifying a routing sequence to be used for the shipment movement in lieu of specifying each carrier within the movement, use TD502 to identify the party responsible for defining the routing sequence, and use TD503 to identify the actual routing sequence, specified by the party identified in TD502.
2
Standard Carrier Alpha Code (SCAC)
TD5-03
67
Identification Code
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

Usage notes

SCAC Code. See list on Partners Online | EDI Routing Codes.

TD5-05
387
Routing
Required
String (AN)

Free-form description of the routing or requested routing for shipment, or the originating carrier's identity

AS
White Glove Assembly with Signature Required LTL
ES
3-Day Select UPS / FedEx
ESS
3-Day Select Signature UPS / FEDEx
HD
Home Delivery with No Signature Required FedEx
HDS
Home Delivery with Signature Required FedEx
IS
Through the Door with Signature Required LTL
MI
Mail Innovations/MIP/MM UPS
NDS
Next Day Air with No Signature Required UPS/FedEx
NDSS
Next Day Air with Signature Required UPS/FedEx
NS
No Signature Required UPS / FedEx
PON
Priority Overnight FedEx
PONS
Priority Signature FedEx
RS
Room of Choice with Signature Required LTL
SG
Signature Required UPS / FedEx
SMP
SmartPost with No Signature Required FedEx
SMPU
Signature FedEx
SP
SurePost UPS
TD
To the Door LTL
WS
White Glove with Signature Required LTL
TD5-12
284
Service Level Code
Required
Identifier (ID)

Code indicating the level of transportation service or the billing service offered by the transportation carrier

Usage notes

Unless previously negotiated with Target.com, DS will represent LTL and G2, ND, SC, SS and NS will represent UPS/FedEx.

DS
Door Service
G2
Standard Service
ND
Next Day Air

Delivery during business day hours of next business day

NS
Not Served

NOTE: this value will be used to indicate Next Day Saturday*

PO
P.O. Box/Zip Code
SC
Second Day Air

Delivery during business day hours no later than second business day

SS
2 Day Saturday
N9 Loop
RequiredMax >1
N9
295
Heading > N9 Loop > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

N9L1MESSAGE*This Shipment Completes Your Order
Note: Multiple N9 segments may be sent to complete the message.

N9L1MESSAGE*Thank you for your purchase. If you ordered

N9L1MESSAGE*additional items they will arrive separately.

Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

L1
Letters or Notes
N9-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

Will contain the literal "MESSAGE"

N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45

Free-form descriptive text

N9 Loop end
N1 Bill-to-Party
RequiredMax 1
Variants (all may be used)
N1 Loop Ship To
N1
310
Heading > Bill-to-Party > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes

N1BTTarget.com Accounts Payable

Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

BT
Bill-to-Party
N1-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

For Digital Vendors not shipping a physical product and N101 contains ST, N102 may not be sent.

N2
320
Heading > Bill-to-Party > N2

Additional Name Information

OptionalMax use 2

To specify additional names or those longer than 35 characters in length

Usage notes

N2*Attn John Smith

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

Used to provide name such as Attention or Company

N3
330
Heading > Bill-to-Party > N3

Address Information

RequiredMax use 2

To specify the location of the named party

Usage notes

N3TNC 3110PO Box 1296

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
340
Heading > Bill-to-Party > N4

Geographic Location

RequiredMax use >1

To specify the geographic place of the named party

Usage notes

N4MinneapolisMN55440USA

Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Usage notes

For Digital vendors not shipping a physical product and N101 contains ST, the N401 may not be sent.

N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3

Code identifying the country

PER
360
Heading > Bill-to-Party > PER

Administrative Communications Contact

OptionalMax use >1

To identify a person or office to whom administrative communications should be directed

Usage notes

PERCNCONTACT NAMEEMJOE.WHITE@ABC.COMTE(826) 803-9087

Example
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

CN
General Contact
PER-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

EM
Electronic Mail
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

N1 Bill-to-Party end
N1 Loop Ship To
RequiredMax 1
Variants (all may be used)
Bill-to-Party
N1
310
Heading > N1 Loop Ship To > N1

Name

RequiredMax use 1

To identify a party by type of organization, name, and code

Usage notes

N1STJane Doe

Example
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

Code identifying an organizational entity, a physical location, property or an individual

ST
Ship To
N1-02
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

For Digital Vendors not shipping a physical product and N101 contains ST, N102 may not be sent.

N2
320
Heading > N1 Loop Ship To > N2

Additional Name Information

OptionalMax use 2

To specify additional names or those longer than 35 characters in length

Usage notes

For Digital vendors not shipping a physical product and N101 contains ST, the N2 may not be sent.

Sample N2 Segment

---

N2*Attn John Smith

Example
N2-01
93
Name
Required
String (AN)
Min 1Max 60

Free-form name

Usage notes

Used to provide name such as Attention or Company

N3
330
Heading > N1 Loop Ship To > N3

Address Information

RequiredMax use 2

To specify the location of the named party

Usage notes

For Digital vendors not shipping a physical product and N101 contains ST, the N3 may not be sent.

N3123 Some StreetApt 1

Example
N3-01
166
Address Information
Required
String (AN)
Min 1Max 55

Address information

N3-02
166
Address Information
Optional
String (AN)
Min 1Max 55

Address information

N4
340
Heading > N1 Loop Ship To > N4

Geographic Location

RequiredMax use >1

To specify the geographic place of the named party

Usage notes

N4AnyplaceMN55555-5555USA

Example
N4-01
19
City Name
Required
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Usage notes

For Digital vendors not shipping a physical product and N101 contains ST, the N401 may not be sent.

N4-02
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2

Code (Standard State/Province) as defined by appropriate government agency

  • N402 is required only if city name (N401) is in the U.S. or Canada.
N4-03
116
Postal Code
Required
Identifier (ID)
Min 3Max 15

Code defining international postal zone code excluding punctuation and blanks (zip code for United States)

N4-04
26
Country Code
Required
Identifier (ID)
Min 2Max 3

Code identifying the country

PER
360
Heading > N1 Loop Ship To > PER

Administrative Communications Contact

OptionalMax use >1

To identify a person or office to whom administrative communications should be directed

Usage notes

PERCNCONTACT NAMEEMJOE.WHITE@ABC.COMTE(826) 803-9087

Example
If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
If either Communication Number Qualifier (PER-03) or Communication Number (PER-04) is present, then the other is required
PER-01
366
Contact Function Code
Required
Identifier (ID)

Code identifying the major duty or responsibility of the person or group named

CN
General Contact
PER-02
93
Name
Optional
String (AN)
Min 1Max 60

Free-form name

PER-03
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

EM
Electronic Mail
PER-04
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

PER-05
365
Communication Number Qualifier
Optional
Identifier (ID)

Code identifying the type of communication number

TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

N1 Loop Ship To end
Heading end

Detail

PO1 Loop
RequiredMax >1
PO1
010
Detail > PO1 Loop > PO1

Baseline Item Data

RequiredMax use 1

To specify basic and most frequently used line item data

  • PO102 is required.
Usage notes

Target.com will send 4 item identifiers; manufacturer style number, Target.com item number, UPC or EAN or ISBN, and DPCI.

They will always be sent in the following sequence: Target.com item number, manufacturer's style number, UPC, EAN or ISBN, DPCI

ISBN will be either 10 or 13 digits.

Sample PO1 Segment

---

PO111EA19.45PEIN9876543SK123456UP102398765423CB*123-12-1234

Example
PO1-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • PO101 is the line item identification.
Usage notes

Order Line Number.
May not begin with line 1 or be sequential.
Vendors will only receive line number pertaining to items fulfilled by them.

PO1-02
330
Quantity Ordered
Required
Decimal number (R)
Min 1Max 15

Quantity ordered

PO1-03
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

EA
Each
PO1-04
212
Unit Price
Required
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

PO1-05
639
Basis of Unit Price Code
Required
Identifier (ID)

Code identifying the type of unit price for an item

PE
Price per Each
PO1-06
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • PO106 through PO125 provide for ten different product/service IDs per each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
PO1-07
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO106 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When PO106 = EN, this value is the 13 digit EAN
When PO106 = EO, this value is the 8 digit EAN
When PO106 = IB, this value is the ISBN (either 10 or 13 digits)
When PO106 = IN, this value is the Target.com item ID
When PO106 = SK, this value is the manufacturer's style number
When PO106 = UA, this value is the UPC case code
When PO106 = UK, this value is the 14- digit barcode
When PO106 = UP, this value is the UPC

PO1-08
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
PO1-09
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO108 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When PO108 = EN, this value is the 13 digit EAN
When PO108 = EO, this value is the 8 digit EAN
When PO108 = IB, this value is the ISBN (either 10 or 13 digits)
When PO108 = IN, this value is the Target.com item ID
When PO108 = SK, this value is the manufacturer's style number
When PO108 = UA, this value is the UPC case code
When PO108 = UK, this value is the 14- digit barcode
When PO108 = UP, this value is the UPC

PO1-10
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
PO1-11
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO110 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When PO110 = EN, this value is the 13 digit EAN
When PO110 = EO, this value is the 8 digit EAN
When PO110 = IB, this value is the ISBN (either 10 or 13 digits)
When PO110 = IN, this value is the Target.com item ID
When PO110 = SK, this value is the manufacturer's style number
When PO110 = UA, this value is the UPC case code
When PO110 = UK, this value is the 14- digit barcode
When PO110 = UP, this value is the UPC

PO1-12
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
PO1-13
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO112 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When PO112 = EN, this value is the 13 digit EAN
When PO112 = EO, this value is the 8 digit EAN
When PO112 = IB, this value is the ISBN (either 10 or 13 digits)
When PO112 = IN, this value is the Target.com item ID
When PO112 = SK, this value is the manufacturer's style number
When PO112 = UA, this value is the UPC case code
When PO112 = UK, this value is the 14- digit barcode
When PO112 = UP, this value is the UPC

PID Loop
RequiredMax >1
PID
050
Detail > PO1 Loop > PID Loop > PID

Product/Item Description

RequiredMax use 1

To describe a product or process in coded or free-form format

Usage notes

PIDF08***Description

Example
PID-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)

Code identifying the general class of a product or process characteristic

08
Product
PID-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

PID Loop end
MSG
289
Detail > PO1 Loop > MSG

Message Text

OptionalMax use >1

To provide a free-form format that allows the transmission of text information

Usage notes

MSG* Mail In or Store

Example
MSG-01
933
Free-Form Message Text
Required
String (AN)
Min 1Max 264

Free-form message text

Usage notes

This element will contain the return method.
Possible options include:
Mail in Only
Store Only
Mail In or Store
No Returns

PKG Loop
OptionalMax >1
PKG
305
Detail > PO1 Loop > PKG Loop > PKG

Marking, Packaging, Loading

RequiredMax use 1

To describe marking, packaging, loading, and unloading requirements

Usage notes

PKGFWM***MESSAGE

Example
If Description (PKG-05) is present, then Item Description Type (PKG-01) is required
PKG-01
349
Item Description Type
Optional
Identifier (ID)

Code indicating the format of a description

  • If PKG01 equals "F", then PKG05 is used. If PKG01 equals "S", then PKG04 is used. If PKG01 equals "X", then both PKG04 and PKG05 are used.
F
Free-form
PKG-02
753
Packaging Characteristic Code
Optional
Identifier (ID)

Code specifying the marking, packaging, loading and related characteristics being described

WM
Wrapping Material
PKG-05
352
Description
Optional
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

  • Special marking or tagging data can be given in PKG05 (description).
PKG Loop end
N9 Loop
OptionalMax >1
N9
330
Detail > PO1 Loop > N9 Loop > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

N9L1Message*Return Policy

Example
N9-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

L1
Letters or Notes
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier

Usage notes

Contains literal "Message"

N9-03
369
Free-form Description
Required
String (AN)
Min 1Max 45

Free-form descriptive text

N9 Loop end
SLN Loop
OptionalMax >1
SLN
470
Detail > PO1 Loop > SLN Loop > SLN

Subline Item Detail

RequiredMax use 1

To specify product subline detail item data

Usage notes

This segment is used to indicate components of the item in the previous PO1 segment.

Target.com will send 4 item identifiers and in the following sequence: Target.com item number, manufacturer style number, UPC or EAN or ISBN, and DPCI.

ISBN will be either 10 or 13 digits.

Sample SLN Example

---

SLN1**I1EA3.55*IIN*2456987SK123456UP105647894512CB*123-12-1239

SLN1**I1EA8.17*IIN*4233365SK654321UP178952100333CB*123-12-1238

SLN1**I1EA3.11*IIN*7854213SK987542UP106548792213CB*123-12-1237

Example
SLN-01
350
Assigned Identification
Required
String (AN)
Min 1Max 20

Alphanumeric characters assigned for differentiation within a transaction set

  • SLN01 is the identifying number for the subline item.
  • SLN01 is related to (but not necessarily equivalent to) the baseline item number. Example: 1.1 or 1A might be used as a subline number to relate to baseline number 1.
SLN-03
662
Relationship Code
Required
Identifier (ID)

Code indicating the relationship between entities

  • SLN03 is the configuration code indicating the relationship of the subline item to the baseline item.
I
Included
SLN-04
380
Quantity
Required
Decimal number (R)
Min 1Max 15

Numeric value of quantity

SLN-05
C001
Composite Unit of Measure
RequiredMax use 1
To identify a composite unit of measure (See Figures Appendix for examples of use)
C001-01
355
Unit or Basis for Measurement Code
Required
Identifier (ID)

Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

EA
Each
SLN-06
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15

Price per unit of product, service, commodity, etc.

SLN-09
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

  • SLN09 through SLN28 provide for ten different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
SLN-10
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN09 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When SLN09 = EN, this value is the 13 digit EAN
When SLN09 = EO, this value is the 8 digit EAN
When SLN09 = IB, this value is the ISBN (either 10 or 13 digits)
When SLN09 = IN, this value is the Target.com item ID
When SLN09 = SK, this value is the manufacturer's style number
When SLN09 = UA, this value is the UPC case code
When SLN09 = UK, this value is the 14-digit barcode
When SLN09 = UP, this value is the UPC

SLN-11
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
SLN-12
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN11 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When SLN11 = EN, this value is the 13 digit EAN
When SLN11 = EO, this value is the 8 digit EAN
When SLN11 = IB, this value is the ISBN (either 10 or 13 digits)
When SLN11 = IN, this value is the Target.com item ID
When SLN11 = SK, this value is the manufacturer's style number
When SLN11 = UA, this value is the UPC case code
When SLN11 = UK, this value is the 14-digit barcode
When SLN11 = UP, this value is the UPC

SLN-13
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
SLN-14
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN13 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When SLN13 = EN, this value is the 13 digit EAN
When SLN13 = EO, this value is the 8 digit EAN
When SLN13 = IB, this value is the ISBN (either 10 or 13 digits)
When SLN13 = IN, this value is the Target.com item ID
When SLN13 = SK, this value is the manufacturer's style number
When SLN13 = UA, this value is the UPC case code
When SLN13 = UK, this value is the 14-digit barcode
When SLN13 = UP, this value is the UPC

SLN-15
235
Product/Service ID Qualifier
Required
Identifier (ID)

Code identifying the type/source of the descriptive number used in Product/Service ID (234)

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
SK
Stock Keeping Unit (SKU)
UA
U.P.C./EAN Case Code (2-5-5)
UK
U.P.C./EAN Shipping Container Code (1-2-5-5-1)

A 14-digit code that uniquely identifies the manufacturer's shipping unit, including the packaging indicator and check digit; the first digit is the packaging indicator, the next two digits are the number system characters, the next five digits are the manufacturer ID number, the second five digits are the item code, and the final digit is the check digit

UP
U.P.C. Consumer Package Code (1-5-5-1)
SLN-16
234
Product/Service ID
Required
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN15 = CB, this value is the Target.com DPCI (format xxx-xx-xxxx)
When SLN15 = EN, this value is the 13 digit EAN
When SLN15 = EO, this value is the 8 digit EAN
When SLN15 = IB, this value is the ISBN (either 10 or 13 digits)
When SLN15 = IN, this value is the Target.com item ID
When SLN15 = SK, this value is the manufacturer's style number
When SLN15 = UA, this value is the UPC case code
When SLN15 = UK, this value is the 14-digit barcode
When SLN15 = UP, this value is the UPC

PID
490
Detail > PO1 Loop > SLN Loop > PID

Product/Item Description

OptionalMax use 1000

To describe a product or process in coded or free-form format

Usage notes

This segment will contain the description of the component in the previous SLN segment.

Sample PID Segment

---

PIDF08***Component Description

Example
PID-01
349
Item Description Type
Required
Identifier (ID)

Code indicating the format of a description

  • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
F
Free-form
PID-02
750
Product/Process Characteristic Code
Required
Identifier (ID)

Code identifying the general class of a product or process characteristic

08
Product
PID-05
352
Description
Required
String (AN)
Min 1Max 80

A free-form description to clarify the related data elements and their content

SLN Loop end
PO1 Loop end
Detail end

Summary

CTT Loop
RequiredMax >1
CTT
010
Summary > CTT Loop > CTT

Transaction Totals

RequiredMax use 1

To transmit a hash total for a specific element in the transaction set

  • The number of line items (CTT01) is the accumulation of the number of PO1 segments. If used, hash total (CTT02) is the sum of the value of quantities ordered (PO102) for each PO1 segment.
Usage notes

CTT*1

Example
CTT-01
354
Number of Line Items
Required
Numeric (N0)
Min 1Max 6

Total number of line items in the transaction set

CTT-02
347
Hash Total
Optional
Decimal number (R)
Min 1Max 10

Sum of values of the specified data element. All values in the data element will be summed without regard to decimal points (explicit or implicit) or signs. Truncation will occur on the left most digits if the sum is greater than the maximum size of the hash total of the data element.

## Example:
-.0018 First occurrence of value being hashed.
.18 Second occurrence of value being hashed.
1.8 Third occurrence of value being hashed.
18.01 Fourth occurrence of value being hashed.

1855 Hash total prior to truncation.
855 Hash total after truncation to three-digit field.

Usage notes

Sum of Quantity Ordered Element (PO102)

CTT Loop end
SE
030
Summary > SE

Transaction Set Trailer

RequiredMax 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)

Example
SE-01
96
Number of Included Segments
Required
Numeric (N0)
Min 1Max 10

Total number of segments included in a transaction set including ST and SE segments

SE-02
329
Transaction Set Control Number
Required
Numeric (N)
Min 4Max 9

Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

Summary end

Functional Group Trailer

RequiredMax use 1

To indicate the end of a functional group and to provide control information

Example
GE-01
97
Number of Transaction Sets Included
Required
Numeric (N0)
Min 1Max 6

Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element

GE-02
28
Group Control Number
Required
Numeric (N0)
Min 1Max 9

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

To define the end of an interchange of zero or more functional groups and interchange-related control segments

Example
IEA-01
I16
Number of Included Functional Groups
Required
Numeric (N0)
Min 1Max 5

A count of the number of functional groups included in an interchange

IEA-02
I12
Interchange Control Number
Required
Numeric (N0)
Min 9Max 9

A control number assigned by the interchange sender

EDI Samples

Sample 850

ISA*00*0000000000*00*0000000000*ZZ*AABBCC *ZZ*1112001111 *230801*1750*U*00401*000000111*0*P*>~
GS*PO*AABBCC*1112001111*20230801*1750*218*X*004010~
ST*850*1111~
BEG*00*DS*345345345*787878*20230801*1234~
REF*OQ*789078907890~
REF*D7*11~
REF*WS*ABC3~
REF*VR*123321~
REF*KK*N~
DTM*001*20230803~
DTM*006*20230801~
DTM*017*20230809~
TD5**2*ABCD**NS*******G2~
N9*L1*MESSAGE*Thank you for your purchase. If you ordered a~
N9*L1*MESSAGE*dditional items they will arrive separately.~
N1*BT*BT Name~
N3*ABV 123*PO Box 1122~
N4*Minneapolis*MN*55111*US~
N1*ST*ST Name~
N3*1234 Main Street~
N4*Cincinnati*OH*45111*US~
PER*CN*Name Name*EM*name.name@gmail.com*TE*(555) 123-4455~
PO1*1*1*EA*140.0*PE*IN*123123123*SK*AAA-BBB-CCC-D*UP*7897987989078*CB*111-22-3333~
PID*F*08***Red TShirt~
MSG*Mail in or Store~
CTT*1*1~
SE*25*1111~
GE*1*218~
IEA*1*000000111~

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.