Target
/
Retail Purchase Order
  • Specification
  • EDI Inspector
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.
Go to Stedi Network
Target logo

X12 850 Retail 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/retail-purchase-order/01HBRP5VK9HAJT2GEGHH3CBPYV
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
PER
060
Administrative Communications Contact
Max use 3
Optional
FOB
080
F.O.B. Related Instructions
Max use 1
Optional
CSH
110
Sales Requirements
Max use 5
Optional
SAC Loop
ITD
130
Terms of Sale/Deferred Terms of Sale
Max use 1
Required
DTM
150
Date/Time Reference
Max use 10
Required
TD5
240
Carrier Details (Routing Sequence/Transit Time)
Max use 12
Optional
Buying Party (Purchaser)
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

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

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

NOTE: Starting in Dec 2017, Target will start phasing in a new PO format. The new format removes the 4 digit department number prefix and the purchase order number will be moving from 7 digits to 11 digits. No changes are being made to the location number.
During this transition, your company needs to be able to receive both PO formats, as both may be received during transition. The same PO format received from Target will need to be returned on all EDI related documents for that PO to ensure no business interruption.

New Purchase Order Number Format:
12345678901-0551

Sample BEG Segment

---

BEG00SASSSS-PPPPPPP-LLLL**20000320D
BEG00SA12345678909-0551**20000320D

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

Code identifying purpose of transaction set

00
Original
06
Confirmation

This code is used for confirmation orders only.
Vendor should have previously received an order via phone or fax.

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

Code specifying the type of Purchase Order

BK
Blanket Order (Quantity Firm)

An order with a purchase order type code of "BK", can NOT be released for shipment.

A release order (purchase order type of "RL") must be received, before a shipment can be released for delivery.

RL
Release or Delivery Order
SA
Stand-alone Order

An order with one or more locations that is approved and allocated on the same day.

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

Identifying number for Purchase Order assigned by the orderer/purchaser

Usage notes

New Purchase Order Number Format:
12345678901-1234

The Basic PO Number format is: SSSS-PPPPPPP-LLLL
SSSS=Source Code
PPPPPPP=Purchase Order Number
LLLL = Location ID (Always the Bill To Location)

Vendor Cross Dock (VCD) means the merchandise is shipped to the DC, but is billed to and marked for the store.

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

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

Usage notes

Sequentially numbered releases against a blanket order.
This element is used only when BEG02=RL.

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

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

The date the purchase order was created in the Target system.

BEG-06
367
Contract Number
Optional
String (AN)

Contract number

Usage notes

This element will be used for the Target Stores Speed Sourcing Program

D
Standard
Q
Quick Reaction
S
Speed
REF
050
Heading > REF

Reference Identification

RequiredMax use >1

To specify identifying information

Usage notes

Target will send at least two occurrences of the REF. The first occurrence will contain a Target internal vendor number identifying the company receiving the PO. The second occurrence will contain the Target department number. If sent, the third occurrence will contain a reference or identification number defined by the vendor for a particular purchase if the purchase order has an assigned promotional number.

Sample REF Segments

---

REFIA3342078VENDORABC
REF
DP*907

REFIA3342078VENDORABC
REF
DP907
REF
PD*024678AB

Example
At least one of Reference Identification (REF-02) or Description (REF-03) is required
REF-01
128
Reference Identification Qualifier
Required
Identifier (ID)

Code qualifying the Reference Identification

AR
Arrival Code

This code is used by selected vendors only. Unless you are contacted by Target Supplier Performance Management, no action is required on your part for this code.

DP
Department Number
IA
Internal Vendor Number
PD
Promotion/Deal Number
REF-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

When REF01 = AR, Valid Codes for REF02:
01 = Single Day Arrival (SDA)
02 = Single Day Receipt (SDR)
VR = Volume Route PO

REF-03
352
Description
Optional
String (AN)
Min 1Max 80

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

Usage notes

When REF01 = IA, this will contain Vendor Name.
When REF01 = AR, this filed will contain one of the following values, dependent on the value in REF02:
SDA = Single Day Arrival
SDR = Single Day Receipt
VR = Volume Route PO

PER
060
Heading > PER

Administrative Communications Contact

OptionalMax use 3

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

Usage notes

This segment is used for sending guest contact numbers special orders shipping direct from vendor to guest.
Sample PER Segment

---

PERDCValuable GuestTE6123755510

Example
If either Communication Number Qualifier (PER-07) or Communication Number (PER-08) 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
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

DC
Delivery Contact
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

Guest Name

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

Code identifying the type of communication number

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

Complete communications number including country or area code when applicable

Usage notes

Guest Contact Number

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

Code identifying the type of communication number

EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER-06
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

Guest Contact Number

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

Code identifying the type of communication number

EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

Usage notes

Guest Contact Number

PER-09
443
Contact Inquiry Reference
Optional
String (AN)
Min 1Max 20

Additional reference number or description to clarify a contact number

FOB
080
Heading > FOB

F.O.B. Related Instructions

OptionalMax use >1

To specify transportation instructions relating to shipment

Usage notes

FOBDFDE*MINNEAPOLIS, MN

Example
If Description (FOB-03) is present, then Location Qualifier (FOB-02) is required
FOB-01
146
Shipment Method of Payment
Required
Identifier (ID)

Code identifying payment terms for transportation charges

  • FOB01 indicates which party will pay the carrier.
DF
Defined by Buyer and Seller
FOB-02
309
Location Qualifier
Optional
Identifier (ID)

Code identifying type of location

  • FOB02 is the code specifying transportation responsibility location.
DE
Destination (Shipping)
OR
Origin (Shipping Point)
ZZ
Mutually Defined
FOB-03
352
Description
Optional
String (AN)
Min 1Max 80

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

Usage notes

Free-form name of destination or origin

CSH
110
Heading > CSH

Sales Requirements

OptionalMax use 5

To specify general conditions or requirements of the sale

Usage notes

CSH*Y

Example
CSH-01
563
Sales Requirement Code
Optional
Identifier (ID)

Code to identify a specific requirement or agreement of sale

N
No Back Order

Back Order not Authorized

Y
Back Order if Out of Stock

Back Order Authorized

SAC Loop
OptionalMax >1
SAC
120
Heading > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

Usage notes

This segment will be used only if receiving a special type of purchase order.

Sample SAC Segment

---

SACN**VIOHPR

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
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
N
No Allowance or Charge
SAC-03
559
Agency Qualifier Code
Optional
Identifier (ID)

Code identifying the agency assigning the code values

VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
SAC-04
1301
Agency Service, Promotion, Allowance, or Charge Code
Optional
String (AN)

Agency maintained code identifying the service, promotion, allowance, or charge

  • SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
OHDS
Drop Ship

Guest Request, Vendor to Guest

OHKO
Closeout Order
OHNS
New Store Order
OHPR
Promotional Order
OHRC
Raincheck Order
OHRO
Rush Order
OHSB
Seasonal Buildup Order
OHSO
Special Order
OHSP
Sample Order
OHZQ
Vendor Warehouse
SAC Loop end
ITD
130
Heading > ITD

Terms of Sale/Deferred Terms of Sale

RequiredMax use >1

To specify terms of sale

Usage notes

Sample ITD Segments

---

ITD012**30
ITD
02*2
*20000710 (Net EOM)
ITD
022220000810 (2% EOM +30)
ITD
10*************L (Domestic Letter of Credit)

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
ITD-01
336
Terms Type Code
Required
Identifier (ID)

Code identifying type of payment terms

  • If the code in ITD01 is "04", then ITD07 or ITD09 is required and either ITD10 or ITD11 is required; if the code in ITD01 is "05", then ITD06 or ITD07 is required.
01
Basic
02
End of Month (EOM)
10
Instant
14
Previously agreed upon

Not used by Target at this time

ITD-02
333
Terms Basis Date Code
Required
Identifier (ID)

Code identifying the beginning of the terms period

2
Delivery Date
3
Invoice Date
ITD-03
338
Terms Discount Percent
Optional
Decimal number (R)
Min 1Max 6

Terms discount percentage, expressed as a percent, available to the purchaser if an invoice is paid on or before the Terms Discount Due Date

Usage notes

99.999=Discount %

Note: the digits after the decimal are floating and not fixed.

This means ending zeroes will be dropped. For example, 9.990 will display as 9.99, but 9.999 will display as 9.999.

ITD-04
370
Terms Discount Due Date
Optional
Date (DT)
CCYYMMDD format

Date payment is due if discount is to be earned expressed in format CCYYMMDD

ITD-05
351
Terms Discount Days Due
Optional
Numeric (N0)
Min 1Max 3

Number of days in the terms discount period by which payment is due if terms discount is earned

Usage notes
# of days in terms discount period.
ITD-06
446
Terms Net Due Date
Optional
Date (DT)
CCYYMMDD format

Date when total invoice amount becomes due expressed in format CCYYMMDD

ITD-07
386
Terms Net Days
Optional
Numeric (N0)
Min 1Max 3

Number of days until total invoice amount is due (discount not applicable)

Usage notes
# of days until total invoice amount due.
ITD-12
352
Description
Optional
String (AN)
Min 1Max 80

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

ITD-13
765
Day of Month
Optional
Numeric (N0)
Min 1Max 2

The numeric value of the day of the month between 1 and the maximum day of the month being referenced

ITD-14
107
Payment Method Code
Optional
Identifier (ID)

Code identifying type of payment procedures

L
Letter of Credit
DTM
150
Heading > DTM

Date/Time Reference

RequiredMax use 10

To specify pertinent dates and times

Usage notes

The Date/Time qualifier sent in the DTM01 is determined by the terms set up by the Target Accounts Payable team and lead times set up by the Target merchant/buyer.

EDI does not determine which codes will be sent.

Depending on how terms and lead times are set, you could receive either 037/038 or 063/064. If a promotion applies you could also receive a third date with the 015 qualifier.

You should be prepared to receive 037/038 and 063/064 and 015.

Unless you have been contacted by Target Supplier Performance Management, you do NOT need to be prepared to receive either 078 or 118.

Sample DTM Segment

---

DTM03720060315
DTM03820060331
DTM01520060415
DTM06320051101
DTM06420051025
DTM01520051027
DTM03720060315
DTM03820060315
DTM078200603150745LT

Example
If Time Code (DTM-04) is present, then Time (DTM-03) is required
DTM-01
374
Date/Time Qualifier
Required
Identifier (ID)

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

015
Promotion Start

Target Promotion Date.

037
Ship Not Before

Vendor should not ship product before this date.

038
Ship No Later

Vendor should not ship product after this date.

063
Do Not Deliver After

Do not deliver product to Target after this date.

064
Do Not Deliver Before

Do not deliver product to Target before this date.

078
Promised for Delivery (Week of)

This code is used by selected vendors only. Unless you are contacted by Target Supplier Performance Management, no action is required on your part for this code.

If this code is used, a time will also be sent.

This code is used for prepaid freight only.

118
Requested Pick-up

This code is used by selected vendors only. Unless you are contacted by Target Vendor Operations, no action is required on your part for this code.

If this code is used, a time will also be sent.

This code is used for collect freight only.

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

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

Usage notes

This field is used by selected vendors only. Unless you are contacted by Target Vendor Performance, no action is required on your part for this code.

DTM-04
623
Time Code
Optional
Identifier (ID)

Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow

CT
Central Time
LT
Local Time
TD5
240
Heading > TD5

Carrier Details (Routing Sequence/Transit Time)

OptionalMax use 12

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

Usage notes

NOTE: A Routing Guide should have been sent to your shipping department from the Target Transportation Department.

Sample TD5 Segment

---

TD5B2OVNTM
TD5B2NEMFC
TD5B92PREPAID ROADWAYM
TD5B92*See Routing Guide

Example
TD5-01
133
Routing Sequence Code
Required
Identifier (ID)

Code describing the relationship of a carrier to a specific shipment movement

B
Origin/Delivery Carrier (Any Mode)
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)
92
Assigned by Buyer or Buyer's Agent
TD5-03
67
Identification Code
Required
String (AN)
Min 2Max 80

Code identifying a party or other code

Usage notes

If TD502 = 2, this will be the carrier's SCAC.
If TD502 = 92, this will be a text message.

TD5-04
91
Transportation Method/Type Code
Optional
Identifier (ID)

Code specifying the method or type of transportation for the shipment

A
Air
C
Consolidation
H
Customer Pickup
M
Motor (Common Carrier)
U
Private Parcel Service
N9 Instructions
OptionalMax >1
Variants (all may be used)
Truckload Reference ID.
N9
295
Heading > Instructions > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

N9ZZSPH

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

Code qualifying the Reference Identification

ZZ
Mutually Defined
N9-02
127
Reference Identification
Optional
String (AN)

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

SPH
Special Handling Instructions
MSG
300
Heading > Instructions > MSG

Message Text

OptionalMax use 1000

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

Usage notes

This segment will be used to transmit order instructions.

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

Free-form message text

N9 Instructions end
N9 Truckload Reference ID.
OptionalMax 1
Variants (all may be used)
Instructions
N9
295
Heading > Truckload Reference ID. > N9

Reference Identification

RequiredMax use 1

To transmit identifying information as specified by the Reference Identification Qualifier

Usage notes

NOTE: Starting in Dec 2017, Target will start phasing in a new PO format. The new format removes the 4 digit department number prefix and the purchase order number will be moving from 7 digits to 11 digits. No changes are being made to the location number.

During this transition, your company needs to be able to receive both PO formats, as both may be received during transition. The same PO format received from Target will need to be returned on all EDI related documents for that PO to ensure no business interruption.

New Purchase Order Number Format:
12345678901-1234

Sample N9 Segment

---

Example for Truckload Rounding:
N9AN0123-1234567-0551
N9AN0123-7654321-0551
N9AN12345678901-0551

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

Code qualifying the Reference Identification

AN
Associated Purchase Orders

Truckload Reference ID.

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

MSG
300
Heading > Truckload Reference ID. > MSG

Message Text

OptionalMax use 1000

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

Usage notes

If N901 = AN, all related PO numbers will be sent in MSG01

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

Free-form message text

N9 Truckload Reference ID. end
N1 Buying Party (Purchaser)
RequiredMax 1
Variants (all may be used)
Manufacturer of GoodsShip To
N1
310
Heading > Buying Party (Purchaser) > N1

Name

RequiredMax use 1

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

Usage notes

At least one N1 segment will be sent for Basic PO format POs.

If the Basic Format PO is a VCD (Vendor Cross Dock), a Direct Ship to a Guest or a Target.com Fulfillment Center PO, a second N1 segment will be sent.

An additional N1 for Vendor Factory will be sent when a Target owned brand item is included on the PO.

Sample N1 Segments

---

N1BY**920551 (Ship To/Bill To)

N1BY**921001 (Bill To & Mark For Store)
N1STSHIP VIA VCD TO DC920551 (Ship To)

N1BY**921001 (Bill To)
N1STGuest Name929998 (Ship Direct to Guest)
Note: This location code (9998) must be returned on the 810 & 856 in the N1 with "ST" qualifier.

N1STTARGET.COM OHL 1929477

N1MFFACTORY NAME

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
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

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

BY
Buying Party (Purchaser)

This is the Target location to be invoiced

Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

It is used for VCD or Ship Direct to Guest.
If N101 = "MF", this will be the factory name.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 4

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

4-digit location

N3
330
Heading > Buying Party (Purchaser) > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

An N3 segment will be sent for all Basic POs and will contain the Ship To address.

If N101 ="MF", an N3 will be sent with the factory address.

Sample N3 Segment

---

N3*14750 MILLER AVE

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 > Buying Party (Purchaser) > N4

Geographic Location

OptionalMax use >1

To specify the geographic place of the named party

Usage notes

An N4 will be sent for all Basic POs and will contain the Ship To address.

If N101 = "MF", an N3 will be sent with the factory address.

Sample N4 Segment

---

N4FONTANTACA*92336

Example
N4-01
19
City Name
Optional
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.
N4-02
156
State or Province Code
Optional
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
Optional
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
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N1 Buying Party (Purchaser) end
N1 Manufacturer of Goods
OptionalMax 1
Variants (all may be used)
Buying Party (Purchaser)Ship To
N1
310
Heading > Manufacturer of Goods > N1

Name

RequiredMax use 1

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

Usage notes

At least one N1 segment will be sent for Basic PO format POs.

If the Basic Format PO is a VCD (Vendor Cross Dock), a Direct Ship to a Guest or a Target.com Fulfillment Center PO, a second N1 segment will be sent.

An additional N1 for Vendor Factory will be sent when a Target owned brand item is included on the PO.

Sample N1 Segments

---

N1BY**920551 (Ship To/Bill To)

N1BY**921001 (Bill To & Mark For Store)
N1STSHIP VIA VCD TO DC920551 (Ship To)

N1BY**921001 (Bill To)
N1STGuest Name929998 (Ship Direct to Guest)
Note: This location code (9998) must be returned on the 810 & 856 in the N1 with "ST" qualifier.

N1STTARGET.COM OHL 1929477

N1MFFACTORY NAME

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
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

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

MF
Manufacturer of Goods
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

It is used for VCD or Ship Direct to Guest.
If N101 = "MF", this will be the factory name.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 4

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

4-digit location

N2
320
Heading > Manufacturer of Goods > N2

Additional Name Information

OptionalMax use 2

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

Usage notes

This segment is used only when a Vendor Factory is sent.

Sample N2 Segment

---

N2*MANUFACTURERS ID

Example
Required
String (AN)
Min 1Max 60

Free-form name

N3
330
Heading > Manufacturer of Goods > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

An N3 segment will be sent for all Basic POs and will contain the Ship To address.

If N101 ="MF", an N3 will be sent with the factory address.

Sample N3 Segment

---

N3*14750 MILLER AVE

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 > Manufacturer of Goods > N4

Geographic Location

OptionalMax use >1

To specify the geographic place of the named party

Usage notes

An N4 will be sent for all Basic POs and will contain the Ship To address.

If N101 = "MF", an N3 will be sent with the factory address.

Sample N4 Segment

---

N4FONTANTACA*92336

Example
N4-01
19
City Name
Optional
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.
N4-02
156
State or Province Code
Optional
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
Optional
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
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N1 Manufacturer of Goods end
N1 Ship To
OptionalMax 1
N1
310
Heading > Ship To > N1

Name

RequiredMax use 1

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

Usage notes

At least one N1 segment will be sent for Basic PO format POs.

If the Basic Format PO is a VCD (Vendor Cross Dock), a Direct Ship to a Guest or a Target.com Fulfillment Center PO, a second N1 segment will be sent.

An additional N1 for Vendor Factory will be sent when a Target owned brand item is included on the PO.

Sample N1 Segments

---

N1BY**920551 (Ship To/Bill To)

N1BY**921001 (Bill To & Mark For Store)
N1STSHIP VIA VCD TO DC920551 (Ship To)

N1BY**921001 (Bill To)
N1STGuest Name929998 (Ship Direct to Guest)
Note: This location code (9998) must be returned on the 810 & 856 in the N1 with "ST" qualifier.

N1STTARGET.COM OHL 1929477

N1MFFACTORY NAME

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
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

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

ST
Ship To
Optional
String (AN)
Min 1Max 60

Free-form name

Usage notes

It is used for VCD or Ship Direct to Guest.
If N101 = "MF", this will be the factory name.

N1-03
66
Identification Code Qualifier
Optional
Identifier (ID)

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

92
Assigned by Buyer or Buyer's Agent
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 4

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
Usage notes

4-digit location

N3
330
Heading > Ship To > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

An N3 segment will be sent for all Basic POs and will contain the Ship To address.

If N101 ="MF", an N3 will be sent with the factory address.

Sample N3 Segment

---

N3*14750 MILLER AVE

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 > Ship To > N4

Geographic Location

OptionalMax use >1

To specify the geographic place of the named party

Usage notes

An N4 will be sent for all Basic POs and will contain the Ship To address.

If N101 = "MF", an N3 will be sent with the factory address.

Sample N4 Segment

---

N4FONTANTACA*92336

Example
N4-01
19
City Name
Optional
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.
N4-02
156
State or Province Code
Optional
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
Optional
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
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

N1 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

Note: IN will be used as an item identifier for Target in the future. When this item identifier is sent by Target, your system must be capable of receiving it and sending it back on inbound EDI documents to Target.

Three Product Identifiers will be sent: CB, VA, and UP or EN.

Sample PO1 Segment

---

PO100000136EA4.06WECBTarget DPCIVA100UP123456789016
PO1
000001124EA2.069WECBTarget DPCIVA200EN1234567890123
PO1000001124EA2.069WECB123456789VA200UP491234567890
PO1
000001124EA2.069WECBTarget DPCIVA200

*DPCI = Department, Class, Item

*If one item is ordered in two different casepacks then it should be treated as two separate items.

Example
If either Product/Service ID Qualifier (PO1-12) or Product/Service ID (PO1-13) 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-08) or Product/Service ID (PO1-09) is present, then the other is required
If either Product/Service ID Qualifier (PO1-06) or Product/Service ID (PO1-07) is present, then the other is required
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.
PO1-02
330
Quantity Ordered
Optional
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

Usage notes

Pharmacy vendors will always receive case quantities

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

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

Usage notes

Note: digits after the decimal are floating and not fixed. This means ending zeroes will be dropped; e.g. 9.990 will display as 9.99, but 9.999 will display as 9.999.

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

Code identifying the type of unit price for an item

LE
Catalog Price per Each
PP
Price per Pound
QT
Quoted
UM
Price per Unit of Measure

Will be sent when UOM = CA and price is per case price

WD
Wholesale Price per Dozen
WE
Wholesale 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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
PO1-07
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO106 = CB, this field will contain a 9-digit Target Corporation DPCI.

When PO106 = EN, this field will contain the 13-digit European Article Number.

When PO106 = UP, this field will contain the full 12-digit UPC Code or a 12-digit "4 code" DPCI.

The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

When PO106 = VA, this field will contain the Vendor Style Number.

When PO106 = Int'l Standard Book Number (ISBN).

PO1-08
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
PO1-09
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO108 = CB, this field will contain a 9-digit Target Corporation DPCI.

When PO108 = EN, this field will contain the 13-digit European Article Number.

When PO108 = UP, this field will contain the full 12-digit UPC Code or a 12-digit "4 code" DPCI.

The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

When PO108 = VA, this field will contain the Vendor Style Number.

When PO108 = Int'l Standard Book Number (ISBN).

PO1-10
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
PO1-11
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO110 = CB, this field will contain a 9-digit Target Corporation DPCI.

When PO110 = EN, this field will contain the 13-digit European Article Number.

When PO110 = UP, this field will contain the full 12-digit UPC Code or a 12-digit "4 code" DPCI.

The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

When PO110 = VA, this field will contain the Vendor Style Number.

When PO110 = Int'l Standard Book Number (ISBN).

PO1-12
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
PO1-13
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When PO112 = CB, this field will contain a 9-digit Target Corporation DPCI.

When PO112 = EN, this field will contain the 13-digit European Article Number.

When PO112 = UP, this field will contain the full 12-digit UPC Code or a 12-digit "4 code" DPCI.

The 4 code UPC is a 12 digit number made up from the DPCI. It will have "49" on the front and a check digit at the end. You will receive this code if you are not a UPC vendor.

When PO112 = VA, this field will contain the Vendor Style Number.

When PO112 = Int'l Standard Book Number (ISBN).

CTP Loop
OptionalMax >1
Usage notes

CTPRSRES9.99********3
CTP
RSUCP9.067

CTP
040
Detail > PO1 Loop > CTP Loop > CTP

Pricing Information

RequiredMax use 1

To specify pricing information

Example
If Condition Value (CTP-10) is present, then Price Identifier Code (CTP-02) is required
CTP-01
687
Class of Trade Code
Optional
Identifier (ID)

Code indicating class of trade

RS
Resale
CTP-02
236
Price Identifier Code
Optional
Identifier (ID)

Code identifying pricing specification

RES
Resale

Retail

UCP
Unit cost price

Item List Cost (only sent with Letter of Credit).

CTP-03
212
Unit Price
Optional
Decimal number (R)
Min 1Max 15

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

  • See Figures Appendix for an example detailing the use of CTP03 and CTP04.
  • See Figures Appendix for an example detailing the use of CTP03, CTP04 and CTP07.
CTP-10
499
Condition Value
Optional
String (AN)
Min 1Max 10

Identifies rate restrictions or provisions

CTP-11
289
Multiple Price Quantity
Optional
Numeric (N0)
Min 1Max 2

Quantity of units for a given price, e.g., 3 for $10.00

CTP Loop end
PID Loop
OptionalMax >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*VNECK SWEATER
PID
X*08
VIPPMENS SHIRTS

Example
At least one of Product Description Code (PID-04) or Description (PID-05) is required
If Product Description Code (PID-04) is present, then Agency Qualifier Code (PID-03) is required
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
S
Structured (From Industry Code List)
X
Semi-structured (Code and Text)
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)

Code identifying the general class of a product or process characteristic

08
Product
73
Vendor color description
74
Vendor size description
PID-03
559
Agency Qualifier Code
Optional
Identifier (ID)

Code identifying the agency assigning the code values

  • Use PID03 to indicate the organization that publishes the code list being referred to.
VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
PID-04
751
Product Description Code
Optional
String (AN)

A code from an industry code list which provides specific data about a product characteristic

  • PID04 should be used for industry-specific product description codes.
PP
Prepack
PID-05
352
Description
Optional
String (AN)
Min 1Max 80

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

PID Loop end
PO4
090
Detail > PO1 Loop > PO4

Item Physical Details

OptionalMax use >1

To specify the physical qualities, packaging, weights, and dimensions relating to the item

Usage notes

PO401 =
The number of total units within the carton - OR -
The number of inner packs within the outer carton.
(The latter applies if PO414 was sent on the PO.)

PO414 = The number of units within an inner pack.

If the PO414 is sent on the PO, it is required to be sent back/returned on the EDI 856.
If the PO414 is not sent on the PO, do not send back/return a PO414 on the EDI 856.

Sample PO4 Segments

---

PO412 (no inner packs) - Casepack = 12 individual units
PO4
4*************6 - (inner packs, within a carton) Casepack = 24, with 4 inner packs of 6 units each

Example
Required
Numeric (N0)
Min 1Max 6

The number of inner containers, or number of eaches if there are no inner containers, per outer container

PO4-14
810
Inner Pack
Optional
Numeric (N0)
Min 1Max 6

The number of eaches per inner container

Usage notes

If inner cartons are being sent, this must represent the number of selling units within one inner pack.

If the PO414 element is received on the PO, then it is required to be sent back on the 856.

SAC Loop
OptionalMax >1
SAC
130
Detail > PO1 Loop > SAC Loop > SAC

Service, Promotion, Allowance, or Charge Information

RequiredMax use 1

To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

Usage notes

SACN**VIHA
SACN**VITC990101*********TICKETING CODE

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
SAC-01
248
Allowance or Charge Indicator
Required
Identifier (ID)

Code which indicates an allowance or charge for the service specified

  • If SAC01 is "A" or "C", then at least one of SAC05, SAC07, or SAC08 is required.
N
No Allowance or Charge
SAC-03
559
Agency Qualifier Code
Optional
Identifier (ID)

Code identifying the agency assigning the code values

VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
SAC-04
1301
Agency Service, Promotion, Allowance, or Charge Code
Optional
String (AN)

Agency maintained code identifying the service, promotion, allowance, or charge

  • SAC04 may be used to uniquely identify the service, promotion, allowance, or charge. In addition, it may be used in conjunction to further the code in SAC02.
HA
Hanger Service
TC990101
Ticketing Service
SAC-13
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

  • SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific reference number as identified by the code used.
Usage notes

This field will contain the ticketing code.
Please refer to the Vendor Partnership Manual.

SAC Loop end
IT8
140
Detail > PO1 Loop > IT8

Conditions of Sale

OptionalMax use 1

To specify general conditions or requirements and to detail conditions for substitution of alternate products

Usage notes

This segment will be sent to Prescription Pharmaceutical vendors only. If you have any questions, please check with your buyer.

---

Sample IT8 Segment

---

IT8*NS

This code will be sent only when a substitute item for a pharmaceutical item will not be accepted by Target Stores.

---
Example
IT8-01
563
Sales Requirement Code
Optional
Identifier (ID)

Code to identify a specific requirement or agreement of sale

NS
No Substitutes
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

Note: IN will be used as an item identifier for Target in the future. When this item identifier is sent by Target, your system must be capable of receiving it and sending it back on inbound EDI documents to Target.

Sample SLN Segment

---

SLN1**12400EA4.52LEICBTarget DPCIUP023456789015VA100

SLN1**12400EA4.52LEICBTarget DPCIEN1234567890123VA200

SLN1**I20*EA (Example for Set Components Only)

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
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.
Usage notes

Sequential counter assigned by Target

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)
Usage notes

Pharmacy vendors will always receive case quantities

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

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

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

SLN-07
639
Basis of Unit Price Code
Optional
Identifier (ID)

Code identifying the type of unit price for an item

LE
Catalog Price per Each
QT
Quoted
WD
Wholesale Price per Dozen
WE
Wholesale Price per Each
SLN-08
662
Relationship Code
Optional
Identifier (ID)

Code indicating the relationship between entities

  • SLN08 is a code indicating the relationship of the price or amount to the associated segment.
I
Included
SLN-09
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
SLN-10
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN09 = CB, this field will contain the 9-digit Target DPCI.

When SLN09 = EN, this field will contain the 13-digit European Article Number.

When SLN09 = EO, this field will contain the 8-digit European Article Number.

When SLN09 = UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

When SLN09 = VA, this field will contain the Vendor Style Number.

When SLN09 = IB, this field will contain the Int'l Standard Book Number (ISBN).

SLN-11
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
SLN-12
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN11 = CB, this field will contain the 9-digit Target DPCI.

When SLN11 = EN, this field will contain the 13-digit European Article Number.

When SLN11 = EO, this field will contain the 8-digit European Article Number.

When SLN11 = UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

When SLN11 = VA, this field will contain the Vendor Style Number.

When SLN11 = IB, this field will contain the Int'l Standard Book Number (ISBN).

SLN-13
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
SLN-14
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN13 = CB, this field will contain the 9-digit Target DPCI.

When SLN13 = EN, this field will contain the 13-digit European Article Number.

When SLN13 = EO, this field will contain the 8-digit European Article Number.

When SLN13 = UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

When SLN13 = VA, this field will contain the Vendor Style Number.

When SLN13 = IB, this field will contain the Int'l Standard Book Number (ISBN).

SLN-15
235
Product/Service ID Qualifier
Optional
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

Target Corporation Item Number (TCIN)

UP
U.P.C. Consumer Package Code (1-5-5-1)
VA
Vendor's Style Number
SLN-16
234
Product/Service ID
Optional
String (AN)
Min 1Max 48

Identifying number for a product or service

Usage notes

When SLN15 = CB, this field will contain the 9-digit Target DPCI.

When SLN15 = EN, this field will contain the 13-digit European Article Number.

When SLN15 = EO, this field will contain the 8-digit European Article Number.

When SLN15 = UP, this field will contain the full 12-digit UPC Code or a 12 digit "4 code" DPCI.

When SLN15 = VA, this field will contain the Vendor Style Number.

When SLN15 = IB, this field will contain the Int'l Standard Book Number (ISBN).

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

PIDF08VIPP*SHIRT BLUE XL

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
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
S
Structured (From Industry Code List)
X
Semi-structured (Code and Text)
PID-02
750
Product/Process Characteristic Code
Optional
Identifier (ID)

Code identifying the general class of a product or process characteristic

08
Product
73
Vendor color description
74
Vendor size description
PID-03
559
Agency Qualifier Code
Optional
Identifier (ID)

Code identifying the agency assigning the code values

  • Use PID03 to indicate the organization that publishes the code list being referred to.
VI
Voluntary Inter-Industry Commerce Standard (VICS) EDI
PID-04
751
Product Description Code
Optional
String (AN)

A code from an industry code list which provides specific data about a product characteristic

  • PID04 should be used for industry-specific product description codes.
PP
Prepack
PID-05
352
Description
Optional
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

CTT12137

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.

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*08*1111471111 *ZZ*1111991111 *230626*1010*U*00401*000000161*0*P*>~
GS*PO*1111471111*1111991111*20230626*1010*26*X*004010~
ST*850*1111~
BEG*00*SA*111-2222222-3333**20230626*D~
REF*IA*123456*AABBCC~
REF*DP*123~
FOB*DF*OR*LA CA~
CSH*N~
ITD*01*2*2**065~
DTM*037*20230703~
DTM*038*20230704~
TD5*B*2*XYZQ*U~
N1*BY*TARGET DC 1234*92*1234~
N3*1150 MAIN STREET~
N4*CITY*CA*95111*US~
PO1*1*6*EA*75.5*WE*CB*111111*VA*2222222*UP*3333333~
CTP*RS*RES*145.99*******1~
PID*F*73***GREEN~
PID*F*08***Qwerty~
PO4*6*************1~
CTT*1*6~
SE*20*1111~
GE*1*26~
IEA*1*000000161~

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.