0% found this document useful (0 votes)
262 views126 pages

Vics 856

The document provides guidelines for implementing the EDI Ship Notice/Manifest Transaction Set (856) within the retail industry. It defines two common packaging structures - Pick and Pack and Standard Carton Pack - and their associated hierarchical data structures. It also discusses how to represent shipments using unit loads or via small package carriers. The guidelines are intended to help retailers better plan workloads and receipt processing by receiving advance shipment data.

Uploaded by

Ed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
262 views126 pages

Vics 856

The document provides guidelines for implementing the EDI Ship Notice/Manifest Transaction Set (856) within the retail industry. It defines two common packaging structures - Pick and Pack and Standard Carton Pack - and their associated hierarchical data structures. It also discusses how to represent shipments using unit loads or via small package carriers. The guidelines are intended to help retailers better plan workloads and receipt processing by receiving advance shipment data.

Uploaded by

Ed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 126

RETAIL INDUSTRY CONVENTIONS AND

IMPLEMENTATION GUIDELINES FOR EDI

856 Ship Notice/


Manifest
Introduction
The purpose of this section is to present and explain the application of
the ASC X12 standards as they pertain to the retail industry implementation of the Ship Notice/Manifest Transaction Set.
The use of this transaction is to provide the retailer with advance data on
the shipments so the retailer may better plan workloads and receipt
processing. The key word is advance. Therefore, in the implementation
of the transaction the latest the ship notice may be sent is the time of
shipment. In practice the ship notice must arrive before the shipment.
The scope of the ship notice, within the retail industry, will not exceed the
scope of the associated bill of lading. There can be more than one ship
notice with one bill of lading. The bill of lading is not applicable when using
small package service carriers. In this case, the ship notice will only
represent one ship from/ship to combination.
The bill of lading is a legal shipping document which is the contract
between the shipper and the carrier. The ship notice is not a legal
document nor is it between shipper and carrier. The ship notice is not a
replacement for the bill of lading.
There are two predominant methods of merchandise packaging within
the retail industry. These are commonly known as:
Pick and Pack where different SKUs are packed within the container, and
Standard Carton Pack where identical SKUs are packed within
the container.

MAY 2000

856.004030

1125

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

The retail indiustry has identified six hierarchical levels for use within the
Ship Notice/Manifest transaction set. The following are the definitions of
these levels:.
Name

Code Description

SHIPMENT

Data that applies to the whole shipment, such as


bill of lading number, lading quantity, supplier
code, etc.

UNIT LOAD

UT

The Unit load level is used to identfy a physical


shipping unit which is marked with a UCC/EAN
serial shipping container code, and, consists of
transport packages marked for multiple final
destinations.

ORDER

Data related to the senders order and the associated receivers original purchase order.

TARE

The tare level is used to identify pallets. These


pallets are being shipped to a single final destination. If there are no identifiable pallets, this
level may be omitted.

PACK

The pack level is used to identify the cartons,


racks, bags, etc., in which the item is shipped,
e.g. label serial numbers. In most cases there will
be some sort of packs.

ITEM

SKU identification data. If identical SKUs are


packed using unidentifiable inner packs, i.e. four
six-packs to a case, this can be related at this
level.

The retail industry implementation of the Ship Notice/Manifest transaction set supports both methods of merchandise shipment packaging with
two distinct hierarchical structures. Each structure contains the same
levels, i.e. Shipment, Unit Load, Order, Tare, Pack, and Item, and the
usage of the segments within each level are the same. The only difference
is the order in which the levels may appear within the transaction set.
BSN05 informs the receiver, after reading the BSN segment, of the
structure of the transaction set. The essential difference in the two
structures is where the Item level appears.
The actual structure for the ship notice transaction set is determined by
the sender of the transaction set. Realizing, as with any transaction, that
the needs of all the receivers and the capabilities of the senders systems
must be balanced when determining the final format. The relationship of
a physical shipment to the shipment level of the transaction set is not
always one to one. Some senders may have the capability of sending
only one ship notice for each ship from/ship to combination. Other
implementations may send multiple transactions for one bill of lading. An
example of this would be where the ship notice transaction represents a
senders order level packing slip. Another variation of this is when a small
package service carrier is used. The ship notice may have several cartons
from one location with the same delivery location, however, from the
package service carrier perspective, each carton is a shipment. It is
1126

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

important to recognize these conditions and not assume one ship notice,
one physical shipment.
For the Pick and Pack Structure, the Item is the lowest level, i.e., the
specification of the SKU is always within the shipment container. The
order of the hierarchical levels are Shipment, Unit Load, Order, Tare,
Pack, and Item.

Item

Pack

Tare

Order

Unit
Load

Shipment

For the Standard Carton Pack Structure, the Item is between the Order
level and the Tare level, i.e., the specification of the shipment containers
is always within the SKU. The SKU is specified, then all of the shipping
containers for the SKUs are identified. The order of the hierarchical levels
are Shipment, Unit Load, Order, Item, Tare, and Pack.

Pack

MAY 2000

856.004030

Tare

Item

Order

Unit
Load

Shipment

1127

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

The following are examples of both the Pick/Pack and the Standard
Carton Pack hierarchical structures.

Pick and Pack Structure Example


In this Pick and Pack Structure example, the shipment contains two
orders. The first order has two cartons. The first carton contains three
items (SKUs), the second carton contains one SKU. The second order
contains one carton with 6 SKUs in the carton. Each box represents one
hierarchical level (one HL segment followed by data segments). The
number in each box (top left corner) is the hierarchical sequence number,
(the number in HL01). The number in the top right is the parent ID (HL02).

01

SHIPMENT

02

01

09

ORDER

03

02

07

PACK

06
03
05
03
ITEM 03
04

1128

02

PACK

08

ITEM

10

09

PACK

07

ITEM

856.004030

01

ORDER

16
10
15
10
14
10
13
10
12
10
11
10

ITEM

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

Standard Carton Pack Structure Example


In this example the shipment contains two orders.
The first order has five cartons. All cartons contain the same SKU.
The second order contains three cartons with a unique SKU in each
carton. Each box represents one hierarchical level (one HL segment
followed by data segments). The number in each box (top left corner) is
the hierarchical sequence number, (the number in HL01). The number in
the top right is the parent ID (HL02).

01

SHIPMENT

02

01

09

ORDER

03

01

ORDER

02

10

ITEM

08
03
07
03
06
03
05
03
ITEM 03
04

09

12

ITEM

11

10

PACK

09

14

ITEM

13

12

PACK

09

ITEM

15

14

PACK

PACK

Unit Load
In some implementations, the shipping arrangements agreed to between
trading partners may require the supplier to master pack or palletize
individual store orders. Within the context of VICS EDI, a Unit Load (UL),
is defined as one or more transport packages held together by some
means such as a pallet, slip sheet, container or carton, which contains
multiple orders all shipped to the same point of first receipt. Transport
packages within the unit load are destined for multiple final destinations.
The master pack, or unit load, will be broken down at the distribution
facility and the transport packages contained within will be redistributed
to multiple final destinations. Typically the unit load will consist of transport
packages which are marked for and cross-docked to individual retail
stores.
MAY 2000

856.004030

1129

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

The utilization of the Unit Load level in the Ship Notice/Manifest Transaction Set (856) is for the express purpose of identifying a unit load. Each
unit load will be marked with the UCC/EAN-128 Serial Shipping Container Code. Typically the transport packages contained within the unit
load will also be marked with a UCC/EAN-128 Serial Container Code.
The marking on the unit load will be used to receive the contents of the
unit load and to post the receipt to the retailers internal files; the marking
at a lower packaging level is used to move the goods from the distribution
facility to their appropriate final destinations.
The Unit Load level may be used in either the Pick and Pack or Standard
Carton Pack structures. When present in the transaction, the Unit Load
is immediately subordinate to the Shipment level. If a single shipment
involves both a Unit Load and additional transport packages which are
not part of the Unit Load, care must be taken to examine the hierarchical
parent ID to ensure correct interpretation of the relationships within the
shipment.
The Unit Load is designed to aid in shipment integrity and transportation
efficiencies. The presence of the Unit Load level will identify to the
receiver that additional handling may needed. The Unit Load identifies a
physical shipping unit, not a specific packaging type.

Shipments via Small Package Service Carrier


Unlike other motor carriers, small package service carriers do not use
the bill of lading for a shipment. In fact, the term shipment takes on a
different meaning when using small package service carriers. The common, traditional, meaning of a shipment, in the context of the retail
industry, is a supplier sending one or more shipping containers or
transport packages to a single retailers destination. This shipment may
be one or more supplier orders and one or more retailers purchase
orders, or partial purchase orders. The shipment is under one bill of
lading. The shipment may be represented by one or more than one 856
transaction.
To a small package service carrier, each transport package is one
shipment. Each package is assigned a unique identification number by
the carrier to facilitate the movement through their system. A manifest
may be used by the shipper to list each package, destination, and other
details; a bill of lading is not created. These manifests may be created at
the end of the day or for each ship from/destination, or for each supplier
order processed and shipped. The 856 transaction set should be used in
the same manner as the supplier would use when sending under motor
or common carrier. The use of a small package service carrier would not
change this.
When a small package service provider is used, it may be useful to
provide the carriers assigned number as well as the UCC/EAN-128
Carton ID. It is not required to send both, however, it should be seriously
considered to aid in tracking. This is especially true in a consumer catalog
service or any direct ship to consumer (customer of retailer) using a small
package service. It is desirable for the retailer to know each carrier
assigned carton ID to track the shipment if the customer reports the
ordered and billed merchandise was never received.

1130

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

The MAN (Marks and Numbers) segment is used to send both package
ID numbers.
The TD5 segment at the shipment level will inform the receiver that a
small package service provider is the carrier, by using the Standard
Carrier Alpha Code (SCAC) and the Transportation Method/Type of
Private Parcel Service.

MAY 2000

856.004030

1131

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

1132

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
IMPLEMENTATION
FOR
EDI
RETAIL
MAY
856.004030
2000
INDUSTRY GUIDELINES
CONVENTIONS
AND

ASC X12

856

Ship Notice/Manifest
FUNCTIONAL GROUP ID =

SH

This Draft Standard for Trial Use contains the format and establishes the data contents of the
Ship Notice/Manifest Transaction Set (856) for use within the context of an Electronic Data
Interchange (EDI) environment. The transaction set can be used to list the contents of a
shipment of goods as well as additional information relating to the shipment, such as order
information, product description, physical characteristics, type of packaging, marking, carrier
information, and configuration of goods within the transportation equipment. The transaction set
enables the sender to describe the contents and configuration of a shipment in various levels of
detail and provides an ordered flexibility to convey information.
The sender of this transaction is the organization responsible for detailing and communicating
the contents of a shipment, or shipments, to one or more receivers of the transaction set. The
receiver of this transaction set can be any organization having an interest in the contents of a
shipment or information about the contents of a shipment.

Following this complete VICS convention and implementation guideline, find the profile
describing the use of this transaction set for Canada.

Header
POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

0100

ST

Transaction Set Header

0200

BSN

Beginning Segment for Ship Notice

0400

DTM

Date/Time Reference

10

LOOP REPEAT

Detail
POS. #

SEG. ID

NAME

0100

HL

LOOP ID - HL
Hierarchical Level

REQ. DES.

MAX USE

200000
M

0200

LIN

Item Identification

0300

SN1

Item Detail (Shipment)

0400

SLN

Subline Item Detail

1000

0500

PRF

Purchase Order Reference

0600

PO4

Item Physical Details

1
200

0700

PID

Product/Item Description

0800

MEA

Measurements

40

0900

PWK

Paperwork

25

1000

PKG

Marking, Packaging, Loading

25

1100

TD1

Carrier Details (Quantity and Weight)

20

1200

TD5

Carrier Details (Routing Sequence/Transit Time)

12

1300

TD3

LOOP ID - HL/TD3
Carrier Details (Equipment)

12

1350

AT9

Trailer or Container Dimension and Weight

1400

TD4

Carrier Details (Special Handling, or Hazardous Materials,


or Both)

1450

TSD

Trailer Shipment Details

MAY 2000

LOOP REPEAT

856.004030

1133

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
REF

Reference Identification

>1

PER

Administrative Communications Contact

1520

LH1

LOOP ID - HL/LH1
Hazardous Identification Information

1530

LH2

Hazardous Classification Information

1540

LH3

Hazardous Material Shipping Name

12

1550

LFH

Freeform Hazardous Material Information

20
>1

1500
1510

1560

LEP

EPA Required Data

1570

LH4

Canadian Dangerous Requirements

1580

LHT

Transborder Hazardous Requirements

3
10

1590

LHR

Hazardous Material Identifying Reference Numbers

1600

PER

Administrative Communications Contact

1610

LHE

Empty Equipment Hazardous Material Information

1700

CLD

LOOP ID - HL/CLD
Load Detail

1
200

200

1800

REF

Reference Identification

1850

DTP

Date or Time or Period

1900

MAN

Marks and Numbers

>1

2000

DTM

Date/Time Reference

10

2100

FOB

F.O.B. Related Instructions

PAL

Pallet Information

N1

LOOP ID - HL/N1
Name

2150
2200

1134

100

200

2300

N2

Additional Name Information

2400

N3

Address Information

2500

N4

Geographic Location

2600

REF

Reference Identification

12

2700

PER

Administrative Communications Contact

2800

FOB

F.O.B. Related Instructions

1
50

2900

SDQ

Destination Quantity

3000

ETD

Excess Transportation Detail

3100

CUR

Currency

3200

SAC

LOOP ID - HL/SAC
Service, Promotion, Allowance, or Charge Information

>1

3250

CUR

Currency

3300

GF

Furnished Goods and Services

3350

YNQ

Yes/No Question

10

3400

LM

LOOP ID - HL/LM
Code Source Information

3500

LQ

Industry Code

100

3600

V1

LOOP ID - HL/V1
Vessel Identification

3700

R4

Port or Terminal

>1

3800

DTM

Date/Time Reference

>1

10

>1

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

Summary
POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

0100

CTT

Transaction Totals

0200

SE

Transaction Set Trailer

MAY 2000

856.004030

LOOP REPEAT

1135

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

VICS EDI

856

Ship Notice/Manifest

Header
PAGE # POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

1139

0100

ST

Transaction Set Header

1140

0200

BSN

Beginning Segment for Ship Notice

LOOP REPEAT

Detail - Shipment
PAGE # POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

1141

0100

HL

LOOP ID - HL
Hierarchical Level

1143

1100

TD1

Carrier Details (Quantity and Weight)

20

1145

1200

TD5

Carrier Details (Routing Sequence/Transit Time)

12

1148

1300

TD3

LOOP ID - HL/TD3
Carrier Details (Equipment)

1150

1350

AT9

Trailer or Container Dimension and Weight

1151

1400

TD4

Carrier Details (Special Handling, or Hazardous Materials,


or Both)

1152

1500

REF

Reference Identification

>1

1153

1510

PER

Administrative Communications Contact

1154

1900

MAN

Marks and Numbers

>1

1156

2000

DTM

Date/Time Reference

10

1157

2100

FOB

F.O.B. Related Instructions

1159

2200

N1

LOOP ID - HL/N1
Name

1161

2300

N2

Additional Name Information

1162

2400

N3

Address Information

1163

2500

N4

Geographic Location

LOOP REPEAT

200000

12

200

Detail - Unit Load


PAGE # POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

1164

0100

HL

LOOP ID - HL
Hierarchical Level

1165

1300

TD3

LOOP ID - HL/TD3
Carrier Details (Equipment)

200000
12

1167

1350

AT9

Trailer or Container Dimension and Weight

1168

1900

MAN

Marks and Numbers

>1

1136

LOOP REPEAT

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

Detail - Order
PAGE # POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

1170

0100

HL

LOOP ID - HL
Hierarchical Level

1171

0500

PRF

Purchase Order Reference

LOOP REPEAT

200000

1172

0700

PID

Product/Item Description

200

1174

1100

TD1

Carrier Details (Quantity and Weight)

20

1176

1200

TD5

Carrier Details (Routing Sequence/Transit Time)

12

1178

1450

TSD

Trailer Shipment Details

1179

1500

REF

Reference Identification

>1

1181

2000

DTM

Date/Time Reference

10

1182

2200

N1

LOOP ID - HL/N1
Name

1184

2300

N2

Additional Name Information

1185

2400

N3

Address Information

1186

2500

N4

Geographic Location

1187

3100

CUR

Currency

200

Detail - Tare
PAGE # POS. #

SEG. ID

NAME

1190

HL

LOOP ID - HL
Hierarchical Level

0100

REQ. DES.

MAX USE

LOOP REPEAT

200000
1

1191

1450

TSD

Trailer Shipment Details

1192

1900

MAN

Marks and Numbers

>1

1194

2150

PAL

Pallet Information

Detail - Pack
PAGE # POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

1196

0100

HL

LOOP ID - HL
Hierarchical Level

1197

0200

LIN

Item Identification

1201

0300

SN1

Item Detail (Shipment)

1202

0400

SLN

Subline Item Detail

1000

1207

0600

PO4

Item Physical Details

1210

1000

PKG

Marking, Packaging, Loading

25

200000

1212

1450

TSD

Trailer Shipment Details

1213

1900

MAN

Marks and Numbers

>1

1215

2000

DTM

Date/Time Reference

10

MAY 2000

LOOP REPEAT

856.004030

1137

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

Detail - Item
PAGE # POS. #

SEG. ID

NAME

REQ. DES.

MAX USE

1216

0100

HL

LOOP ID - HL
Hierarchical Level

1217

0200

LIN

Item Identification

LOOP REPEAT

200000

1221

0300

SN1

Item Detail (Shipment)

1222

0400

SLN

Subline Item Detail

1000

1227

0500

PRF

Purchase Order Reference

1228

0600

PO4

Item Physical Details

1231

0700

PID

Product/Item Description

200

1233

0800

MEA

Measurements

40

1236

1000

PKG

Marking, Packaging, Loading

25

1238

1100

TD1

Carrier Details (Quantity and Weight)

20

1240

1200

TD5

Carrier Details (Routing Sequence/Transit Time)

12

1242

1400

TD4

Carrier Details (Special Handling, or Hazardous Materials,


or Both)

1243

1500

REF

Reference Identification

>1

1244

2000

DTM

Date/Time Reference

10

1245

3200

SAC

LOOP ID - HL/SAC
Service, Promotion, Allowance, or Charge Information

>1

Summary
PAGE # POS. #

SEG. ID

NAME

1248

0100

CTT

Transaction Totals

1249

0200

SE

Transaction Set Trailer

1138

REQ. DES.

856.004030

MAX USE

LOOP REPEAT

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRANSACTION SET HEADER
ST

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Semantic:

ST Transaction Set Header


Header
___
Mandatory
1
To indicate the start of a transaction set and to assign a control number
1 The transaction set identifier (ST01) is used by the translation routines of
the interchange partners to select the appropriate transaction set definition
(e.g., 810 selects the Invoice Transaction Set).
2 The implementation convention reference (ST03) is used by the translation
routines of the interchange partners to select the appropriate
implementation convention to match the transaction set definition.
Data Element Summary

REF.
DES.

ST01

DATA
ELEMENT

143

NAME

ATTRIBUTES

Transaction Set Identifier Code

ID

3/3

AN

4/9

Code uniquely identifying a Transaction Set

856 Ship Notice/Manifest

ST02

329

Transaction Set Control Number

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

The number is sequentially assigned by the sender, starting with one within each
functional group. For each functional group, the first transaction set control
number will be 0001 and incremented by one for each additional transaction set
within the group.

ST03

1705 Implementation Convention Reference

AN

1/35

Reference assigned to identify Implementation Convention


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1139

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
BEGINNING SEGMENT FOR SHIP NOTICE
BSN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

BSN Beginning Segment for Ship Notice

Header
___
Mandatory
1
To transmit identifying numbers, dates, and other basic data relating to the
transaction set
Syntax: 1 C0706
If BSN07 is present, then BSN06 is required.
Semantic: 1 BSN03 is the date the shipment transaction set is created.
2 BSN04 is the time the shipment transaction set is created.
3 BSN06 is limited to shipment related codes.
Comments: A BSN06 and BSN07 differentiate the functionality of use for the transaction
set.
2613

Notes: In some implementations, it may be appropriate to omit the unit load level
and packaging levels, i.e., tare and pack, from the transaction set.
Depending on the retailers receiving systems, carton identification may
not be required. Code 0004 in BSN05 indicates the use of a hierarchical
structure that does not include a unit load level or any packaging levels.
Data Element Summary

REF.
DES.

DATA
ELEMENT

BSN01

353

NAME

ATTRIBUTES

Transaction Set Purpose Code

ID

2/2

AN

2/30

Code identifying purpose of transaction set

00 Original
07 Duplicate

BSN02

396

Shipment Identification

A unique control number assigned by the original shipper to identify a specific shipment

BSN03

373

Date

DT

8/8

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year

BSN04

337

Time

TM

4/8

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)

BSN05

1005 Hierarchical Structure Code

ID

4/4

Code indicating the hierarchical application structure of a transaction set that utilizes the
HL segment to define the structure of the transaction set

0001 Shipment, Order, Packaging, Item


2202

Pick and Pack Structure

0002 Shipment, Order, Item, Packaging


2203

Standard Carton Pack Structure

0004 Shipment, Order, Item


BSN06

640

Transaction Type Code

ID

2/2

ID

3/3

Code specifying the type of transaction


NOT USED BY THE RETAIL INDUSTRY

BSN07

641

Status Reason Code


Code indicating the status reason
NOT USED BY THE RETAIL INDUSTRY

1140

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
HIERARCHICAL LEVEL
HL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

HL Hierarchical Level

Detail - Shipment
HL
Usage: Mandatory
Max Use: 200000
Mandatory
1
To identify dependencies among and the content of hierarchically related
groups of data segments
Comments: A The HL segment is used to identify levels of detail information using a
hierarchical structure, such as relating line-item data to shipment data, and
packaging data to line-item data.
B The HL segment defines a top-down/left-right ordered structure.
C HL01 shall contain a unique alphanumeric number for each occurrence of
the HL segment in the transaction set. For example, HL01 could be used to
indicate the number of occurrences of the HL segment, in which case the
value of HL01 would be 1" for the initial HL segment and would be
incremented by one in each subsequent HL segment within the transaction.
D HL02 identifies the hierarchical ID number of the HL segment to which the
current HL segment is subordinate.
E HL03 indicates the context of the series of segments following the current
HL segment up to the next occurrence of an HL segment in the transaction.
For example, HL03 is used to indicate that subsequent segments in the HL
loop form a logical grouping of data referring to shipment, order, or
item-level information.
F HL04 indicates whether or not there are subordinate (or child) HL
segments related to the current HL segment.
75

Notes: The HL segment is used to identify levels of detail information using a


hierarchical structure.

76

HL01 shall contain a unique number for each occurrence of the HL


segment within the transaction set. The value assigned to the first HL
segment will be 1, and is incremented by one for each subsequent HL
segment within the transaction set.

77

HL02 identifies the hierarchical ID of the HL segment to which it is


subordinate (child of). HL02 will be omitted for the first occurrence of the
HL segment in the transaction set, since it has no parent. HL03 identifies
the application content of the series of segments following the current HL
segment up to the next occurrence of an HL segment, or the CTT or SE
segment, e.g., Shipment, Unit Load, Order, Tare, Pack and Item.
Data Element Summary
REF.
DES.

HL01

DATA
ELEMENT

628

NAME

ATTRIBUTES

Hierarchical ID Number

AN

1/12

A unique number assigned by the sender to identify a particular data segment in a


hierarchical structure
78

The value for this level (shipment) is 1.

HL02

734

Hierarchical Parent ID Number

AN

1/12

Identification number of the next higher hierarchical data segment that the data segment
being described is subordinate to
NOT USED BY THE RETAIL INDUSTRY

HL03

735

Hierarchical Level Code

ID

1/2

Code defining the characteristic of a level in a hierarchical structure

S Shipment

MAY 2000

856.004030

1141

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

HL04

736

Hierarchical Child Code

ID

1/1

Code indicating if there are hierarchical child data segments subordinate to the level
being described
NOT USED BY THE RETAIL INDUSTRY

1142

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (QUANTITY AND WEIGHT)
TD1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

166

TD1 Carrier Details (Quantity and Weight)


Detail - Shipment
HL
Optional
20
To specify the transportation details relative to commodity, weight, and quantity
1 C0102
If TD101 is present, then TD102 is required.
2 C0304
If TD103 is present, then TD104 is required.
3 C0607
If TD106 is present, then TD107 is required.
4 P0708
If either TD107 or TD108 is present, then the other is required.
5 P0910
If either TD109 or TD110 is present, then the other is required.

Notes: This segment, at the shipment level, is used to specify total containers
and gross weight of the shipment as specified on the bill of lading (see
VICS EDI 856 Ship Notice/Manifest Guidelines for further detail).
Data Element Summary
REF.
DES.

TD101

DATA
ELEMENT

103

NAME

ATTRIBUTES

Packaging Code

AN

3/5

Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging
Material; if the Data Element is used, then Part 1 is always required

Part 1
BAG Bag
CTN Carton
MIX Mixed Container Types
2299

Can be used only with code 71 in Part 2

PLT Pallet
SLP Slip Sheet
SRW Shrink Wrap
Part 2
01 Aluminum
25 Corrugated or Solid
31 Fibre
58 Metal
71 Not Otherwise Specified
76 Paper
79 Plastic
91 Stainless Steel
94 Wood
TD102

80

Lading Quantity

N0

1/7

ID

1/1

AN

1/30

Number of units (pieces) of the lading commodity


80

The number of packages in the shipment as described in TD101

TD103

23

Commodity Code Qualifier

Code identifying the commodity coding system used for Commodity Code
NOT USED BY THE RETAIL INDUSTRY

TD104

22

Commodity Code

Code describing a commodity or group of commodities


NOT USED BY THE RETAIL INDUSTRY
MAY 2000

856.004030

1143

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

TD105

79

Lading Description

AN

1/50

ID

1/2

1/10

ID

2/2

Description of an item as required for rating and billing purposes


NOT USED BY THE RETAIL INDUSTRY

TD106

187

Weight Qualifier
Code defining the type of weight

G Gross Weight
TD107

81

Weight
Numeric value of weight

TD108

355

Unit or Basis for Measurement Code

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

See Section III for code list.

TD109

183

Volume

1/8

ID

2/2

Value of volumetric measure


2811

Gross volume

TD110

355

Unit or Basis for Measurement Code

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

1144

See Section III for code list.

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (ROUTING SEQUENCE/TRANSIT TIME)
TD5

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

TD5 Carrier Details (Routing Sequence/Transit Time)

Detail - Shipment
HL
Optional
12
To specify the carrier and sequence of routing and provide transit time
information
Syntax: 1 R0204050612
At least one of TD502, TD504, TD505, TD506 or TD512 is required.
2 C0203
If TD502 is present, then TD503 is required.
3 C0708
If TD507 is present, then TD508 is required.
4 C1011
If TD510 is present, then TD511 is required.
5 C1312
If TD513 is present, then TD512 is required.
6 C1413
If TD514 is present, then TD513 is required.
7 C1512
If TD515 is present, then TD512 is required.
Semantic: 1 TD515 is the country where the service is to be performed.
Comments: A 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.
169

Notes: This segment is used to specify every carrier in the routing sequence or a
specific routing sequence that has been previously identified (usually
from a routing guide). The segment can also be used to indicate
estimated transit time in days. Only use TD501 if needed for clarity; this is
not a requirement in most retail applications. When referring to a
pre-established routing guide, use code 91 or 92 in TD502 and identify the
routing sequence, from the routing guide, in TD503. To identify a specific
private parcel service, TD502 will contain code 2 and TD503 will contain
the corresponding SCAC. TD510 and TD511 are used to specify transit
time.

2301

When using a small package service provider as the carrier, TD502 will
contain code 2, TD503 will contain the carriers SCAC, and TD504 will
contain code U to inform the receiver of a small package service
shipment.
Data Element Summary
REF.
DES.

TD501

DATA
ELEMENT

133

NAME

ATTRIBUTES

Routing Sequence Code

ID

1/2

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

1
2
3
4
5
6
7

MAY 2000

1st Carrier after Origin Carrier


2nd Carrier after Origin Carrier
3rd Carrier after Origin Carrier
4th Carrier after Origin Carrier
5th Carrier after Origin Carrier
6th Carrier after Origin Carrier
7th Carrier after Origin Carrier

856.004030

1145

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

8
9
A
B
O
S
TD502

66

8th Carrier after Origin Carrier


9th Carrier after Origin Carrier
Origin Carrier, Agents Routing (Rail)
Origin/Delivery Carrier (Any Mode)
Origin Carrier (Air, Motor, or Ocean)
Origin Carrier, Shippers Routing (Rail)

Identification Code Qualifier

ID

1/2

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

2 Standard Carrier Alpha Code (SCAC)


See External Code Source 17 in Section III for reference document.

91 Assigned by Seller or Sellers Agent


92 Assigned by Buyer or Buyers Agent
TD503

67

Identification Code

AN

2/80

ID

1/2

AN

1/35

Code identifying a party or other code

TD504

91

Transportation Method/Type Code


Code specifying the method or type of transportation for the shipment

A
AE
BU
C
CE
D
E
H
L
M
R
S
T
U
TD505

387

Air
Air Express
Bus
Consolidation
Customer Pickup / Customers Expense
Parcel Post
Expedited Truck
Customer Pickup
Contract Carrier
Motor (Common Carrier)
Rail
Ocean
Best Way (Shippers Option)
Private Parcel Service

Routing

Free-form description of the routing or requested routing for shipment, or the originating
carriers identity

TD506

368

Shipment/Order Status Code

ID

2/2

Code indicating the status of an order or shipment or the disposition of any difference
between the quantity ordered and the quantity shipped for a line item or transaction

BK
BP
CC
CM
CP
CS
DE
IC
IS
PR
SS
TD507

309

Back Ordered from Previous Order


Shipment Partial, Back Order to Ship on (Date)
Shipment Complete on (Date)
Shipment Complete with Additional Quantity
Partial Shipment on (Date), Considered No Backorder
Shipment Complete with Substitution
Deleted Order
Item Canceled
Item Represents Substitution from Original Order
Partial Shipment
Split Shipment

Location Qualifier

ID

1/2

Code identifying type of location


See External Code Source 206 in Section III for reference document.

PA Port of Arrival

1146

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PB Port of Discharge
PE Port of Entry
TD508

310

Location Identifier

AN

1/30

Code which identifies a specific location


2456

See External Code Source 54 in Section III for reference document.

294

When TD508 contains code PA or PE, refer to U.S. Census Schedule D, U.S.
Customs District/Port Codes and official code lists relevant to other countries
(entry country).

TD509

731

Transit Direction Code

ID

2/2

ID

2/2

1/4

ID

2/2

The point of origin and point of direction


NOT USED BY THE RETAIL INDUSTRY

TD510

732

Transit Time Direction Qualifier


Code specifying the value of time used to measure the transit time

CD Calendar Days (Includes weekends and Holidays)


HO Hours
TD511

733

Transit Time
The numeric amount of transit time

171

Transit time is based on the ship date and time in the DTM segment.

TD512

284

Service Level Code

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

DS
ND
PB
PI
SC
TD513

284

Door Service
Next Day Air
Priority Mail
Priority Mail Insured
Second Day Air

Service Level Code

ID

2/2

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD514

284

Service Level Code

ID

2/2

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD515

26

Country Code

ID

2/3

Code identifying the country


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1147

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (EQUIPMENT)
TD3

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

81

TD3 Carrier Details (Equipment)


Detail - Shipment
HL/TD3
Usage: Optional
Max Use: 12
Mandatory
1
To specify transportation details relating to the equipment used by the carrier
1 E0110
Only one of TD301 or TD310 may be present.
2 C0203
If TD302 is present, then TD303 is required.
3 C0405
If TD304 is present, then TD305 is required.
4 P0506
If either TD305 or TD306 is present, then the other is required.

Notes: This segment is used to specify the trailer number for a truckload
shipment. This segment may be used also to specify the type of import
container.
Data Element Summary
REF.
DES.

TD301

DATA
ELEMENT

40

NAME

ATTRIBUTES

Equipment Description Code

ID

2/2

AN

1/4

AN

1/10

Code identifying type of equipment used for shipment

2B
4B
AT
CI
CK
CN
CV
CZ
FT
RC
RT
TA
TL
TD302

206

20 ft. IL Container (Closed Top)


40 ft. IL Container (Closed Top)
Closed Container (Controlled Temperature)
Container, Insulated
Container, Heated/Insulated/Ventilated
Container
Closed Van
Refrigerated Container
Flat Bed Trailer
Refrigerated (Reefer) Car
Controlled Temperature Trailer (Reefer)
Trailer, Heated/Insulated/Ventilated
Trailer (not otherwise specified)

Equipment Initial
Prefix or alphabetic part of an equipment units identifying number

See External Code Source 17 in Section III for reference document.


See External Code Source 512 in Section III for reference document.

TD303

207

Equipment Number

Sequencing or serial part of an equipment units identifying number (pure numeric form
for equipment number is preferred)

TD304

187

Weight Qualifier

ID

1/2

1/10

ID

2/2

Code defining the type of weight


NOT USED BY THE RETAIL INDUSTRY

TD305

81

Weight
Numeric value of weight
NOT USED BY THE RETAIL INDUSTRY

TD306

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY
1148

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

TD307

102

Ownership Code

ID

1/1

Code indicating the relationship of equipment to carrier or ownership of equipment


NOT USED BY THE RETAIL INDUSTRY

TD308

407

Seal Status Code

ID

2/2

AN

2/15

ID

4/4

Code indicating condition of door seal upon arrival


NOT USED BY THE RETAIL INDUSTRY

TD309

225

Seal Number
Unique number on seal used to close a shipment
NOT USED BY THE RETAIL INDUSTRY

TD310

24

Equipment Type
Code identifying equipment type

See External Code Source 14 in Section III for reference document.


3058

MAY 2000

Use ISO 6346:1995 code list.

856.004030

1149

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRAILER OR CONTAINER DIMENSION AND WEIGHT
AT9

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

AT9 Trailer or Container Dimension and Weight

Detail - Shipment
HL/TD3
Optional
1
To specify trailer or container dimensions
1 P040506
If either AT904, AT905 or AT906 are present, then the others are required.
2 P0708
If either AT907 or AT908 is present, then the other is required.
Semantic: 1 AT902 is the height of the trailer or container in inches.
2 AT903 is the width of the trailer or container in inches.
3 AT906 is the weight of the trailer or container. It is the tare weight of the
trailer or container.
4 AT908 is the volumetric capacity of the trailer or container.
Data Element Summary
REF.
DES.

AT901

DATA
ELEMENT

567

NAME

ATTRIBUTES

Equipment Length

N0

4/5

Length (in feet and inches) of equipment ordered or used to transport shipment (The
format is FFFII where FFF is feet and II is inches; the range for II is 00 through 11)

AT902

65

Height

1/8

Vertical dimension of an object measured when the object is in the upright position

AT903

189

Width

1/8

Shorter measurement of the two horizontal dimensions measured with the object in the
upright position
NOT USED BY THE RETAIL INDUSTRY

AT904

187

Weight Qualifier

ID

1/2

ID

1/1

1/10

ID

1/1

1/8

Code defining the type of weight


NOT USED BY THE RETAIL INDUSTRY

AT905

188

Weight Unit Code


Code specifying the weight unit
NOT USED BY THE RETAIL INDUSTRY

AT906

81

Weight
Numeric value of weight
NOT USED BY THE RETAIL INDUSTRY

AT907

184

Volume Unit Qualifier


Code identifying the volume unit
NOT USED BY THE RETAIL INDUSTRY

AT908

183

Volume
Value of volumetric measure
NOT USED BY THE RETAIL INDUSTRY

1150

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (SPECIAL HANDLING,, OR HAZARDOUS MATERIALS,, OR BOTH)
TD4

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

TD4 Carrier Details (Special Handling, or Hazardous Materials, or Both)

Detail - Shipment
HL
Optional
5
To specify transportation special handling requirements, or hazardous
materials information, or both
Syntax: 1 R010204
At least one of TD401, TD402 or TD404 is required.
2 C0203
If TD402 is present, then TD403 is required.
Semantic: 1 TD405 identifies if a Material Safety Data Sheet (MSDS) exists for this
product. A Y indicates an MSDS exists for this product; an N indicates
an MSDS does not exist for this product.
Data Element Summary
REF.
DES.

TD401

DATA
ELEMENT

152

NAME

ATTRIBUTES

Special Handling Code

ID

2/3

ID

1/1

AN

1/4

AN

1/80

ID

1/1

Code specifying special transportation handling instructions

CC Container, Consolidator Load


2787

Full container

CF Container, Factory Load


2788

Full container, not to be opened for consolidation

LN Less Than Container, Consolidator Load


LR Less Than Container, Factory Load
TC Trailer, Consolidator Load
2789

Full trailer

TF Trailer, Factory Load


2790

Full trailer, not to be opened for consolidation

TD402

208

Hazardous Material Code Qualifier


Code which qualifies the Hazardous Material Class Code (209)
NOT USED BY THE RETAIL INDUSTRY

TD403

209

Hazardous Material Class Code


Code specifying the kind of hazard for a material
NOT USED BY THE RETAIL INDUSTRY

TD404

352

Description

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

TD405

1073 Yes/No Condition or Response Code

Code indicating a Yes or No condition or response


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1151

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
REFERENCE IDENTIFICATION
REF

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

REF Reference Identification

Detail - Shipment
HL
Optional
>1
To specify identifying information
1 R0203
At least one of REF02 or REF03 is required.
Semantic: 1 REF04 contains data relating to the value cited in REF02.
2170

Notes: In some cases, individual shipments with bill of lading may be grouped
under a Master Bill of Lading. Under this circumstance, specifying both
the bill of lading and the associated Master Bill of Lading Number will
facilitate tracking.
Data Element Summary
REF.
DES.

REF01

DATA
ELEMENT

128

NAME

ATTRIBUTES

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identification

AF Airlines Flight Identification Number


AO Appointment Number
2794

Receivers appointment number

BM Bill of Lading Number


CN Carriers Reference Number (PRO/Invoice)
MB Master Bill of Lading
MR Merchandise Type Code
UCB UCC Bill of Lading Number (17 Digits)
See External Code Source 852 in Section III for reference document.

UCM UCC Master Bill of Lading Number (17 Digits)


See External Code Source 852 in Section III for reference document.

REF02

127

Reference Identification

AN

1/50

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


Reference Identification Qualifier

REF03

352

Description

AN

1/80

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

REF04

C040 REFERENCE IDENTIFIER

COMPOSITE

To identify one or more reference numbers or identification numbers as specified by the


Reference Qualifier
NOT USED BY THE RETAIL INDUSTRY

1152

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ADMINISTRATIVE COMMUNICATIONS CONTACT
PER

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

PER Administrative Communications Contact

Detail - Shipment
HL
Optional
3
To identify a person or office to whom administrative communications should
be directed
Syntax: 1 P0304
If either PER03 or PER04 is present, then the other is required.
2 P0506
If either PER05 or PER06 is present, then the other is required.
3 P0708
If either PER07 or PER08 is present, then the other is required.
Data Element Summary

REF.
DES.

DATA
ELEMENT

PER01

366

NAME

ATTRIBUTES

Contact Function Code

ID

2/2

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

DI Delivery Instructions Contact


HM Hazardous Material Contact
PER02

93

Name

AN

1/60

ID

2/2

AN

1/256

Free-form name

PER03

365

Communication Number Qualifier


Code identifying the type of communication number

EM Electronic Mail
FX Facsimile
TE Telephone
PER04

364

Communication Number

Complete communications number including country or area code when applicable

PER05

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number

EM Electronic Mail
FX Facsimile
TE Telephone
PER06

364

Communication Number

Complete communications number including country or area code when applicable

PER07

365

Communication Number Qualifier

ID

2/2

AN

1/256

Code identifying the type of communication number

EM Electronic Mail
FX Facsimile
TE Telephone
PER08

364

Communication Number

Complete communications number including country or area code when applicable

PER09

443

Contact Inquiry Reference

AN

1/20

Additional reference number or description to clarify a contact number


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1153

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MARKS AND NUMBERS
MAN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

MAN Marks and Numbers

Detail - Shipment
HL
Optional
>1
To indicate identifying marks and numbers for shipping containers
1 P0405
If either MAN04 or MAN05 is present, then the other is required.
2 C0605
If MAN06 is present, then MAN05 is required.
Semantic: 1 MAN01/MAN02 and MAN04/MAN05 may be used to identify two different
marks and numbers assigned to the same physical container.
2 When both MAN02 and MAN03 are used, MAN02 is the starting number of
a sequential range and MAN03 is the ending number of that range.
3 When both MAN05 and MAN06 are used, MAN05 is the starting number of
a sequential range, and MAN06 is the ending number of that range.
Comments: A When MAN01 contains code UC (U.P.C. Shipping Container Code) and
MAN05/MAN06 contain a range of ID numbers, MAN03 is not used. The
reason for this is that the U.P.C. Shipping Container code is the same on
every carton that is represented in the range in MAN05/MAN06.
B MAN03 and/or MAN06 are only used when sending a range(s) of ID
numbers.
C When both MAN02/MAN03 and MAN05/MAN06 are used to send ranges
of ID numbers, the integrity of the two ID numbers must be maintained.
2676

Notes: This segment, at the shipment level, is used to specify a single


UCC/EAN-128 Serial Shipping Container Code (SSCC-18) to identify an
entire shipment (full trailer).
Data Element Summary

REF.
DES.

DATA
ELEMENT

MAN01

88

NAME

ATTRIBUTES

Marks and Numbers Qualifier

ID

1/2

Code specifying the application or source of Marks and Numbers (87)

AA SSCC-18
2915

This is an eighteen-character UCC/EAN-128 Serial Shipping Container


Code (SSCC-18) that does not include the two digit application identifier,
the symbology code, or the modulo 103 check character.
See External Code Source 664 in Section III for reference document.

GM SSCC-18 and Application Identifier


87

This is a twenty-character UCC/EAN-128 Serial Shipping Container Code


(SSCC-18) that includes the two digit application identifier. The symbology
code and the modulo 103 check digit are not included.
See External Code Source 98 in Section III for reference document.

MAN02

87

Marks and Numbers

AN

1/48

AN

1/48

ID

1/2

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment

MAN03

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

MAN04

88

Marks and Numbers Qualifier


Code specifying the application or source of Marks and Numbers (87)
NOT USED BY THE RETAIL INDUSTRY

MAN05

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

1154

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

MAN06

87

Marks and Numbers

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1155

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
DATE/TIME REFERENCE
DTM

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

DTM Date/Time Reference


Detail - Shipment
HL
Optional
10
To specify pertinent dates and times
1 R020305
At least one of DTM02, DTM03 or DTM05 is required.
2 C0403
If DTM04 is present, then DTM03 is required.
3 P0506
If either DTM05 or DTM06 is present, then the other is required.
Data Element Summary

REF.
DES.

DATA
ELEMENT

DTM01

374

NAME

ATTRIBUTES

Date/Time Qualifier

ID

3/3

DT

8/8

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

011
017
067
068
AA1
AA2

DTM02

373

Shipped
Estimated Delivery
Current Schedule Delivery
Current Schedule Ship
Estimated Point of Arrival
Estimated Point of Discharge

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year

DTM03

337

Time

TM

4/8

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)

DTM04

623

Time Code

ID

2/2

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
NOT USED BY THE RETAIL INDUSTRY

DTM05

1250 Date Time Period Format Qualifier

ID

2/3

AN

1/35

Code indicating the date format, time format, or date and time format
NOT USED BY THE RETAIL INDUSTRY

DTM06

1251 Date Time Period

Expression of a date, a time, or range of dates, times or dates and times


NOT USED BY THE RETAIL INDUSTRY

1156

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
F.O.B. RELATED INSTRUCTIONS
FOB

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

FOB F.O.B. Related Instructions

Detail - Shipment
HL
Optional
1
To specify transportation instructions relating to shipment
1 C0302
If FOB03 is present, then FOB02 is required.
2 C0405
If FOB04 is present, then FOB05 is required.
3 C0706
If FOB07 is present, then FOB06 is required.
4 C0809
If FOB08 is present, then FOB09 is required.
Semantic: 1 FOB01 indicates which party will pay the carrier.
2 FOB02 is the code specifying transportation responsibility location.
3 FOB06 is the code specifying the title passage location.
4 FOB08 is the code specifying the point at which the risk of loss transfers.
This may be different than the location specified in FOB02/FOB03 and
FOB06/FOB07.
Data Element Summary

REF.
DES.

DATA
ELEMENT

FOB01

146

NAME

ATTRIBUTES

Shipment Method of Payment

ID

2/2

ID

1/2

Code identifying payment terms for transportation charges

CC
CF
DF
MX
PC
PO
PP
TP
FOB02

309

Collect
Collect, Freight Credited Back to Customer
Defined by Buyer and Seller
Mixed
Prepaid but Charged to Customer
Prepaid Only
Prepaid (by Seller)
Third Party Pay

Location Qualifier
Code identifying type of location

See External Code Source 206 in Section III for reference document.

AC City and State


CA Country of Origin
CC Country
CI City
CO County/Parish and State
CS Canadian SPLC
See External Code Source 21 in Section III for reference document.

CY County/Parish
DE Destination (Shipping)
FA Factory
FE Freight Equalization Point
FF Foreign Freight Forwarder Location
OA Origin (After Loading on Equipment)
MAY 2000

856.004030

1157

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

OR Origin (Shipping Point)


OV On Vessel (Free On Board [FOB] point)
SP State/Province
TL Terminal Cargo Location
FOB03

352

Description

AN

1/80

ID

2/2

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

Free-form name of transportation responsibility location

FOB04

334

Transportation Terms Qualifier Code

Code identifying the source of the transportation terms

01 Incoterms
293

See External Code Source 35 in Section III for the source reference
document of INCOTERMS codes, which will appear in FOB05.

FOB05

335

Transportation Terms Code

ID

3/3

Code identifying the trade terms which apply to the shipment transportation responsibility

FOB06

309

Location Qualifier

ID

1/2

AN

1/80

ID

2/2

AN

1/80

Code identifying type of location


See External Code Source 206 in Section III for reference document.
199

See FOB02 for code list.

FOB07

352

Description

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

Free-form name of title passage location

FOB08

54

Risk of Loss Code


Code specifying where responsibility for risk of loss passes
NOT USED BY THE RETAIL INDUSTRY

FOB09

352

Description

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

1158

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
NAME
N1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

N1 Name

Detail - Shipment
HL/N1
Usage: Optional
Max Use: 200
Mandatory
1
To identify a party by type of organization, name, and code
1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.
This
segment, used alone, provides the most efficient method of providing
Comments: A
organizational identification. To obtain this efficiency the ID Code (N104)
must provide a key to the table maintained by the transaction processing
party.
B N105 and N106 further define the type of entity in N101.
822

Notes: N103 and N104 are required except when N101 contains code MA or OB.

2151

When the ship to is the end consumer (customer of retailer), N103 and
N104 are not required.

791

In some EDI implementations, it may be necessary to identify the sender


and/or receiver of the transaction set within each transaction set. To
identify the sender of the transaction set, N101 will contain code FR. To
identify the receiver of the transaction set, N101 will contain code TO.
Data Element Summary
REF.
DES.

N101

DATA
ELEMENT

98

NAME

ATTRIBUTES

Entity Identifier Code

ID

2/3

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

BS Bill and Ship To


CS Consolidator
678

This is the consolidation point for the order and must be used in
conjunction with an additional N1 segment containing code ST in N101.

FR Message From
LP Loading Party
2678

Loading point/port

MA Party for whom Item is Ultimately Intended


472

Ultimate receiver

OB Ordered By
14

Customer of retailer

SF Ship From
ST Ship To
TO Message To
UP Unloading Party
2679

Unloading point/port

YW Discharge Point
N102

93

Name

AN

1/60

Free-form name

MAY 2000

856.004030

1159

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

N103

66

Identification Code Qualifier

ID

1/2

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

1 D-U-N-S Number, Dun & Bradstreet


See External Code Source 16 in Section III for reference document.

9 D-U-N-S+4, D-U-N-S Number with Four Character Suffix


See External Code Source 16 in Section III for reference document.

21 Health Industry Number (HIN)


See External Code Source 121 in Section III for reference document.

91 Assigned by Seller or Sellers Agent


92 Assigned by Buyer or Buyers Agent
93 Code assigned by the organization originating the transaction set
94 Code assigned by the organization that is the ultimate destination of the
transaction set
UL UCC/EAN Location Code
See External Code Source 583 in Section III for reference document.

N104

67

Identification Code

AN

2/80

Code identifying a party or other code


25

This is the location code as defined by N103. The location code may be a formal
number, e.g., DUNS, or it may be assigned by either the buyer or seller. The
location refers to a store, warehouse, distribution center, plant, etc. Location
codes are used to alleviate the need to send complete names and addresses.

N105

706

Entity Relationship Code

ID

2/2

ID

2/3

Code describing entity relationship


NOT USED BY THE RETAIL INDUSTRY

N106

98

Entity Identifier Code

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


NOT USED BY THE RETAIL INDUSTRY

1160

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ADDITIONAL NAME INFORMATION
N2

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

N2 Additional Name Information


Detail - Shipment
HL/N1
Optional
2
To specify additional names
Data Element Summary

REF.
DES.

N201

DATA
ELEMENT

93

NAME

ATTRIBUTES

Name

AN

1/60

AN

1/60

Free-form name

N202

93

Name
Free-form name

MAY 2000

856.004030

1161

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ADDRESS INFORMATION
N3

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

N3 Address Information
Detail - Shipment
HL/N1
Optional
2
To specify the location of the named party
Data Element Summary

REF.
DES.

N301

DATA
ELEMENT

166

NAME

ATTRIBUTES

Address Information

AN

1/55

AN

1/55

Address information

N302

166

Address Information
Address information

1162

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
GEOGRAPHIC LOCATION
N4

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

N4 Geographic Location

Detail - Shipment
HL/N1
Optional
1
To specify the geographic place of the named party
1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.
Comments: A A combination of either N401 through N404, or N405 and N406 may be
adequate to specify a location.
B N402 is required only if city name (N401) is in the U.S. or Canada.
2698

Notes: N401 and N402 are required unless N405 and N406 are used.
Data Element Summary
REF.
DES.

N401

DATA
ELEMENT

19

NAME

ATTRIBUTES

City Name

AN

2/30

ID

2/2

Free-form text for city name

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

Code defining international postal zone code excluding punctuation and blanks (zip code
for United States)
See External Code Source 51 in Section III for reference document.

N404

26

Country Code

ID

2/3

ID

1/2

Code identifying the country


See External Code Source 5 in Section III for reference document.

N405

309

Location Qualifier
Code identifying type of location

See External Code Source 206 in Section III for reference document.

D Census Schedule D
See External Code Source 54 in Section III for reference document.

IA International Air Transport Association (IATA) Location Qualifier


K Census Schedule K
See External Code Source 55 in Section III for reference document.

W Worldwide Geographic Location Code


N406

310

Location Identifier

AN

1/30

ID

1/3

Code which identifies a specific location

N407

1715 Country Subdivision Code


Code identifying the country subdivision
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1163

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
HIERARCHICAL LEVEL
HL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

HL Hierarchical Level

Detail - Unit Load


HL
Usage: Mandatory
Max Use: 200000
Mandatory
1
To identify dependencies among and the content of hierarchically related
groups of data segments
Comments: A The HL segment is used to identify levels of detail information using a
hierarchical structure, such as relating line-item data to shipment data, and
packaging data to line-item data.
B The HL segment defines a top-down/left-right ordered structure.
C HL01 shall contain a unique alphanumeric number for each occurrence of
the HL segment in the transaction set. For example, HL01 could be used to
indicate the number of occurrences of the HL segment, in which case the
value of HL01 would be 1" for the initial HL segment and would be
incremented by one in each subsequent HL segment within the transaction.
D HL02 identifies the hierarchical ID number of the HL segment to which the
current HL segment is subordinate.
E HL03 indicates the context of the series of segments following the current
HL segment up to the next occurrence of an HL segment in the transaction.
For example, HL03 is used to indicate that subsequent segments in the HL
loop form a logical grouping of data referring to shipment, order, or
item-level information.
F HL04 indicates whether or not there are subordinate (or child) HL
segments related to the current HL segment.
75

Notes: The HL segment is used to identify levels of detail information using a


hierarchical structure.

76

HL01 shall contain a unique number for each occurrence of the HL


segment within the transaction set. The value assigned to the first HL
segment will be 1, and is incremented by one for each subsequent HL
segment within the transaction set.

77

HL02 identifies the hierarchical ID of the HL segment to which it is


subordinate (child of). HL02 will be omitted for the first occurrence of the
HL segment in the transaction set, since it has no parent. HL03 identifies
the application content of the series of segments following the current HL
segment up to the next occurrence of an HL segment, or the CTT or SE
segment, e.g., Shipment, Unit Load, Order, Tare, Pack and Item.
Data Element Summary
REF.
DES.

HL01

DATA
ELEMENT

628

NAME

ATTRIBUTES

Hierarchical ID Number

AN

1/12

A unique number assigned by the sender to identify a particular data segment in a


hierarchical structure

HL02

734

Hierarchical Parent ID Number

AN

1/12

Identification number of the next higher hierarchical data segment that the data segment
being described is subordinate to

HL03

735

Hierarchical Level Code

ID

1/2

ID

1/1

Code defining the characteristic of a level in a hierarchical structure

UT Unit or Lot
2682

Unit load

HL04

736

Hierarchical Child Code

Code indicating if there are hierarchical child data segments subordinate to the level
being described
NOT USED BY THE RETAIL INDUSTRY
1164

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (EQUIPMENT)
TD3

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

TD3 Carrier Details (Equipment)


Detail - Unit Load
HL/TD3
Usage: Optional
Max Use: 12
Mandatory
1
To specify transportation details relating to the equipment used by the carrier
1 E0110
Only one of TD301 or TD310 may be present.
2 C0203
If TD302 is present, then TD303 is required.
3 C0405
If TD304 is present, then TD305 is required.
4 P0506
If either TD305 or TD306 is present, then the other is required.
Data Element Summary

REF.
DES.

TD301

DATA
ELEMENT

40

NAME

ATTRIBUTES

Equipment Description Code

ID

2/2

AN

1/4

AN

1/10

Code identifying type of equipment used for shipment

20
2B
40
4B
CN
CZ
TD302

206

20 ft. IL Container (Open Top)


20 ft. IL Container (Closed Top)
40 ft. IL Container (Open Top)
40 ft. IL Container (Closed Top)
Container
Refrigerated Container

Equipment Initial
Prefix or alphabetic part of an equipment units identifying number

See External Code Source 17 in Section III for reference document.


See External Code Source 512 in Section III for reference document.

TD303

207

Equipment Number

Sequencing or serial part of an equipment units identifying number (pure numeric form
for equipment number is preferred)

TD304

187

Weight Qualifier

ID

1/2

1/10

ID

2/2

Code defining the type of weight


NOT USED BY THE RETAIL INDUSTRY

TD305

81

Weight
Numeric value of weight
NOT USED BY THE RETAIL INDUSTRY

TD306

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

TD307

102

Ownership Code

ID

1/1

Code indicating the relationship of equipment to carrier or ownership of equipment


NOT USED BY THE RETAIL INDUSTRY

TD308

407

Seal Status Code

ID

2/2

AN

2/15

Code indicating condition of door seal upon arrival


NOT USED BY THE RETAIL INDUSTRY

TD309

225

Seal Number
Unique number on seal used to close a shipment

MAY 2000

856.004030

1165

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

TD310

24

Equipment Type

ID

4/4

Code identifying equipment type


See External Code Source 14 in Section III for reference document.
3058

1166

Use ISO 6346:1995 code list.

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRAILER OR CONTAINER DIMENSION AND WEIGHT
AT9

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

AT9 Trailer or Container Dimension and Weight

Detail - Unit Load


HL/TD3
Optional
1
To specify trailer or container dimensions
1 P040506
If either AT904, AT905 or AT906 are present, then the others are required.
2 P0708
If either AT907 or AT908 is present, then the other is required.
Semantic: 1 AT902 is the height of the trailer or container in inches.
2 AT903 is the width of the trailer or container in inches.
3 AT906 is the weight of the trailer or container. It is the tare weight of the
trailer or container.
4 AT908 is the volumetric capacity of the trailer or container.
Data Element Summary
REF.
DES.

AT901

DATA
ELEMENT

567

NAME

ATTRIBUTES

Equipment Length

N0

4/5

Length (in feet and inches) of equipment ordered or used to transport shipment (The
format is FFFII where FFF is feet and II is inches; the range for II is 00 through 11)

AT902

65

Height

1/8

Vertical dimension of an object measured when the object is in the upright position

AT903

189

Width

1/8

Shorter measurement of the two horizontal dimensions measured with the object in the
upright position
NOT USED BY THE RETAIL INDUSTRY

AT904

187

Weight Qualifier

ID

1/2

ID

1/1

1/10

ID

1/1

1/8

Code defining the type of weight


NOT USED BY THE RETAIL INDUSTRY

AT905

188

Weight Unit Code


Code specifying the weight unit
NOT USED BY THE RETAIL INDUSTRY

AT906

81

Weight
Numeric value of weight
NOT USED BY THE RETAIL INDUSTRY

AT907

184

Volume Unit Qualifier


Code identifying the volume unit
NOT USED BY THE RETAIL INDUSTRY

AT908

183

Volume
Value of volumetric measure
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1167

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MARKS AND NUMBERS
MAN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

MAN Marks and Numbers

Detail - Unit Load


HL
Optional
>1
To indicate identifying marks and numbers for shipping containers
1 P0405
If either MAN04 or MAN05 is present, then the other is required.
2 C0605
If MAN06 is present, then MAN05 is required.
Semantic: 1 MAN01/MAN02 and MAN04/MAN05 may be used to identify two different
marks and numbers assigned to the same physical container.
2 When both MAN02 and MAN03 are used, MAN02 is the starting number of
a sequential range and MAN03 is the ending number of that range.
3 When both MAN05 and MAN06 are used, MAN05 is the starting number of
a sequential range, and MAN06 is the ending number of that range.
Comments: A When MAN01 contains code UC (U.P.C. Shipping Container Code) and
MAN05/MAN06 contain a range of ID numbers, MAN03 is not used. The
reason for this is that the U.P.C. Shipping Container code is the same on
every carton that is represented in the range in MAN05/MAN06.
B MAN03 and/or MAN06 are only used when sending a range(s) of ID
numbers.
C When both MAN02/MAN03 and MAN05/MAN06 are used to send ranges
of ID numbers, the integrity of the two ID numbers must be maintained.
2683

Notes: This segment, at the unit load level, is used to specify the identification
number for the unit load.
Data Element Summary

REF.
DES.

DATA
ELEMENT

MAN01

88

NAME

ATTRIBUTES

Marks and Numbers Qualifier

ID

1/2

Code specifying the application or source of Marks and Numbers (87)

AA SSCC-18
2915

This is an eighteen-character UCC/EAN-128 Serial Shipping Container


Code (SSCC-18) that does not include the two digit application identifier,
the symbology code, or the modulo 103 check character.
See External Code Source 664 in Section III for reference document.

GM SSCC-18 and Application Identifier


87

This is a twenty-character UCC/EAN-128 Serial Shipping Container Code


(SSCC-18) that includes the two digit application identifier. The symbology
code and the modulo 103 check digit are not included.
See External Code Source 98 in Section III for reference document.

MAN02

87

Marks and Numbers

AN

1/48

AN

1/48

ID

1/2

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment

MAN03

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

MAN04

88

Marks and Numbers Qualifier


Code specifying the application or source of Marks and Numbers (87)
NOT USED BY THE RETAIL INDUSTRY

MAN05

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

1168

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

MAN06

87

Marks and Numbers

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1169

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
HIERARCHICAL LEVEL
HL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

HL Hierarchical Level

Detail - Order
HL
Usage: Mandatory
Max Use: 200000
Mandatory
1
To identify dependencies among and the content of hierarchically related
groups of data segments
Comments: A The HL segment is used to identify levels of detail information using a
hierarchical structure, such as relating line-item data to shipment data, and
packaging data to line-item data.
B The HL segment defines a top-down/left-right ordered structure.
C HL01 shall contain a unique alphanumeric number for each occurrence of
the HL segment in the transaction set. For example, HL01 could be used to
indicate the number of occurrences of the HL segment, in which case the
value of HL01 would be 1" for the initial HL segment and would be
incremented by one in each subsequent HL segment within the transaction.
D HL02 identifies the hierarchical ID number of the HL segment to which the
current HL segment is subordinate.
E HL03 indicates the context of the series of segments following the current
HL segment up to the next occurrence of an HL segment in the transaction.
For example, HL03 is used to indicate that subsequent segments in the HL
loop form a logical grouping of data referring to shipment, order, or
item-level information.
F HL04 indicates whether or not there are subordinate (or child) HL
segments related to the current HL segment.
75

Notes: The HL segment is used to identify levels of detail information using a


hierarchical structure.

76

HL01 shall contain a unique number for each occurrence of the HL


segment within the transaction set. The value assigned to the first HL
segment will be 1, and is incremented by one for each subsequent HL
segment within the transaction set.

77

HL02 identifies the hierarchical ID of the HL segment to which it is


subordinate (child of). HL02 will be omitted for the first occurrence of the
HL segment in the transaction set, since it has no parent. HL03 identifies
the application content of the series of segments following the current HL
segment up to the next occurrence of an HL segment, or the CTT or SE
segment, e.g., Shipment, Unit Load, Order, Tare, Pack and Item.
Data Element Summary
REF.
DES.

HL01

DATA
ELEMENT

628

NAME

ATTRIBUTES

Hierarchical ID Number

AN

1/12

A unique number assigned by the sender to identify a particular data segment in a


hierarchical structure

HL02

734

Hierarchical Parent ID Number

AN

1/12

Identification number of the next higher hierarchical data segment that the data segment
being described is subordinate to

HL03

735

Hierarchical Level Code

ID

1/2

ID

1/1

Code defining the characteristic of a level in a hierarchical structure

O Order
HL04

736

Hierarchical Child Code

Code indicating if there are hierarchical child data segments subordinate to the level
being described
NOT USED BY THE RETAIL INDUSTRY

1170

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
PURCHASE ORDER REFERENCE
PRF

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Semantic:

PRF Purchase Order Reference


Detail - Order
HL
Optional
1
To provide reference to a specific purchase order
1 PRF04 is the date assigned by the purchaser to purchase order.
Data Element Summary

REF.
DES.

PRF01

DATA
ELEMENT

324

NAME

ATTRIBUTES

Purchase Order Number

AN

1/22

AN

1/30

Identifying number for Purchase Order assigned by the orderer/purchaser


269

Retailers original purchase order number

PRF02

328

Release Number

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

Retailers release against the purchase order, if used

PRF03

327

Change Order Sequence Number

AN

1/8

Number assigned by the orderer identifying a specific change or revision to a previously


transmitted transaction set
NOT USED BY THE RETAIL INDUSTRY

PRF04

373

Date

DT

8/8

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
271

Retailers original purchase order date

PRF05

350

Assigned Identification

AN

1/20

Alphanumeric characters assigned for differentiation within a transaction set


83

The number assigned to the original purchase order line item; the value of PO101
for the previously transmitted purchase order, if used

PRF06

367

Contract Number

AN

1/30

ID

2/2

Contract number

PRF07

92

Purchase Order Type Code


Code specifying the type of Purchase Order
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1171

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
PRODUCT/ITEM DESCRIPTION
PID

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

PID Product/Item Description

Detail - Order
HL
Optional
200
To describe a product or process in coded or free-form format
1 C0403
If PID04 is present, then PID03 is required.
2 R0405
At least one of PID04 or PID05 is required.
3 C0703
If PID07 is present, then PID03 is required.
4 C0804
If PID08 is present, then PID04 is required.
5 C0905
If PID09 is present, then PID05 is required.
Semantic: 1 Use PID03 to indicate the organization that publishes the code list being
referred to.
2 PID04 should be used for industry-specific product description codes.
3 PID08 describes the physical characteristics of the product identified in
PID04. A Y indicates that the specified attribute applies to this item; an
N indicates it does not apply. Any other value is indeterminate.
4 PID09 is used to identify the language being used in PID05.
Comments: A 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.
B Use PID06 when necessary to refer to the product surface or layer being
described in the segment.
C PID07 specifies the individual code list of the agency specified in PID03.
Data Element Summary
REF.
DES.

PID01

DATA
ELEMENT

349

NAME

ATTRIBUTES

Item Description Type

ID

1/1

ID

2/3

ID

2/2

Code indicating the format of a description

S Structured (From Industry Code List)


36

The description will be found in PID04.

PID02

750

Product/Process Characteristic Code

Code identifying the general class of a product or process characteristic


NOT USED BY THE RETAIL INDUSTRY

PID03

559

Agency Qualifier Code

Code identifying the agency assigning the code values

VI Voluntary Inter-Industry Commerce Standard (VICS) EDI


See External Code Source 70 in Section III for reference document.

PID04

751

Product Description Code

AN

1/12

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

EV
FL
VC

PID05

352

Compliant with State Environment Requirements


Compliant with Fair Labor Standards Act
Volatile Organic Compound (VOC) Compliant

Description

AN

1/80

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

1172

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PID06

752

Surface/Layer/Position Code

ID

2/2

AN

1/15

Code indicating the product surface, layer or position that is being described
NOT USED BY THE RETAIL INDUSTRY

PID07

822

Source Subqualifier

A reference that indicates the table or text maintained by the Source Qualifier
NOT USED BY THE RETAIL INDUSTRY

PID08

1073 Yes/No Condition or Response Code

ID

1/1

ID

2/3

Code indicating a Yes or No condition or response


NOT USED BY THE RETAIL INDUSTRY

PID09

819

Language Code

Code designating the language used in text, from a standard code list maintained by the
International Standards Organization (ISO 639)
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1173

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (QUANTITY AND WEIGHT)
TD1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

505

TD1 Carrier Details (Quantity and Weight)


Detail - Order
HL
Optional
20
To specify the transportation details relative to commodity, weight, and quantity
1 C0102
If TD101 is present, then TD102 is required.
2 C0304
If TD103 is present, then TD104 is required.
3 C0607
If TD106 is present, then TD107 is required.
4 P0708
If either TD107 or TD108 is present, then the other is required.
5 P0910
If either TD109 or TD110 is present, then the other is required.

Notes: This segment, at the order level, is used to specify the number and type
of shipping containers in the order.
Data Element Summary
REF.
DES.

TD101

DATA
ELEMENT

103

NAME

ATTRIBUTES

Packaging Code

AN

3/5

Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging
Material; if the Data Element is used, then Part 1 is always required

Part 1
BAG Bag
CTN Carton
PLT Pallet
Part 2
01 Aluminum
25 Corrugated or Solid
31 Fibre
76 Paper
79 Plastic
94 Wood
TD102

80

Lading Quantity

N0

1/7

ID

1/1

AN

1/30

AN

1/50

ID

1/2

1/10

Number of units (pieces) of the lading commodity

TD103

23

Commodity Code Qualifier

Code identifying the commodity coding system used for Commodity Code
NOT USED BY THE RETAIL INDUSTRY

TD104

22

Commodity Code
Code describing a commodity or group of commodities
NOT USED BY THE RETAIL INDUSTRY

TD105

79

Lading Description
Description of an item as required for rating and billing purposes
NOT USED BY THE RETAIL INDUSTRY

TD106

187

Weight Qualifier
Code defining the type of weight

G Gross Weight
TD107

81

Weight
Numeric value of weight

1174

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

TD108

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

TD109

183

Volume

1/8

ID

2/2

Value of volumetric measure


2811

Gross volume

TD110

355

Unit or Basis for Measurement Code

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

MAY 2000

See Section III for code list.

856.004030

1175

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (ROUTING SEQUENCE/TRANSIT TIME)
TD5

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

TD5 Carrier Details (Routing Sequence/Transit Time)

Detail - Order
HL
Optional
12
To specify the carrier and sequence of routing and provide transit time
information
Syntax: 1 R0204050612
At least one of TD502, TD504, TD505, TD506 or TD512 is required.
2 C0203
If TD502 is present, then TD503 is required.
3 C0708
If TD507 is present, then TD508 is required.
4 C1011
If TD510 is present, then TD511 is required.
5 C1312
If TD513 is present, then TD512 is required.
6 C1413
If TD514 is present, then TD513 is required.
7 C1512
If TD515 is present, then TD512 is required.
Semantic: 1 TD515 is the country where the service is to be performed.
Comments: A 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.
284

Notes: This segment, at the order level, is used to specify the status of the order.
Data Element Summary
REF.
DES.

TD501

DATA
ELEMENT

133

NAME

ATTRIBUTES

Routing Sequence Code

ID

1/2

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


NOT USED BY THE RETAIL INDUSTRY

TD502

66

Identification Code Qualifier

ID

1/2

Code designating the system/method of code structure used for Identification Code (67)
NOT USED BY THE RETAIL INDUSTRY

TD503

67

Identification Code

AN

2/80

ID

1/2

AN

1/35

Code identifying a party or other code


NOT USED BY THE RETAIL INDUSTRY

TD504

91

Transportation Method/Type Code


Code specifying the method or type of transportation for the shipment
NOT USED BY THE RETAIL INDUSTRY

TD505

387

Routing

Free-form description of the routing or requested routing for shipment, or the originating
carriers identity
NOT USED BY THE RETAIL INDUSTRY

TD506

368

Shipment/Order Status Code

ID

2/2

Code indicating the status of an order or shipment or the disposition of any difference
between the quantity ordered and the quantity shipped for a line item or transaction

BK Back Ordered from Previous Order


BP Shipment Partial, Back Order to Ship on (Date)
CC Shipment Complete on (Date)
1176

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

CM
CP
CS
DE
IC
IS
PR
SS
TD507

309

Shipment Complete with Additional Quantity


Partial Shipment on (Date), Considered No Backorder
Shipment Complete with Substitution
Deleted Order
Item Canceled
Item Represents Substitution from Original Order
Partial Shipment
Split Shipment

Location Qualifier

ID

1/2

AN

1/30

ID

2/2

ID

2/2

1/4

ID

2/2

Code identifying type of location


NOT USED BY THE RETAIL INDUSTRY

TD508

310

Location Identifier
Code which identifies a specific location
NOT USED BY THE RETAIL INDUSTRY

TD509

731

Transit Direction Code


The point of origin and point of direction
NOT USED BY THE RETAIL INDUSTRY

TD510

732

Transit Time Direction Qualifier


Code specifying the value of time used to measure the transit time
NOT USED BY THE RETAIL INDUSTRY

TD511

733

Transit Time
The numeric amount of transit time
NOT USED BY THE RETAIL INDUSTRY

TD512

284

Service Level Code

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD513

284

Service Level Code

ID

2/2

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD514

284

Service Level Code

ID

2/2

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD515

26

Country Code

ID

2/3

Code identifying the country


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1177

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRAILER SHIPMENT DETAILS
TSD

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Semantic:
2875

TSD Trailer Shipment Details


Detail - Order
HL
Optional
1
To specify details of shipments on a trailer
1 TSD01 indicates the loading sequence and relative shipment position on
the trailer.

Notes: This segment is used to indicate the location of all cartons within the
trailer/container.
Data Element Summary
REF.
DES.

TSD01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

AN

1/3

Alphanumeric characters assigned for differentiation within a transaction set


2876

Indicates the loading sequence

TSD02

219

Position

Relative position of shipment in car, trailer, or container (mutually defined)


2877

1178

1
2
3
4

First quarter of the trailer/container


Second quarter of the trailer/container
Third quarter of the trailer/container
Fourth quarter of the trailer/container

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
REFERENCE IDENTIFICATION
REF

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

REF Reference Identification

Detail - Order
HL
Optional
>1
To specify identifying information
1 R0203
At least one of REF02 or REF03 is required.
Semantic: 1 REF04 contains data relating to the value cited in REF02.
Data Element Summary
REF.
DES.

REF01

DATA
ELEMENT

128

NAME

ATTRIBUTES

Reference Identification Qualifier

ID

2/3

Code qualifying the Reference Identification

6B U.S. Customs Service (USCS) Entry Number


2685

Customs entry number

BM Bill of Lading Number


BT Batch Number
CH Customer catalog number
CO Customer Order Number
14

Customer of retailer

DP Department Number
HB Bill & Hold Invoice Number
IA Internal Vendor Number
194

Identification number assigned to the vendor, by the retailer, for use within
the retailers system

IT Internal Customer Number


234

Identification number assigned to the retailer, by the vendor, for use within
the vendors system

IV Sellers Invoice Number


MR Merchandise Type Code
PD Promotion/Deal Number
QC Product Specification Document Number
492

Schematic reference number

SB Sales Region Number


UCB UCC Bill of Lading Number (17 Digits)
See External Code Source 852 in Section III for reference document.

UCM UCC Master Bill of Lading Number (17 Digits)


See External Code Source 852 in Section III for reference document.

VN Vendor Order Number

REF02

127

Reference Identification

AN

1/50

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


Reference Identification Qualifier

REF03

352

Description

AN

1/80

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1179

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

REF04

C040 REFERENCE IDENTIFIER

COMPOSITE

To identify one or more reference numbers or identification numbers as specified by the


Reference Qualifier
NOT USED BY THE RETAIL INDUSTRY

1180

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
DATE/TIME REFERENCE
DTM

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

DTM Date/Time Reference


Detail - Order
HL
Optional
10
To specify pertinent dates and times
1 R020305
At least one of DTM02, DTM03 or DTM05 is required.
2 C0403
If DTM04 is present, then DTM03 is required.
3 P0506
If either DTM05 or DTM06 is present, then the other is required.
Data Element Summary

REF.
DES.

DATA
ELEMENT

DTM01

374

NAME

ATTRIBUTES

Date/Time Qualifier

ID

3/3

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

272 Exit Plant Date


2816

Ex factory

371 Estimated Arrival Date


2917

This code may be used only for multi-stop shipments on one bill of lading.

DTM02

373

Date

DT

8/8

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year

DTM03

337

Time

TM

4/8

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)

DTM04

623

Time Code

ID

2/2

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
NOT USED BY THE RETAIL INDUSTRY

DTM05

1250 Date Time Period Format Qualifier

ID

2/3

AN

1/35

Code indicating the date format, time format, or date and time format
NOT USED BY THE RETAIL INDUSTRY

DTM06

1251 Date Time Period

Expression of a date, a time, or range of dates, times or dates and times


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1181

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
NAME
N1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

N1 Name

Detail - Order
HL/N1
Usage: Optional
Max Use: 200
Mandatory
1
To identify a party by type of organization, name, and code
1 R0203
At least one of N102 or N103 is required.
2 P0304
If either N103 or N104 is present, then the other is required.
This
segment, used alone, provides the most efficient method of providing
Comments: A
organizational identification. To obtain this efficiency the ID Code (N104)
must provide a key to the table maintained by the transaction processing
party.
B N105 and N106 further define the type of entity in N101.
85

Notes: There will be at least one occurrence, of this segment, to identify the
buying party by using code BY in N101.

493

N103 and N104 are required except when N101 contains code CT, MA or
OB.
Data Element Summary
REF.
DES.

N101

DATA
ELEMENT

98

NAME

ATTRIBUTES

Entity Identifier Code

ID

2/3

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

AG Agent/Agency
648

Buyers agent

BO Broker or Sales Office


291

For a domestic purchase order, this is the manufacturers sales office. For
an import purchase order this is the sales office that interacts with the
manufacturers/buyers agent.

BY Buying Party (Purchaser)


CT Country of Origin
MA Party for whom Item is Ultimately Intended
472

Ultimate receiver

OB Ordered By
14

Customer of retailer

SE Selling Party
Z7 Mark-for Party
2270

This is the receiving location for the order where the location is neither the
buying party nor the ship-to location and the mark-for party is specified on
the shipping label, e.g., the mark-for party is a satellite warehouse, the
buying party is the store, and the ship-to location is the distribution center.

N102

93

Name

AN

1/60

ID

1/2

Free-form name

N103

66

Identification Code Qualifier

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

1 D-U-N-S Number, Dun & Bradstreet


See External Code Source 16 in Section III for reference document.

9 D-U-N-S+4, D-U-N-S Number with Four Character Suffix


See External Code Source 16 in Section III for reference document.

1182

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

21 Health Industry Number (HIN)


See External Code Source 121 in Section III for reference document.

38 Country Code
See External Code Source 5 in Section III for reference document.

91 Assigned by Seller or Sellers Agent


92 Assigned by Buyer or Buyers Agent
UL UCC/EAN Location Code
See External Code Source 583 in Section III for reference document.

N104

67

Identification Code

AN

2/80

Code identifying a party or other code


25

This is the location code as defined by N103. The location code may be a formal
number, e.g., DUNS, or it may be assigned by either the buyer or seller. The
location refers to a store, warehouse, distribution center, plant, etc. Location
codes are used to alleviate the need to send complete names and addresses.

N105

706

Entity Relationship Code

ID

2/2

ID

2/3

Code describing entity relationship


NOT USED BY THE RETAIL INDUSTRY

N106

98

Entity Identifier Code

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


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1183

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ADDITIONAL NAME INFORMATION
N2

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

N2 Additional Name Information


Detail - Order
HL/N1
Optional
2
To specify additional names
Data Element Summary

REF.
DES.

N201

DATA
ELEMENT

93

NAME

ATTRIBUTES

Name

AN

1/60

AN

1/60

Free-form name

N202

93

Name
Free-form name

1184

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ADDRESS INFORMATION
N3

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

N3 Address Information
Detail - Order
HL/N1
Optional
2
To specify the location of the named party
Data Element Summary

REF.
DES.

N301

DATA
ELEMENT

166

NAME

ATTRIBUTES

Address Information

AN

1/55

AN

1/55

Address information

N302

166

Address Information
Address information

MAY 2000

856.004030

1185

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
GEOGRAPHIC LOCATION
N4

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

N4 Geographic Location

Detail - Order
HL/N1
Optional
1
To specify the geographic place of the named party
1 E0207
Only one of N402 or N407 may be present.
2 C0605
If N406 is present, then N405 is required.
3 C0704
If N407 is present, then N404 is required.
Comments: A A combination of either N401 through N404, or N405 and N406 may be
adequate to specify a location.
B N402 is required only if city name (N401) is in the U.S. or Canada.
Data Element Summary
REF.
DES.

N401

DATA
ELEMENT

19

NAME

ATTRIBUTES

City Name

AN

2/30

ID

2/2

Free-form text for city name

N402

156

State or Province Code

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

N403

116

Postal Code

ID

3/15

Code defining international postal zone code excluding punctuation and blanks (zip code
for United States)
See External Code Source 51 in Section III for reference document.

N404

26

Country Code

ID

2/3

ID

1/2

AN

1/30

ID

1/3

Code identifying the country


See External Code Source 5 in Section III for reference document.

N405

309

Location Qualifier
Code identifying type of location
NOT USED BY THE RETAIL INDUSTRY

N406

310

Location Identifier
Code which identifies a specific location
NOT USED BY THE RETAIL INDUSTRY

N407

1715 Country Subdivision Code


Code identifying the country subdivision
NOT USED BY THE RETAIL INDUSTRY

1186

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CURRENCY
CUR

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

CUR Currency

Detail - Order
HL
Optional
1
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
1 C0807
If CUR08 is present, then CUR07 is required.
2 C0907
If CUR09 is present, then CUR07 is required.
3 L101112
If CUR10 is present, then at least one of CUR11 or CUR12 is required.
4 C1110
If CUR11 is present, then CUR10 is required.
5 C1210
If CUR12 is present, then CUR10 is required.
6 L131415
If CUR13 is present, then at least one of CUR14 or CUR15 is required.
7 C1413
If CUR14 is present, then CUR13 is required.
8 C1513
If CUR15 is present, then CUR13 is required.
9 L161718
If CUR16 is present, then at least one of CUR17 or CUR18 is required.
10 C1716
If CUR17 is present, then CUR16 is required.
11 C1816
If CUR18 is present, then CUR16 is required.
12 L192021
If CUR19 is present, then at least one of CUR20 or CUR21 is required.
13 C2019
If CUR20 is present, then CUR19 is required.
14 C2119
If CUR21 is present, then CUR19 is required.
Comments: A See Figures Appendix for examples detailing the use of the CUR segment.
2813

Notes: See Section V (CUR Usage) for usage examples.


Data Element Summary

REF.
DES.

DATA
ELEMENT

CUR01

98

NAME

ATTRIBUTES

Entity Identifier Code

ID

2/3

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

BY Buying Party (Purchaser)

CUR02

100

Currency Code

ID

3/3

Code (Standard ISO) for country in whose currency the charges are specified
See External Code Source 5 in Section III for reference document.

CUR03

280

Exchange Rate

4/10

Value to be used as a multiplier conversion factor to convert monetary value from one
currency to another

CUR04

98

Entity Identifier Code

ID

2/3

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

SE Selling Party

MAY 2000

856.004030

1187

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

CUR05

100

Currency Code

ID

3/3

Code (Standard ISO) for country in whose currency the charges are specified
See External Code Source 5 in Section III for reference document.

CUR06

669

Currency Market/Exchange Code

ID

3/3

Code identifying the market upon which the currency exchange rate is based
NOT USED BY THE RETAIL INDUSTRY

CUR07

374

Date/Time Qualifier

ID

3/3

DT

8/8

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


NOT USED BY THE RETAIL INDUSTRY

CUR08

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
NOT USED BY THE RETAIL INDUSTRY

CUR09

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

CUR10

374

Date/Time Qualifier

ID

3/3

DT

8/8

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


NOT USED BY THE RETAIL INDUSTRY

CUR11

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
NOT USED BY THE RETAIL INDUSTRY

CUR12

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

CUR13

374

Date/Time Qualifier

ID

3/3

DT

8/8

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


NOT USED BY THE RETAIL INDUSTRY

CUR14

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
NOT USED BY THE RETAIL INDUSTRY

CUR15

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

CUR16

374

Date/Time Qualifier

ID

3/3

DT

8/8

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


NOT USED BY THE RETAIL INDUSTRY

CUR17

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
NOT USED BY THE RETAIL INDUSTRY

1188

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

CUR18

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

CUR19

374

Date/Time Qualifier

ID

3/3

DT

8/8

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


NOT USED BY THE RETAIL INDUSTRY

CUR20

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
NOT USED BY THE RETAIL INDUSTRY

CUR21

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1189

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
HIERARCHICAL LEVEL
HL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

HL Hierarchical Level

Detail - Tare
HL
Usage: Mandatory
Max Use: 200000
Mandatory
1
To identify dependencies among and the content of hierarchically related
groups of data segments
Comments: A The HL segment is used to identify levels of detail information using a
hierarchical structure, such as relating line-item data to shipment data, and
packaging data to line-item data.
B The HL segment defines a top-down/left-right ordered structure.
C HL01 shall contain a unique alphanumeric number for each occurrence of
the HL segment in the transaction set. For example, HL01 could be used to
indicate the number of occurrences of the HL segment, in which case the
value of HL01 would be 1" for the initial HL segment and would be
incremented by one in each subsequent HL segment within the transaction.
D HL02 identifies the hierarchical ID number of the HL segment to which the
current HL segment is subordinate.
E HL03 indicates the context of the series of segments following the current
HL segment up to the next occurrence of an HL segment in the transaction.
For example, HL03 is used to indicate that subsequent segments in the HL
loop form a logical grouping of data referring to shipment, order, or
item-level information.
F HL04 indicates whether or not there are subordinate (or child) HL
segments related to the current HL segment.
75

Notes: The HL segment is used to identify levels of detail information using a


hierarchical structure.

76

HL01 shall contain a unique number for each occurrence of the HL


segment within the transaction set. The value assigned to the first HL
segment will be 1, and is incremented by one for each subsequent HL
segment within the transaction set.

77

HL02 identifies the hierarchical ID of the HL segment to which it is


subordinate (child of). HL02 will be omitted for the first occurrence of the
HL segment in the transaction set, since it has no parent. HL03 identifies
the application content of the series of segments following the current HL
segment up to the next occurrence of an HL segment, or the CTT or SE
segment, e.g., Shipment, Unit Load, Order, Tare, Pack and Item.
Data Element Summary
REF.
DES.

HL01

DATA
ELEMENT

628

NAME

ATTRIBUTES

Hierarchical ID Number

AN

1/12

A unique number assigned by the sender to identify a particular data segment in a


hierarchical structure

HL02

734

Hierarchical Parent ID Number

AN

1/12

Identification number of the next higher hierarchical data segment that the data segment
being described is subordinate to

HL03

735

Hierarchical Level Code

ID

1/2

ID

1/1

Code defining the characteristic of a level in a hierarchical structure

T Shipping Tare
HL04

736

Hierarchical Child Code

Code indicating if there are hierarchical child data segments subordinate to the level
being described
NOT USED BY THE RETAIL INDUSTRY

1190

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRAILER SHIPMENT DETAILS
TSD

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Semantic:
2874

TSD Trailer Shipment Details


Detail - Tare
HL
Optional
1
To specify details of shipments on a trailer
1 TSD01 indicates the loading sequence and relative shipment position on
the trailer.

Notes: This segment may be used to indicate the location of the pallet within the
trailer/container.
Data Element Summary
REF.
DES.

TSD01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

AN

1/3

Alphanumeric characters assigned for differentiation within a transaction set


2876

Indicates the loading sequence

TSD02

219

Position

Relative position of shipment in car, trailer, or container (mutually defined)


2877

MAY 2000

1
2
3
4

First quarter of the trailer/container


Second quarter of the trailer/container
Third quarter of the trailer/container
Fourth quarter of the trailer/container

856.004030

1191

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MARKS AND NUMBERS
MAN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

MAN Marks and Numbers

Detail - Tare
HL
Optional
>1
To indicate identifying marks and numbers for shipping containers
1 P0405
If either MAN04 or MAN05 is present, then the other is required.
2 C0605
If MAN06 is present, then MAN05 is required.
Semantic: 1 MAN01/MAN02 and MAN04/MAN05 may be used to identify two different
marks and numbers assigned to the same physical container.
2 When both MAN02 and MAN03 are used, MAN02 is the starting number of
a sequential range and MAN03 is the ending number of that range.
3 When both MAN05 and MAN06 are used, MAN05 is the starting number of
a sequential range, and MAN06 is the ending number of that range.
Comments: A When MAN01 contains code UC (U.P.C. Shipping Container Code) and
MAN05/MAN06 contain a range of ID numbers, MAN03 is not used. The
reason for this is that the U.P.C. Shipping Container code is the same on
every carton that is represented in the range in MAN05/MAN06.
B MAN03 and/or MAN06 are only used when sending a range(s) of ID
numbers.
C When both MAN02/MAN03 and MAN05/MAN06 are used to send ranges
of ID numbers, the integrity of the two ID numbers must be maintained.
86

Notes: This segment, at the tare level, is used to specify the identification
numbers for the pallet.
Data Element Summary

REF.
DES.

DATA
ELEMENT

MAN01

88

NAME

ATTRIBUTES

Marks and Numbers Qualifier

ID

1/2

Code specifying the application or source of Marks and Numbers (87)

AA SSCC-18
2915

This is an eighteen-character UCC/EAN-128 Serial Shipping Container


Code (SSCC-18) that does not include the two digit application identifier,
the symbology code, or the modulo 103 check character.
See External Code Source 664 in Section III for reference document.

GM SSCC-18 and Application Identifier


87

This is a twenty-character UCC/EAN-128 Serial Shipping Container Code


(SSCC-18) that includes the two digit application identifier. The symbology
code and the modulo 103 check digit are not included.
See External Code Source 98 in Section III for reference document.

SM Shipper Assigned
UC U.P.C. Shipping Container Code
514

This is the fourteen-digit U.P.C. Shipping Container Code.


See External Code Source 71 in Section III for reference document.

MAN02

87

Marks and Numbers

AN

1/48

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment

MAN03

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

1192

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

MAN04

88

Marks and Numbers Qualifier

ID

1/2

AN

1/48

AN

1/48

Code specifying the application or source of Marks and Numbers (87)


NOT USED BY THE RETAIL INDUSTRY

MAN05

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

MAN06

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1193

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
PALLET INFORMATION
PAL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

PAL Pallet Information

Detail - Tare
HL
Optional
1
To identify the type and physical attributes of the pallet, and, gross weight,
gross volume, and height of the load and the pallet
Syntax: 1 P0506
If either PAL05 or PAL06 is present, then the other is required.
2 C0710
If PAL07 is present, then PAL10 is required.
3 C0810
If PAL08 is present, then PAL10 is required.
4 C0910
If PAL09 is present, then PAL10 is required.
5 L10070809
If PAL10 is present, then at least one of PAL07, PAL08 or PAL09 is
required.
6 P1112
If either PAL11 or PAL12 is present, then the other is required.
7 P1314
If either PAL13 or PAL14 is present, then the other is required.
Semantic: 1 PAL04 (Pack) is the number of pieces on the pallet.
2 PAL05 (Unit Weight) is the weight of the pallet alone, before loading.
3 PAL07 and PAL08 (Length and Width) are the dimensions of the pallet
before loading.
4 PAL09 (Height) is the height of the pallet and load.
5 PAL11 and PAL13 (Gross Weight and Gross Volume) are measured after
loading and includes the pallet.
Data Element Summary
REF.
DES.

PAL01

DATA
ELEMENT

883

NAME

ATTRIBUTES

Pallet Type Code

ID

1/2

Code indicating the type of pallet

1
2
3
4
5
6
7
2791

Aluminum
As Specified by the Department of Transportation (DOT)
Metal
Standard
Steel
Wood
Slip sheet
Typically cardboard or plastic sheets used to hold products for storage or
shipment

PAL02

884

Pallet Tiers

N0

1/3

N0

1/3

N0

1/6

The number of layers per pallet

PAL03

885

Pallet Blocks
The number of pieces (cartons) per layer on the pallet

PAL04

356

Pack

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

PAL05

395

Unit Weight

1/8

Numeric value of weight per unit

1194

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PAL06

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

PAL07

82

Length

1/8

Largest horizontal dimension of an object measured when the object is in the upright
position

PAL08

189

Width

1/8

Shorter measurement of the two horizontal dimensions measured with the object in the
upright position

PAL09

65

Height

1/8

Vertical dimension of an object measured when the object is in the upright position

PAL10

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

PAL11

384

Gross Weight per Pack

1/9

ID

2/2

Numeric value of gross weight per pack

PAL12

355

Unit or Basis for Measurement Code

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

See Section III for code list.

PAL13

385

Gross Volume per Pack

1/9

ID

2/2

Numeric value of gross volume per pack

PAL14

355

Unit or Basis for Measurement Code

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

See Section III for code list.

PAL15

399

Pallet Exchange Code

ID

1/1

N0

1/6

ID

1/1

Code specifying pallet exchange instructions

1
2
3
4
5
PAL16

810

No Exchange/No Return
Exchange Pallets
Return Pallets
Pallets to be Purchased by Customer
Third-Party Pallet Exchange

Inner Pack
The number of eaches per inner container
NOT USED BY THE RETAIL INDUSTRY

PAL17

1699 Pallet Structure Code


Code identifying the pallet structure
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1195

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
HIERARCHICAL LEVEL
HL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

HL Hierarchical Level

Detail - Pack
HL
Usage: Mandatory
Max Use: 200000
Mandatory
1
To identify dependencies among and the content of hierarchically related
groups of data segments
Comments: A The HL segment is used to identify levels of detail information using a
hierarchical structure, such as relating line-item data to shipment data, and
packaging data to line-item data.
B The HL segment defines a top-down/left-right ordered structure.
C HL01 shall contain a unique alphanumeric number for each occurrence of
the HL segment in the transaction set. For example, HL01 could be used to
indicate the number of occurrences of the HL segment, in which case the
value of HL01 would be 1" for the initial HL segment and would be
incremented by one in each subsequent HL segment within the transaction.
D HL02 identifies the hierarchical ID number of the HL segment to which the
current HL segment is subordinate.
E HL03 indicates the context of the series of segments following the current
HL segment up to the next occurrence of an HL segment in the transaction.
For example, HL03 is used to indicate that subsequent segments in the HL
loop form a logical grouping of data referring to shipment, order, or
item-level information.
F HL04 indicates whether or not there are subordinate (or child) HL
segments related to the current HL segment.
75

Notes: The HL segment is used to identify levels of detail information using a


hierarchical structure.

76

HL01 shall contain a unique number for each occurrence of the HL


segment within the transaction set. The value assigned to the first HL
segment will be 1, and is incremented by one for each subsequent HL
segment within the transaction set.

77

HL02 identifies the hierarchical ID of the HL segment to which it is


subordinate (child of). HL02 will be omitted for the first occurrence of the
HL segment in the transaction set, since it has no parent. HL03 identifies
the application content of the series of segments following the current HL
segment up to the next occurrence of an HL segment, or the CTT or SE
segment, e.g., Shipment, Unit Load, Order, Tare, Pack and Item.
Data Element Summary
REF.
DES.

HL01

DATA
ELEMENT

628

NAME

ATTRIBUTES

Hierarchical ID Number

AN

1/12

A unique number assigned by the sender to identify a particular data segment in a


hierarchical structure

HL02

734

Hierarchical Parent ID Number

AN

1/12

Identification number of the next higher hierarchical data segment that the data segment
being described is subordinate to

HL03

735

Hierarchical Level Code

ID

1/2

ID

1/1

Code defining the characteristic of a level in a hierarchical structure

P Pack
HL04

736

Hierarchical Child Code

Code indicating if there are hierarchical child data segments subordinate to the level
being described
NOT USED BY THE RETAIL INDUSTRY

1196

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ITEM IDENTIFICATION
LIN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

LIN Item Identification

Detail - Pack
HL
Optional
1
To specify basic item identification data
1 P0405
If either LIN04 or LIN05 is present, then the other is required.
2 P0607
If either LIN06 or LIN07 is present, then the other is required.
3 P0809
If either LIN08 or LIN09 is present, then the other is required.
4 P1011
If either LIN10 or LIN11 is present, then the other is required.
5 P1213
If either LIN12 or LIN13 is present, then the other is required.
6 P1415
If either LIN14 or LIN15 is present, then the other is required.
7 P1617
If either LIN16 or LIN17 is present, then the other is required.
8 P1819
If either LIN18 or LIN19 is present, then the other is required.
9 P2021
If either LIN20 or LIN21 is present, then the other is required.
10 P2223
If either LIN22 or LIN23 is present, then the other is required.
11 P2425
If either LIN24 or LIN25 is present, then the other is required.
12 P2627
If either LIN26 or LIN27 is present, then the other is required.
13 P2829
If either LIN28 or LIN29 is present, then the other is required.
14 P3031
If either LIN30 or LIN31 is present, then the other is required.
Semantic: 1 LIN01 is the line item identification
Comments: A See the Data Dictionary for a complete list of IDs.
B LIN02 through LIN31 provide for fifteen different product/service IDs for
each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No.,
Model No., or SKU.
2686

Notes: This segment, at the pack level, is used to specify the U.P.C. Case Code
or the U.P.C./EAN Shipping Container Code (SCC-14), and production
information. The SN1 segment that follows is used to specify the number
of cases identified in the LIN segment. The LIN segment, at the item level,
is used to indicate the individual consumer units for the case code.

105

The codes listed for LIN02 apply to every occurrence of Data Element 235
in the LIN segment.
Data Element Summary
REF.
DES.

LIN01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1197

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

LIN02

235

Product/Service ID Qualifier

ID

2/2

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


(234)

LT Lot Number
PJ Product Date Code (A code indicating the period during which a product
was manufactured.)
UA U.P.C./EAN Case Code (2-5-5)
See External Code Source 41 in Section III for reference document.

UK EAN/UCC - 14
See External Code Source 41 in Section III for reference document.

LIN03

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN04

235

Product/Service ID Qualifier

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


(234)

LIN05

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN06

235

Product/Service ID Qualifier

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


(234)

LIN07

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN08

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN09

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN10

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN11

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN12

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN13

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN14

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN15

234

Product/Service ID

AN

1/48

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

1198

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

LIN16

235

Product/Service ID Qualifier

ID

2/2

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN17

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN18

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN19

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN20

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN21

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN22

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN23

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN24

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN25

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN26

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN27

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN28

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

LIN29

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

LIN30

235

Product/Service ID Qualifier

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


(234)
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1199

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

LIN31

234

Product/Service ID

AN

1/48

Identifying number for a product or service


NOT USED BY THE RETAIL INDUSTRY

1200

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ITEM DETAIL (SHIPMENT)
SN1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

SN1 Item Detail (Shipment)

Detail - Pack
HL
Optional
1
To specify line-item detail relative to shipment
1 P0506
If either SN105 or SN106 is present, then the other is required.
Semantic: 1 SN101 is the ship notice line-item identification.
Comments: A SN103 defines the unit of measurement for both SN102 and SN104.
2687

Notes: This segment, at the pack level, is used only to specify the number of
cases identified by the U.P.C./EAN Case Code or the U.P.C./EAN Shipping
Container Code (SCC-14) in the previous LIN segment. The LIN segment
in the item level is used to indicate the individual consumer units for the
case code.
Data Element Summary
REF.
DES.

SN101

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

1/10

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

SN102

382

Number of Units Shipped

Numeric value of units shipped in manufacturers shipping units for a line item or
transaction set

SN103

355

Unit or Basis for Measurement Code

ID

2/2

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

CA Case
SN104

646

Quantity Shipped to Date

1/15

1/15

ID

2/2

Number of units shipped to date


NOT USED BY THE RETAIL INDUSTRY

SN105

330

Quantity Ordered
Quantity ordered
NOT USED BY THE RETAIL INDUSTRY

SN106

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

SN107

728

Returnable Container Load Make-Up Code

ID

1/2

Code identifying the load make-up of the returnable containers in the shipment
NOT USED BY THE RETAIL INDUSTRY

SN108

668

Line Item Status Code

ID

2/2

Code specifying the action taken by the seller on a line item requested by the buyer
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1201

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
SUBLINE ITEM DETAIL
SLN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

SLN Subline Item Detail

Detail - Pack
HL
Optional
1000
To specify product subline detail item data
1 P0405
If either SLN04 or SLN05 is present, then the other is required.
2 C0706
If SLN07 is present, then SLN06 is required.
3 C0806
If SLN08 is present, then SLN06 is required.
4 P0910
If either SLN09 or SLN10 is present, then the other is required.
5 P1112
If either SLN11 or SLN12 is present, then the other is required.
6 P1314
If either SLN13 or SLN14 is present, then the other is required.
7 P1516
If either SLN15 or SLN16 is present, then the other is required.
8 P1718
If either SLN17 or SLN18 is present, then the other is required.
9 P1920
If either SLN19 or SLN20 is present, then the other is required.
10 P2122
If either SLN21 or SLN22 is present, then the other is required.
11 P2324
If either SLN23 or SLN24 is present, then the other is required.
12 P2526
If either SLN25 or SLN26 is present, then the other is required.
13 P2728
If either SLN27 or SLN28 is present, then the other is required.
Semantic: 1 SLN01 is the identifying number for the subline item.
2 SLN02 is the identifying number for the subline level. The subline level is
analogous to the level code used in a bill of materials.
3 SLN03 is the configuration code indicating the relationship of the subline
item to the baseline item.
4 SLN08 is a code indicating the relationship of the price or amount to the
associated segment.
Comments: A See the Data Element Dictionary for a complete list of IDs.
B 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.
C 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.
2302

1202

Notes: This segment, when used in a standard carton pack structure at the pack
level, may only be used to specify an individual component of the item
identified in the LIN segment in the previous item level. The quantity
specified in SN102, at the item level, represents the number of sets, and
SN103 will contain code ST, to identify it as a set. Each subsequent MAN
segment, within this pack level, identifies the carton ID for each
component identified in the SLN segment. Additional pack level SLN
segments and MAN segments are used to represent each different
component of the SKU.
856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
147

The codes listed for SLN09 apply to every occurrence of Data Element
235 in the SLN segment.

296

See Section III for complete U.P.C. and EAN code definitions.
Data Element Summary
REF.
DES.

SLN01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

AN

1/20

ID

1/1

1/15

Alphanumeric characters assigned for differentiation within a transaction set

SLN02

350

Assigned Identification

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

SLN03

662

Relationship Code
Code indicating the relationship between entities

I Included

SLN04

380

Quantity
Numeric value of quantity

SLN05

C001 COMPOSITE UNIT OF MEASURE

COMPOSITE

To identify a composite unit of measure


(See Figures Appendix for examples of use)

- 1

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

- 2

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 3

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 4

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 5

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 6

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 7

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 8

1018 Exponent

1/15

1/10

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 9

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1203

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

- 10

355

Unit or Basis for Measurement Code

ID

2/2

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 11

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 12

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 13

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 14

1018 Exponent

1/15

1/10

1/17

ID

2/2

ID

1/1

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 15

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

SLN06

212

Unit Price
Price per unit of product, service, commodity, etc.
NOT USED BY THE RETAIL INDUSTRY

SLN07

639

Basis of Unit Price Code


Code identifying the type of unit price for an item
NOT USED BY THE RETAIL INDUSTRY

SLN08

662

Relationship Code
Code indicating the relationship between entities
NOT USED BY THE RETAIL INDUSTRY

SLN09

235

Product/Service ID Qualifier

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


(234)

BO Buyers Color
CG Commodity Grouping
203

Coordinates

CM National Retail Federation Color Code


204

This is the three digit NRF code.


See External Code Source 88 in Section III for reference document.

EN EAN/UCC - 13
See External Code Source 41 in Section III for reference document.

IB International Standard Book Number (ISBN)


IN Buyers Item Number
IT Buyers Style Number
IZ Buyers Size Code
SM National Retail Federation Size Code
206

This is the five digit NRF code.


See External Code Source 88 in Section III for reference document.

SZ Vendor Alphanumeric Size Code


32

1204

This is the code assigned by the vendor.

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

UA U.P.C./EAN Case Code (2-5-5)


See External Code Source 41 in Section III for reference document.

UB U.P.C./EAN Multipack Code


See External Code Source 41 in Section III for reference document.

UC U.P.C. Suffix (Defines Packing Variations)


See External Code Source 41 in Section III for reference document.

UE U.P.C./EAN Module Code (2-5-5)


See External Code Source 41 in Section III for reference document.

UG Drug U.P.C. Consumer Package Code (1-4-6-1)


See External Code Source 136 in Section III for reference document.

UH Drug U.P.C. Shipping Container Code (1-2-4-6-1)


See External Code Source 137 in Section III for reference document.

UI U.P.C. Consumer Package Code (1-5-5)


See External Code Source 41 in Section III for reference document.

UK EAN/UCC - 14
See External Code Source 41 in Section III for reference document.

UN U.P.C. Case Code Number (1-1-5-5)


See External Code Source 41 in Section III for reference document.

UP UCC - 12
See External Code Source 41 in Section III for reference document.

VA Vendors Style Number


VE Vendor Color
VN Vendors (Sellers) Item Number
SLN10

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN11

235

Product/Service ID Qualifier

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


(234)

SLN12

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN13

235

Product/Service ID Qualifier

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


(234)

SLN14

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN15

235

Product/Service ID Qualifier

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


(234)

SLN16

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN17

235

Product/Service ID Qualifier

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


(234)

SLN18

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN19

235

Product/Service ID Qualifier

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


(234)

SLN20

234

Product/Service ID

AN

1/48

Identifying number for a product or service

MAY 2000

856.004030

1205

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

SLN21

235

Product/Service ID Qualifier

ID

2/2

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


(234)

SLN22

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN23

235

Product/Service ID Qualifier

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


(234)

SLN24

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN25

235

Product/Service ID Qualifier

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


(234)

SLN26

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN27

235

Product/Service ID Qualifier

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


(234)

SLN28

234

Product/Service ID

AN

1/48

Identifying number for a product or service

1206

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ITEM PHYSICAL DETAILS
PO4

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

PO4 Item Physical Details

Detail - Pack
HL
Optional
1
To specify the physical qualities, packaging, weights, and dimensions relating
to the item
Syntax: 1 P0203
If either PO402 or PO403 is present, then the other is required.
2 C0506
If PO405 is present, then PO406 is required.
3 P0607
If either PO406 or PO407 is present, then the other is required.
4 P0809
If either PO408 or PO409 is present, then the other is required.
5 C1013
If PO410 is present, then PO413 is required.
6 C1113
If PO411 is present, then PO413 is required.
7 C1213
If PO412 is present, then PO413 is required.
8 L13101112
If PO413 is present, then at least one of PO410, PO411 or PO412 is
required.
9 C1716
If PO417 is present, then PO416 is required.
10 C1804
If PO418 is present, then PO404 is required.
Semantic: 1 PO415 is used to indicate the relative layer of this package or range of
packages within the layers of packaging. Relative Position 1 (value R1) is
the innermost package.
2 PO416 is the package identifier or the beginning package identifier in a
range of identifiers.
3 PO417 is the ending package identifier in a range of identifiers.
4 PO418 is the number of packages in this layer.
Comments: A PO403 - The Unit or Basis for Measure Code in this segment position is
for purposes of defining the unit of measure of the Size identified in the
PO402. For example: If the carton contains 24 12-Ounce packages, it
would be described as follows: Data element 356 = 24"; Data element 357
= 12"; Data element 355 = OZ.
B PO413 defines the unit of measure for PO410, PO411, and PO412.
285

MAY 2000

Notes: In a pick and pack structure, this segment, at the pack level, is used only
to specify the carton weight and/or physical dimensions.

856.004030

1207

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
2303

This segment may be used to describe a master pack of an item or a


master pack of a component of an item in a standard carton pack
structure.
A master pack of an item is where multiple units of an item, identified in
the LIN segment at the item level, are physically packed within a shipping
container, such as four crockpots to a shipping container. The item and
total quantity are identified in the LIN segment at the item level. The PO4
segment, at the pack level, is used to identify the master pack makeup.
PO401 (Pack) is the number of containers packed within the container
identified at the pack level, the master pack. PO414 (Inner Pack) is the
number of items packed within each container indicated in PO401. For
example, if the manufacturer is shipping eight crockpots in one master
pack, with each master pack containing four boxes, each box containing
two crockpots, the item level would indicate the U.P.C. for the crockpots,
with a quantity of eight each. The pack level would contain a PO4
segment with PO401 equal to 4 and PO414 equal to 2.
A master pack of a component of an item is similar to the master pack of
an item with the exception that the component is identified in the SLN
segment at the pack level and the item is identified at the item level. The
SLN segment is used to identify how many of this component are in the
item. The PO4 segment specifies how many of these components are in
the shipping container identified at the pack level. For example, 8 lamps
are being shipped. Each lamp has two components, the lamp base and
lamp shade, and each lamp base is shipped one to a container and
shades are shipped four to a container. The LIN segment at the item level
would contain the U.P.C. for the lamp, with a quantity of 8 and a unit of
measure of ST for set. There would be one pack level for each component.
For the shade component, the SLN segment would identify the shade and
a quantity of 1, and PO401 would equal 4. PO414 is not needed since
inner packs are not present. There would be two MAN segments to
identify each of the two cartons which contain four lamp shades each.
For the base component, the SLN segment would identify the base and a
quantity of 1. The PO4 segment is not used. There would be eight MAN
segments to identify each carton containing one lamp base.
Data Element Summary
REF.
DES.

PO401

DATA
ELEMENT

356

NAME

ATTRIBUTES

Pack

N0

1/6

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

PO402

357

Size

1/8

ID

2/2

Size of supplier units in pack


NOT USED BY THE RETAIL INDUSTRY

PO403

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

PO404

103

Packaging Code

AN

3/5

Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging
Material; if the Data Element is used, then Part 1 is always required
NOT USED BY THE RETAIL INDUSTRY

1208

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PO405

187

Weight Qualifier

ID

1/2

1/9

ID

2/2

Code defining the type of weight


NOT USED BY THE RETAIL INDUSTRY

PO406

384

Gross Weight per Pack


Numeric value of gross weight per pack

PO407

355

Unit or Basis for Measurement Code

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

See Section III for code list.

PO408

385

Gross Volume per Pack

1/9

ID

2/2

Numeric value of gross volume per pack


NOT USED BY THE RETAIL INDUSTRY

PO409

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

PO410

82

Length

1/8

Largest horizontal dimension of an object measured when the object is in the upright
position

PO411

189

Width

1/8

Shorter measurement of the two horizontal dimensions measured with the object in the
upright position

PO412

65

Height

1/8

Vertical dimension of an object measured when the object is in the upright position

PO413

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

PO414

810

Inner Pack

N0

1/6

ID

2/2

AN

1/20

AN

1/20

N0

1/9

The number of eaches per inner container

PO415

752

Surface/Layer/Position Code

Code indicating the product surface, layer or position that is being described
NOT USED BY THE RETAIL INDUSTRY

PO416

350

Assigned Identification

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

PO417

350

Assigned Identification

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

PO418

1470 Number

A generic number
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1209

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MARKING,, PACKAGING,, LOADING
PKG

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

PKG Marking, Packaging, Loading

Detail - Pack
HL
Optional
25
To describe marking, packaging, loading, and unloading requirements
1 R040506
At least one of PKG04, PKG05 or PKG06 is required.
2 C0403
If PKG04 is present, then PKG03 is required.
3 C0501
If PKG05 is present, then PKG01 is required.
Semantic: 1 PKG04 should be used for industry-specific packaging description codes.
Comments: A Use the MEA (Measurements) Segment to define dimensions, tolerances,
weights, counts, physical restrictions, etc.
B 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.
C Use PKG03 to indicate the organization that publishes the code list being
referred to.
D Special marking or tagging data can be given in PKG05 (description).
527

Notes: The codes in PKG04 are maintained by the VICS EDI SMC and are only
printed in this guideline.
Data Element Summary

REF.
DES.

DATA
ELEMENT

PKG01

349

NAME

ATTRIBUTES

Item Description Type

ID

1/1

ID

1/5

Code indicating the format of a description

S Structured (From Industry Code List)


2999

The description will be found in PKG04.

PKG02

753

Packaging Characteristic Code

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

36 Package Specifications

PKG03

559

Agency Qualifier Code

ID

2/2

Code identifying the agency assigning the code values

VI Voluntary Inter-Industry Commerce Standard (VICS) EDI


See External Code Source 70 in Section III for reference document.

PKG04

754

Packaging Description Code

AN

1/7

A code from an industry code list which provides specific data about the marking,
packaging or loading and unloading of a product
513

Part 1: Container Type


(Position 1)
L Logical Container
P Physical Container
Part 2: Container Configuration
(Positions 2-3)
01 Carton
02 Carton, Hanging Garments
03 Carton, With Hangers (not hanging)
04 Carton, With identifiable inner packs
05 Carton, With unidentifiable inner packs
06 Rack, Hanging Garments (GOH)

1210

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PKG05

352

Description

AN

1/80

ID

2/2

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

PKG06

400

Unit Load Option Code

Code identifying loading or unloading a shipment


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1211

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRAILER SHIPMENT DETAILS
TSD

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Semantic:
2878

TSD Trailer Shipment Details


Detail - Pack
HL
Optional
1
To specify details of shipments on a trailer
1 TSD01 indicates the loading sequence and relative shipment position on
the trailer.

Notes: This segment is used to indicate the location of the carton within the
trailer/container.
Data Element Summary
REF.
DES.

TSD01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

AN

1/3

Alphanumeric characters assigned for differentiation within a transaction set


2876

Indicates the loading sequence

TSD02

219

Position

Relative position of shipment in car, trailer, or container (mutually defined)


2877

1212

1
2
3
4

First quarter of the trailer/container


Second quarter of the trailer/container
Third quarter of the trailer/container
Fourth quarter of the trailer/container

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MARKS AND NUMBERS
MAN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

MAN Marks and Numbers

Detail - Pack
HL
Optional
>1
To indicate identifying marks and numbers for shipping containers
1 P0405
If either MAN04 or MAN05 is present, then the other is required.
2 C0605
If MAN06 is present, then MAN05 is required.
Semantic: 1 MAN01/MAN02 and MAN04/MAN05 may be used to identify two different
marks and numbers assigned to the same physical container.
2 When both MAN02 and MAN03 are used, MAN02 is the starting number of
a sequential range and MAN03 is the ending number of that range.
3 When both MAN05 and MAN06 are used, MAN05 is the starting number of
a sequential range, and MAN06 is the ending number of that range.
Comments: A When MAN01 contains code UC (U.P.C. Shipping Container Code) and
MAN05/MAN06 contain a range of ID numbers, MAN03 is not used. The
reason for this is that the U.P.C. Shipping Container code is the same on
every carton that is represented in the range in MAN05/MAN06.
B MAN03 and/or MAN06 are only used when sending a range(s) of ID
numbers.
C When both MAN02/MAN03 and MAN05/MAN06 are used to send ranges
of ID numbers, the integrity of the two ID numbers must be maintained.
2792

Notes: When the shipping container is the same as the consumer unit, the U.P.C.
may be the only UCC identification code on the container. In many
applications, it is necessary to positively identify what identification code
is to be scanned and matched at point of receipt. Since the U.P.C. is not a
unique serial shipping container code, only one pack level for each item
is required when using the pick and pack structure. The total number of
shipping units for this item is the same as the quantity for the item in the
SN1 segment at the item level.
Data Element Summary

REF.
DES.

DATA
ELEMENT

MAN01

88

NAME

ATTRIBUTES

Marks and Numbers Qualifier

ID

1/2

Code specifying the application or source of Marks and Numbers (87)

AA SSCC-18
2915

This is an eighteen-character UCC/EAN-128 Serial Shipping Container


Code (SSCC-18) that does not include the two digit application identifier,
the symbology code, or the modulo 103 check character.
See External Code Source 664 in Section III for reference document.

CP Carrier-Assigned Package ID Number


GM SSCC-18 and Application Identifier
87

This is a twenty-character UCC/EAN-128 Serial Shipping Container Code


(SSCC-18) that includes the two digit application identifier. The symbology
code and the modulo 103 check digit are not included.
See External Code Source 98 in Section III for reference document.

SM Shipper Assigned
UC U.P.C. Shipping Container Code
514

MAY 2000

This is the fourteen-digit U.P.C. Shipping Container Code.


See External Code Source 71 in Section III for reference document.

856.004030

1213

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

UP U.P.C. Consumer Package Code (1-5-5-1)


See External Code Source 41 in Section III for reference document.

MAN02

87

Marks and Numbers

AN

1/48

AN

1/48

ID

1/2

Marks and numbers used to identify a shipment or parts of a shipment

MAN03

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment

MAN04

88

Marks and Numbers Qualifier


Code specifying the application or source of Marks and Numbers (87)

AA SSCC-18
2915

This is an eighteen-character UCC/EAN-128 Serial Shipping Container


Code (SSCC-18) that does not include the two digit application identifier,
the symbology code, or the modulo 103 check character.
See External Code Source 664 in Section III for reference document.

CP Carrier-Assigned Package ID Number


GM SSCC-18 and Application Identifier
87

This is a twenty-character UCC/EAN-128 Serial Shipping Container Code


(SSCC-18) that includes the two digit application identifier. The symbology
code and the modulo 103 check digit are not included.
See External Code Source 98 in Section III for reference document.

SM Shipper Assigned
UC U.P.C. Shipping Container Code
514

This is the fourteen-digit U.P.C. Shipping Container Code.


See External Code Source 71 in Section III for reference document.

MAN05

87

Marks and Numbers

AN

1/48

AN

1/48

Marks and numbers used to identify a shipment or parts of a shipment

MAN06

87

Marks and Numbers


Marks and numbers used to identify a shipment or parts of a shipment

1214

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
DATE/TIME REFERENCE
DTM

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

2796

DTM Date/Time Reference


Detail - Pack
HL
Optional
10
To specify pertinent dates and times
1 R020305
At least one of DTM02, DTM03 or DTM05 is required.
2 C0403
If DTM04 is present, then DTM03 is required.
3 P0506
If either DTM05 or DTM06 is present, then the other is required.

Notes: This segment, at the pack level, is used to communicate production and
expiration information.
Data Element Summary

REF.
DES.

DATA
ELEMENT

DTM01

374

NAME

ATTRIBUTES

Date/Time Qualifier

ID

3/3

DT

8/8

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

036 Expiration
2797

Date product is no longer consumable or usable

405 Production
511 Shelf Life Expiration
2798

Date product is no longer available for sale

DTM02

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year

DTM03

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

DTM04

623

Time Code

ID

2/2

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
NOT USED BY THE RETAIL INDUSTRY

DTM05

1250 Date Time Period Format Qualifier

ID

2/3

AN

1/35

Code indicating the date format, time format, or date and time format
NOT USED BY THE RETAIL INDUSTRY

DTM06

1251 Date Time Period

Expression of a date, a time, or range of dates, times or dates and times


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1215

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
HIERARCHICAL LEVEL
HL

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

HL Hierarchical Level

Detail - Item
HL
Usage: Mandatory
Max Use: 200000
Mandatory
1
To identify dependencies among and the content of hierarchically related
groups of data segments
Comments: A The HL segment is used to identify levels of detail information using a
hierarchical structure, such as relating line-item data to shipment data, and
packaging data to line-item data.
B The HL segment defines a top-down/left-right ordered structure.
C HL01 shall contain a unique alphanumeric number for each occurrence of
the HL segment in the transaction set. For example, HL01 could be used to
indicate the number of occurrences of the HL segment, in which case the
value of HL01 would be 1" for the initial HL segment and would be
incremented by one in each subsequent HL segment within the transaction.
D HL02 identifies the hierarchical ID number of the HL segment to which the
current HL segment is subordinate.
E HL03 indicates the context of the series of segments following the current
HL segment up to the next occurrence of an HL segment in the transaction.
For example, HL03 is used to indicate that subsequent segments in the HL
loop form a logical grouping of data referring to shipment, order, or
item-level information.
F HL04 indicates whether or not there are subordinate (or child) HL
segments related to the current HL segment.
75

Notes: The HL segment is used to identify levels of detail information using a


hierarchical structure.

76

HL01 shall contain a unique number for each occurrence of the HL


segment within the transaction set. The value assigned to the first HL
segment will be 1, and is incremented by one for each subsequent HL
segment within the transaction set.

77

HL02 identifies the hierarchical ID of the HL segment to which it is


subordinate (child of). HL02 will be omitted for the first occurrence of the
HL segment in the transaction set, since it has no parent. HL03 identifies
the application content of the series of segments following the current HL
segment up to the next occurrence of an HL segment, or the CTT or SE
segment, e.g., Shipment, Unit Load, Order, Tare, Pack and Item.
Data Element Summary
REF.
DES.

HL01

DATA
ELEMENT

628

NAME

ATTRIBUTES

Hierarchical ID Number

AN

1/12

A unique number assigned by the sender to identify a particular data segment in a


hierarchical structure

HL02

734

Hierarchical Parent ID Number

AN

1/12

Identification number of the next higher hierarchical data segment that the data segment
being described is subordinate to

HL03

735

Hierarchical Level Code

ID

1/2

ID

1/1

Code defining the characteristic of a level in a hierarchical structure

I Item
HL04

736

Hierarchical Child Code

Code indicating if there are hierarchical child data segments subordinate to the level
being described
NOT USED BY THE RETAIL INDUSTRY

1216

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ITEM IDENTIFICATION
LIN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

LIN Item Identification

Detail - Item
HL
Optional
1
To specify basic item identification data
1 P0405
If either LIN04 or LIN05 is present, then the other is required.
2 P0607
If either LIN06 or LIN07 is present, then the other is required.
3 P0809
If either LIN08 or LIN09 is present, then the other is required.
4 P1011
If either LIN10 or LIN11 is present, then the other is required.
5 P1213
If either LIN12 or LIN13 is present, then the other is required.
6 P1415
If either LIN14 or LIN15 is present, then the other is required.
7 P1617
If either LIN16 or LIN17 is present, then the other is required.
8 P1819
If either LIN18 or LIN19 is present, then the other is required.
9 P2021
If either LIN20 or LIN21 is present, then the other is required.
10 P2223
If either LIN22 or LIN23 is present, then the other is required.
11 P2425
If either LIN24 or LIN25 is present, then the other is required.
12 P2627
If either LIN26 or LIN27 is present, then the other is required.
13 P2829
If either LIN28 or LIN29 is present, then the other is required.
14 P3031
If either LIN30 or LIN31 is present, then the other is required.
Semantic: 1 LIN01 is the line item identification
Comments: A See the Data Dictionary for a complete list of IDs.
B LIN02 through LIN31 provide for fifteen different product/service IDs for
each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No.,
Model No., or SKU.
105

Notes: The codes listed for LIN02 apply to every occurrence of Data Element 235
in the LIN segment.

296

See Section III for complete U.P.C. and EAN code definitions.
Data Element Summary
REF.
DES.

LIN01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

ID

2/2

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

LIN02

235

Product/Service ID Qualifier

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


(234)

BO Buyers Color

MAY 2000

856.004030

1217

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

CG Commodity Grouping
203

Coordinates

CH Country of Origin Code


See External Code Source 5 in Section III for reference document.

CM National Retail Federation Color Code


204

This is the three digit NRF code.


See External Code Source 88 in Section III for reference document.

EN EAN/UCC - 13
See External Code Source 41 in Section III for reference document.

IB International Standard Book Number (ISBN)


IN Buyers Item Number
IT Buyers Style Number
IZ Buyers Size Code
LT Lot Number
SM National Retail Federation Size Code
206

This is the five digit NRF code.


See External Code Source 88 in Section III for reference document.

SZ Vendor Alphanumeric Size Code


32

This is the code assigned by the vendor.

UA U.P.C./EAN Case Code (2-5-5)


See External Code Source 41 in Section III for reference document.

UB U.P.C./EAN Multipack Code


See External Code Source 41 in Section III for reference document.

UC U.P.C. Suffix (Defines Packing Variations)


See External Code Source 41 in Section III for reference document.

UE U.P.C./EAN Module Code (2-5-5)


See External Code Source 41 in Section III for reference document.

UG Drug U.P.C. Consumer Package Code (1-4-6-1)


See External Code Source 136 in Section III for reference document.

UH Drug U.P.C. Shipping Container Code (1-2-4-6-1)


See External Code Source 137 in Section III for reference document.

UI U.P.C. Consumer Package Code (1-5-5)


See External Code Source 41 in Section III for reference document.

UK EAN/UCC - 14
See External Code Source 41 in Section III for reference document.

UN U.P.C. Case Code Number (1-1-5-5)


See External Code Source 41 in Section III for reference document.

UP UCC - 12
See External Code Source 41 in Section III for reference document.

VA Vendors Style Number


VE Vendor Color
VN Vendors (Sellers) Item Number

LIN03

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN04

235

Product/Service ID Qualifier

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


(234)

1218

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

LIN05

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN06

235

Product/Service ID Qualifier

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


(234)

LIN07

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN08

235

Product/Service ID Qualifier

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


(234)

LIN09

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN10

235

Product/Service ID Qualifier

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


(234)

LIN11

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN12

235

Product/Service ID Qualifier

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


(234)

LIN13

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN14

235

Product/Service ID Qualifier

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


(234)

LIN15

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN16

235

Product/Service ID Qualifier

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


(234)

LIN17

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN18

235

Product/Service ID Qualifier

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


(234)

LIN19

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN20

235

Product/Service ID Qualifier

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


(234)

LIN21

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN22

235

Product/Service ID Qualifier

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


(234)

LIN23

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN24

235

Product/Service ID Qualifier

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


(234)

LIN25

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN26

235

Product/Service ID Qualifier

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


(234)

MAY 2000

856.004030

1219

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

LIN27

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN28

235

Product/Service ID Qualifier

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


(234)

LIN29

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

LIN30

235

Product/Service ID Qualifier

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


(234)

LIN31

234

Product/Service ID

AN

1/48

Identifying number for a product or service

1220

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ITEM DETAIL (SHIPMENT)
SN1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

SN1 Item Detail (Shipment)

Detail - Item
HL
Optional
1
To specify line-item detail relative to shipment
1 P0506
If either SN105 or SN106 is present, then the other is required.
Semantic: 1 SN101 is the ship notice line-item identification.
Comments: A SN103 defines the unit of measurement for both SN102 and SN104.
92

Notes: This segment is used to specify the quantities associated with the item
identified in the LIN at the item level.

2307

When specifying an item, which is comprised of two or more components


that are in unique shipping containers, SN103 will contain code ST for set
and the quantity specified in SN102 is the number of sets as identified in
the LIN segment. Each different component is identified in one pack level.
See the VICS Note, on the SLN segment, at the pack level.
Data Element Summary
REF.
DES.

SN101

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

1/10

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

SN102

382

Number of Units Shipped

Numeric value of units shipped in manufacturers shipping units for a line item or
transaction set

SN103

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

SN104

646

Quantity Shipped to Date

1/15

1/15

ID

2/2

Number of units shipped to date

SN105

330

Quantity Ordered
Quantity ordered

SN106

355

Unit or Basis for Measurement Code

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

See Section III for code list.

SN107

728

Returnable Container Load Make-Up Code

ID

1/2

Code identifying the load make-up of the returnable containers in the shipment
NOT USED BY THE RETAIL INDUSTRY

SN108

668

Line Item Status Code

ID

2/2

Code specifying the action taken by the seller on a line item requested by the buyer
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1221

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
SUBLINE ITEM DETAIL
SLN

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

SLN Subline Item Detail

Detail - Item
HL
Optional
1000
To specify product subline detail item data
1 P0405
If either SLN04 or SLN05 is present, then the other is required.
2 C0706
If SLN07 is present, then SLN06 is required.
3 C0806
If SLN08 is present, then SLN06 is required.
4 P0910
If either SLN09 or SLN10 is present, then the other is required.
5 P1112
If either SLN11 or SLN12 is present, then the other is required.
6 P1314
If either SLN13 or SLN14 is present, then the other is required.
7 P1516
If either SLN15 or SLN16 is present, then the other is required.
8 P1718
If either SLN17 or SLN18 is present, then the other is required.
9 P1920
If either SLN19 or SLN20 is present, then the other is required.
10 P2122
If either SLN21 or SLN22 is present, then the other is required.
11 P2324
If either SLN23 or SLN24 is present, then the other is required.
12 P2526
If either SLN25 or SLN26 is present, then the other is required.
13 P2728
If either SLN27 or SLN28 is present, then the other is required.
Semantic: 1 SLN01 is the identifying number for the subline item.
2 SLN02 is the identifying number for the subline level. The subline level is
analogous to the level code used in a bill of materials.
3 SLN03 is the configuration code indicating the relationship of the subline
item to the baseline item.
4 SLN08 is a code indicating the relationship of the price or amount to the
associated segment.
Comments: A See the Data Element Dictionary for a complete list of IDs.
B 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.
C 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.
2612

1222

Notes: This segment can be used to specify the originally ordered SKU for
substituted SKUs. This segment can also be used to specify SKU
contents of an assortment. The assortment can be defined by the retailer
or the vendor. The assortment identification is in the line item detail
segment for the transaction. This segment may be used to specify partial
deletions of SKUs ordered but not invoiced and/or shipped. This segment
may also be used to specify export item detail, such as price information,
when shipments are made across the border.

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
93

At this time, the ASC X12 Ship Notice/Manifest does not have the same
capability as the Purchase Order and Invoice for specification of the price
placed on pre-ticketed items. For many retailers, this information is
necessary to determine if the cartons need to be routed to areas for
re-ticketing for promotional pricing. The SLN can function, in a limited
way, to satisfy this need. SLN03 will contain code I, SLN04 will contain the
same code value as SN102, SLN05 will be the same as SN103, SLN06 will
be the price on the ticket and SLN07 will contain code RE.

2859

If SLN03 contains code D or code I, then SLN04 and SLN05 are required.

147

The codes listed for SLN09 apply to every occurrence of Data Element
235 in the SLN segment.

296

See Section III for complete U.P.C. and EAN code definitions.
Data Element Summary
REF.
DES.

SLN01

DATA
ELEMENT

350

NAME

ATTRIBUTES

Assigned Identification

AN

1/20

AN

1/20

ID

1/1

1/15

Alphanumeric characters assigned for differentiation within a transaction set

SLN02

350

Assigned Identification

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

SLN03

662

Relationship Code
Code indicating the relationship between entities

D Delete
I Included
S Substituted
SLN04

380

Quantity
Numeric value of quantity

SLN05

C001 COMPOSITE UNIT OF MEASURE

COMPOSITE

To identify a composite unit of measure


(See Figures Appendix for examples of use)

- 1

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

- 2

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 3

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 4

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 5

1018 Exponent

1/15

1/10

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 6

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1223

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

- 7

355

Unit or Basis for Measurement Code

ID

2/2

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 8

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 9

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 10

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 11

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 12

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 13

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 14

1018 Exponent

1/15

1/10

1/17

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 15

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

SLN06

212

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

58

The price is sent with a decimal point only when needed, e.g., $15.95 would be sent
as 15.95, and $29.00 would be sent as 29.

3087

To indicate a no charge item or free goods, SLN06 will contain a single zero (0) and
SLN07 will contain code NC.

SLN07

639

Basis of Unit Price Code

ID

2/2

Code identifying the type of unit price for an item


2688

This data element is used to clarify or alter the basis of unit price. The unit price
expressed in SLN06 is always in the same terms as the unit of measure in SLN05,
unless otherwise specified in SLN07.

LD
LE
NC
PO
PP
PR
QT
RD
RE
TD
TE
WD
1224

Catalog Price per Dozen


Catalog Price per Each
No Charge
Price per Ounce
Price per Pound
Promotion
Quoted
Retail Price per Dozen
Retail Price per Each
Contract Price per Dozen
Contract Price per Each
Wholesale Price per Dozen
856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

WE Wholesale Price per Each


SLN08

662

Relationship Code

ID

1/1

ID

2/2

Code indicating the relationship between entities


NOT USED BY THE RETAIL INDUSTRY

SLN09

235

Product/Service ID Qualifier

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


(234)

BO Buyers Color
CG Commodity Grouping
203

Coordinates

CM National Retail Federation Color Code


258

This is the three digit NRF code.


See External Code Source 88 in Section III for reference document.

EN EAN/UCC - 13
See External Code Source 41 in Section III for reference document.

IB International Standard Book Number (ISBN)


IN Buyers Item Number
IT Buyers Style Number
IZ Buyers Size Code
SM National Retail Federation Size Code
260

This is the five digit NRF code.


See External Code Source 88 in Section III for reference document.

SZ Vendor Alphanumeric Size Code


32

This is the code assigned by the vendor.

UA U.P.C./EAN Case Code (2-5-5)


See External Code Source 41 in Section III for reference document.

UB U.P.C./EAN Multipack Code


See External Code Source 41 in Section III for reference document.

UC U.P.C. Suffix (Defines Packing Variations)


See External Code Source 41 in Section III for reference document.

UE U.P.C./EAN Module Code (2-5-5)


See External Code Source 41 in Section III for reference document.

UG Drug U.P.C. Consumer Package Code (1-4-6-1)


See External Code Source 136 in Section III for reference document.

UH Drug U.P.C. Shipping Container Code (1-2-4-6-1)


See External Code Source 137 in Section III for reference document.

UI U.P.C. Consumer Package Code (1-5-5)


See External Code Source 41 in Section III for reference document.

UK EAN/UCC - 14
See External Code Source 41 in Section III for reference document.

UN U.P.C. Case Code Number (1-1-5-5)


See External Code Source 41 in Section III for reference document.

UP UCC - 12
See External Code Source 41 in Section III for reference document.

VA Vendors Style Number


VE Vendor Color
VN Vendors (Sellers) Item Number

MAY 2000

856.004030

1225

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

SLN10

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN11

235

Product/Service ID Qualifier

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


(234)

SLN12

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN13

235

Product/Service ID Qualifier

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


(234)

SLN14

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN15

235

Product/Service ID Qualifier

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


(234)

SLN16

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN17

235

Product/Service ID Qualifier

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


(234)

SLN18

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN19

235

Product/Service ID Qualifier

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


(234)

SLN20

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN21

235

Product/Service ID Qualifier

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


(234)

SLN22

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN23

235

Product/Service ID Qualifier

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


(234)

SLN24

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN25

235

Product/Service ID Qualifier

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


(234)

SLN26

234

Product/Service ID

AN

1/48

ID

2/2

Identifying number for a product or service

SLN27

235

Product/Service ID Qualifier

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


(234)

SLN28

234

Product/Service ID

AN

1/48

Identifying number for a product or service

1226

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
PURCHASE ORDER REFERENCE
PRF

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Semantic:

PRF Purchase Order Reference


Detail - Item
HL
Optional
1
To provide reference to a specific purchase order
1 PRF04 is the date assigned by the purchaser to purchase order.
Data Element Summary

REF.
DES.

PRF01

DATA
ELEMENT

324

NAME

ATTRIBUTES

Purchase Order Number

AN

1/22

AN

1/30

Identifying number for Purchase Order assigned by the orderer/purchaser


269

Retailers original purchase order number

PRF02

328

Release Number

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

Retailers release against the purchase order, if used

PRF03

327

Change Order Sequence Number

AN

1/8

Number assigned by the orderer identifying a specific change or revision to a previously


transmitted transaction set
NOT USED BY THE RETAIL INDUSTRY

PRF04

373

Date

DT

8/8

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year
271

Retailers original purchase order date

PRF05

350

Assigned Identification

AN

1/20

AN

1/30

ID

2/2

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

PRF06

367

Contract Number
Contract number

PRF07

92

Purchase Order Type Code


Code specifying the type of Purchase Order
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1227

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
ITEM PHYSICAL DETAILS
PO4

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

PO4 Item Physical Details

Detail - Item
HL
Optional
1
To specify the physical qualities, packaging, weights, and dimensions relating
to the item
Syntax: 1 P0203
If either PO402 or PO403 is present, then the other is required.
2 C0506
If PO405 is present, then PO406 is required.
3 P0607
If either PO406 or PO407 is present, then the other is required.
4 P0809
If either PO408 or PO409 is present, then the other is required.
5 C1013
If PO410 is present, then PO413 is required.
6 C1113
If PO411 is present, then PO413 is required.
7 C1213
If PO412 is present, then PO413 is required.
8 L13101112
If PO413 is present, then at least one of PO410, PO411 or PO412 is
required.
9 C1716
If PO417 is present, then PO416 is required.
10 C1804
If PO418 is present, then PO404 is required.
Semantic: 1 PO415 is used to indicate the relative layer of this package or range of
packages within the layers of packaging. Relative Position 1 (value R1) is
the innermost package.
2 PO416 is the package identifier or the beginning package identifier in a
range of identifiers.
3 PO417 is the ending package identifier in a range of identifiers.
4 PO418 is the number of packages in this layer.
Comments: A PO403 - The Unit or Basis for Measure Code in this segment position is
for purposes of defining the unit of measure of the Size identified in the
PO402. For example: If the carton contains 24 12-Ounce packages, it
would be described as follows: Data element 356 = 24"; Data element 357
= 12"; Data element 355 = OZ.
B PO413 defines the unit of measure for PO410, PO411, and PO412.
38

3169

1228

Notes: This segment is used to specify the packaging of the item in the case or
carton. There may be two levels of packaging specified. The first level is
always specified by using PO401 (Pack). The first level may be actual
items, e.g., consumer units, or it may be the number of smaller containers
within the case. The second level, specified using PO414 (Inner Pack), is
the number of eaches in each inner container when PO401 is the number
of smaller containers within the case. See Section V (Pack/Inner Pack
Usage) for usage examples.
This segment can be used to specify the weight for the item by using
PO406 and PO407, and to specify the volume (cube) by using PO408 and
PO409.

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

Data Element Summary


REF.
DES.

PO401

DATA
ELEMENT

356

NAME

ATTRIBUTES

Pack

N0

1/6

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

PO402

357

Size

1/8

ID

2/2

Size of supplier units in pack


NOT USED BY THE RETAIL INDUSTRY

PO403

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

PO404

103

Packaging Code

AN

3/5

Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging
Material; if the Data Element is used, then Part 1 is always required
NOT USED BY THE RETAIL INDUSTRY

PO405

187

Weight Qualifier

ID

1/2

1/9

ID

2/2

Code defining the type of weight


NOT USED BY THE RETAIL INDUSTRY

PO406

384

Gross Weight per Pack


Numeric value of gross weight per pack

PO407

355

Unit or Basis for Measurement Code

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

See Section III for code list.

PO408

385

Gross Volume per Pack

1/9

ID

2/2

Numeric value of gross volume per pack

PO409

355

Unit or Basis for Measurement Code

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

See Section III for code list.

PO410

82

Length

1/8

Largest horizontal dimension of an object measured when the object is in the upright
position
NOT USED BY THE RETAIL INDUSTRY

PO411

189

Width

1/8

Shorter measurement of the two horizontal dimensions measured with the object in the
upright position
NOT USED BY THE RETAIL INDUSTRY

PO412

65

Height

1/8

Vertical dimension of an object measured when the object is in the upright position
NOT USED BY THE RETAIL INDUSTRY

PO413

355

Unit or Basis for Measurement Code

ID

2/2

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

PO414

810

Inner Pack

N0

1/6

ID

2/2

The number of eaches per inner container

PO415

752

Surface/Layer/Position Code

Code indicating the product surface, layer or position that is being described
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1229

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PO416

350

Assigned Identification

AN

1/20

AN

1/20

N0

1/9

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

PO417

350

Assigned Identification

Alphanumeric characters assigned for differentiation within a transaction set


NOT USED BY THE RETAIL INDUSTRY

PO418

1470 Number

A generic number
NOT USED BY THE RETAIL INDUSTRY

1230

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
PRODUCT/ITEM DESCRIPTION
PID

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

PID Product/Item Description

Detail - Item
HL
Optional
200
To describe a product or process in coded or free-form format
1 C0403
If PID04 is present, then PID03 is required.
2 R0405
At least one of PID04 or PID05 is required.
3 C0703
If PID07 is present, then PID03 is required.
4 C0804
If PID08 is present, then PID04 is required.
5 C0905
If PID09 is present, then PID05 is required.
Semantic: 1 Use PID03 to indicate the organization that publishes the code list being
referred to.
2 PID04 should be used for industry-specific product description codes.
3 PID08 describes the physical characteristics of the product identified in
PID04. A Y indicates that the specified attribute applies to this item; an
N indicates it does not apply. Any other value is indeterminate.
4 PID09 is used to identify the language being used in PID05.
Comments: A 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.
B Use PID06 when necessary to refer to the product surface or layer being
described in the segment.
C PID07 specifies the individual code list of the agency specified in PID03.
34

Notes: The PID segment is used to provide product/item descriptions in text and
or coded formats. The codes in PID04 are maintained by the VICS EDI
SMC and are only printed in this guideline.
Data Element Summary
REF.
DES.

PID01

DATA
ELEMENT

349

NAME

ATTRIBUTES

Item Description Type

ID

1/1

ID

2/3

ID

2/2

Code indicating the format of a description

F Free-form
35

The description will be found in PID05.

S Structured (From Industry Code List)


36

The description will be found in PID04.

X Semi-structured (Code and Text)


37

The description will be found in PID04 and PID05.

PID02

750

Product/Process Characteristic Code

Code identifying the general class of a product or process characteristic

08 Product
73 Vendor color description
74 Vendor size description
PID03

559

Agency Qualifier Code

Code identifying the agency assigning the code values

VI Voluntary Inter-Industry Commerce Standard (VICS) EDI


See External Code Source 70 in Section III for reference document.

MAY 2000

856.004030

1231

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PID04

751

Product Description Code

AN

1/12

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

CL
GW
OS
PP
PW
RN
RY

PID05

352

Collateral
Gift with purchase
Size not within normal size range (odd size)
Product sold only as part of a prepack (assortment)
Purchase with pPurchase
Product cannot be reordered
Product can be reordered

Description

AN

1/80

ID

2/2

AN

1/15

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

PID06

752

Surface/Layer/Position Code

Code indicating the product surface, layer or position that is being described
NOT USED BY THE RETAIL INDUSTRY

PID07

822

Source Subqualifier

A reference that indicates the table or text maintained by the Source Qualifier
NOT USED BY THE RETAIL INDUSTRY

PID08

1073 Yes/No Condition or Response Code

ID

1/1

ID

2/3

Code indicating a Yes or No condition or response


NOT USED BY THE RETAIL INDUSTRY

PID09

819

Language Code

Code designating the language used in text, from a standard code list maintained by the
International Standards Organization (ISO 639)
NOT USED BY THE RETAIL INDUSTRY

1232

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MEASUREMENTS
MEA

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

MEA Measurements
Detail - Item
HL
Optional
40
To specify physical measurements or counts, including dimensions, tolerances,
variances, and weights

(See Figures Appendix for example of use of C001)


Syntax: 1 R03050608
At least one of MEA03, MEA05, MEA06 or MEA08 is required.
2 C0504
If MEA05 is present, then MEA04 is required.
3 C0604
If MEA06 is present, then MEA04 is required.
4 L07030506
If MEA07 is present, then at least one of MEA03, MEA05 or MEA06 is
required.
5 E0803
Only one of MEA08 or MEA03 may be present.
Semantic: 1 MEA04 defines the unit of measure for MEA03, MEA05, and MEA06.
Comments: A When citing dimensional tolerances, any measurement requiring a sign (+
or -), or any measurement where a positive (+) value cannot be assumed,
use MEA05 as the negative (-) value and MEA06 as the positive (+) value.
Data Element Summary
REF.
DES.

DATA
ELEMENT

MEA01

737

NAME

ATTRIBUTES

Measurement Reference ID Code

ID

2/2

Code identifying the broad category to which a measurement applies

PD Physical Dimensions
SE Property Specifications
290

These are the measurements of the area where the product is to be


installed, e.g., window dimensions, fireplace box dimensions, etc.

MEA02

738

Measurement Qualifier

ID

1/3

Code identifying a specific product or process characteristic to which a measurement


applies

DP Depth
HT Height
LN Length
WD Width
MEA03

739

Measurement Value

1/20

The value of the measurement

MEA04

C001 COMPOSITE UNIT OF MEASURE

COMPOSITE

To identify a composite unit of measure


(See Figures Appendix for examples of use)

- 1

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

- 2

1018 Exponent

1/15

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY
MAY 2000

856.004030

1233

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

- 3

649

Multiplier

1/10

ID

2/2

Value to be used as a multiplier to obtain a new value


NOT USED BY THE RETAIL INDUSTRY

- 4

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 5

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 6

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 7

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 8

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 9

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 10

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 11

1018 Exponent

1/15

1/10

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 12

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

- 13

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

- 14

1018 Exponent

1/15

1/10

1/20

1/20

ID

2/2

Power to which a unit is raised


NOT USED BY THE RETAIL INDUSTRY

- 15

649

Multiplier
Value to be used as a multiplier to obtain a new value
NOT USED BY THE RETAIL INDUSTRY

MEA05

740

Range Minimum
The value specifying the minimum of the measurement range

MEA06

741

Range Maximum
The value specifying the maximum of the measurement range

MEA07

935

Measurement Significance Code

Code used to benchmark, qualify or further define a measurement value


NOT USED BY THE RETAIL INDUSTRY

1234

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

MEA08

936

Measurement Attribute Code

ID

2/2

Code used to express an attribute response when a numeric measurement value cannot
be determined
NOT USED BY THE RETAIL INDUSTRY

MEA09

752

Surface/Layer/Position Code

ID

2/2

ID

2/4

Code indicating the product surface, layer or position that is being described
NOT USED BY THE RETAIL INDUSTRY

MEA10

1373 Measurement Method or Device

The method or device used to record the measurement


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1235

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
MARKING,, PACKAGING,, LOADING
PKG

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

PKG Marking, Packaging, Loading

Detail - Item
HL
Optional
25
To describe marking, packaging, loading, and unloading requirements
1 R040506
At least one of PKG04, PKG05 or PKG06 is required.
2 C0403
If PKG04 is present, then PKG03 is required.
3 C0501
If PKG05 is present, then PKG01 is required.
Semantic: 1 PKG04 should be used for industry-specific packaging description codes.
Comments: A Use the MEA (Measurements) Segment to define dimensions, tolerances,
weights, counts, physical restrictions, etc.
B 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.
C Use PKG03 to indicate the organization that publishes the code list being
referred to.
D Special marking or tagging data can be given in PKG05 (description).
300

Notes: This segment, at the item level, is used to notify the receiver that ticketing
(item marking) was not as originally requested or expected. Part II of
PKG04 describes what, if any, ticket is on the item. This is only for
exceptions. The receiver assumes all items are marked as requested if
not otherwise stated.

527

The codes in PKG04 are maintained by the VICS EDI SMC and are only
printed in this guideline.
Data Element Summary

REF.
DES.

DATA
ELEMENT

PKG01

349

NAME

ATTRIBUTES

Item Description Type

ID

1/1

ID

1/5

Code indicating the format of a description

S Structured (From Industry Code List)


2999

The description will be found in PKG04.

PKG02

753

Packaging Characteristic Code

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

34 Product Marking
PKG03

559

Agency Qualifier Code

ID

2/2

Code identifying the agency assigning the code values

VI Voluntary Inter-Industry Commerce Standard (VICS) EDI


See External Code Source 70 in Section III for reference document.

1236

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

PKG04

754

Packaging Description Code

AN

1/7

A code from an industry code list which provides specific data about the marking,
packaging or loading and unloading of a product
301

Part 1: Service Type


(Positions 1&2)
HN Hanger Service not as requested
TN Ticketing Service not as requested
Part 2: Ticket Format Code
(Positions 3&4)
01 No Ticket
02 Hang Tag (swiftach)
03 Gummed Label
04 Pin Ticket
05 String Ticket (string around button)
06 Hang Tag (securtach)
07 Dumbell Gum (jewelry)
08 Double Gummed Label (peel off on gummed label)
99 Non Standard Ticket

PKG05

352

Description

AN

1/80

ID

2/2

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

PKG06

400

Unit Load Option Code

Code identifying loading or unloading a shipment


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1237

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (QUANTITY AND WEIGHT)
TD1

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

511

TD1 Carrier Details (Quantity and Weight)


Detail - Item
HL
Optional
20
To specify the transportation details relative to commodity, weight, and quantity
1 C0102
If TD101 is present, then TD102 is required.
2 C0304
If TD103 is present, then TD104 is required.
3 C0607
If TD106 is present, then TD107 is required.
4 P0708
If either TD107 or TD108 is present, then the other is required.
5 P0910
If either TD109 or TD110 is present, then the other is required.

Notes: This segment, at the item level, is used only in a standard carton pack
structure, to specify the number, type and total weight of the shipping
containers for the item (SKU).
Data Element Summary
REF.
DES.

TD101

DATA
ELEMENT

103

NAME

ATTRIBUTES

Packaging Code

AN

3/5

Code identifying the type of packaging; Part 1: Packaging Form, Part 2: Packaging
Material; if the Data Element is used, then Part 1 is always required

BAG
CTN
PLT
01
25
31
76
79
94
TD102

80

Part 1
Bag
Carton
Pallet
Part 2
Aluminum
Corrugated or Solid
Fibre
Paper
Plastic
Wood

Lading Quantity

N0

1/7

ID

1/1

AN

1/30

AN

1/50

ID

1/2

1/10

Number of units (pieces) of the lading commodity

TD103

23

Commodity Code Qualifier

Code identifying the commodity coding system used for Commodity Code
NOT USED BY THE RETAIL INDUSTRY

TD104

22

Commodity Code
Code describing a commodity or group of commodities
NOT USED BY THE RETAIL INDUSTRY

TD105

79

Lading Description
Description of an item as required for rating and billing purposes
NOT USED BY THE RETAIL INDUSTRY

TD106

187

Weight Qualifier
Code defining the type of weight

G Gross Weight
TD107

81

Weight
Numeric value of weight

1238

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

TD108

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

TD109

183

Volume

1/8

ID

2/2

Value of volumetric measure


NOT USED BY THE RETAIL INDUSTRY

TD110

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1239

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (ROUTING SEQUENCE/TRANSIT TIME)
TD5

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

TD5 Carrier Details (Routing Sequence/Transit Time)

Detail - Item
HL
Optional
12
To specify the carrier and sequence of routing and provide transit time
information
Syntax: 1 R0204050612
At least one of TD502, TD504, TD505, TD506 or TD512 is required.
2 C0203
If TD502 is present, then TD503 is required.
3 C0708
If TD507 is present, then TD508 is required.
4 C1011
If TD510 is present, then TD511 is required.
5 C1312
If TD513 is present, then TD512 is required.
6 C1413
If TD514 is present, then TD513 is required.
7 C1512
If TD515 is present, then TD512 is required.
Semantic: 1 TD515 is the country where the service is to be performed.
Comments: A 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.
286

Notes: This segment, at the item level, is used only to specify the status of the
item.
Data Element Summary
REF.
DES.

TD501

DATA
ELEMENT

133

NAME

ATTRIBUTES

Routing Sequence Code

ID

1/2

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


NOT USED BY THE RETAIL INDUSTRY

TD502

66

Identification Code Qualifier

ID

1/2

Code designating the system/method of code structure used for Identification Code (67)
NOT USED BY THE RETAIL INDUSTRY

TD503

67

Identification Code

AN

2/80

ID

1/2

AN

1/35

Code identifying a party or other code


NOT USED BY THE RETAIL INDUSTRY

TD504

91

Transportation Method/Type Code


Code specifying the method or type of transportation for the shipment
NOT USED BY THE RETAIL INDUSTRY

TD505

387

Routing

Free-form description of the routing or requested routing for shipment, or the originating
carriers identity
NOT USED BY THE RETAIL INDUSTRY

TD506

368

Shipment/Order Status Code

ID

2/2

Code indicating the status of an order or shipment or the disposition of any difference
between the quantity ordered and the quantity shipped for a line item or transaction

BK Back Ordered from Previous Order


BP Shipment Partial, Back Order to Ship on (Date)
1240

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

CC
CM
CP
CS
DE
IC
IS
PR
SS
TD507

309

Shipment Complete on (Date)


Shipment Complete with Additional Quantity
Partial Shipment on (Date), Considered No Backorder
Shipment Complete with Substitution
Deleted Order
Item Canceled
Item Represents Substitution from Original Order
Partial Shipment
Split Shipment

Location Qualifier

ID

1/2

AN

1/30

ID

2/2

ID

2/2

1/4

ID

2/2

Code identifying type of location


NOT USED BY THE RETAIL INDUSTRY

TD508

310

Location Identifier
Code which identifies a specific location
NOT USED BY THE RETAIL INDUSTRY

TD509

731

Transit Direction Code


The point of origin and point of direction
NOT USED BY THE RETAIL INDUSTRY

TD510

732

Transit Time Direction Qualifier


Code specifying the value of time used to measure the transit time
NOT USED BY THE RETAIL INDUSTRY

TD511

733

Transit Time
The numeric amount of transit time
NOT USED BY THE RETAIL INDUSTRY

TD512

284

Service Level Code

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD513

284

Service Level Code

ID

2/2

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD514

284

Service Level Code

ID

2/2

Code indicating the level of transportation service or the billing service offered by the
transportation carrier
NOT USED BY THE RETAIL INDUSTRY

TD515

26

Country Code

ID

2/3

Code identifying the country


NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1241

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
CARRIER DETAILS (SPECIAL HANDLING,, OR HAZARDOUS MATERIALS,, OR BOTH)
TD4

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

TD4 Carrier Details (Special Handling, or Hazardous Materials, or Both)

Detail - Item
HL
Optional
5
To specify transportation special handling requirements, or hazardous
materials information, or both
Syntax: 1 R010204
At least one of TD401, TD402 or TD404 is required.
2 C0203
If TD402 is present, then TD403 is required.
Semantic: 1 TD405 identifies if a Material Safety Data Sheet (MSDS) exists for this
product. A Y indicates an MSDS exists for this product; an N indicates
an MSDS does not exist for this product.
Data Element Summary
REF.
DES.

TD401

DATA
ELEMENT

152

NAME

ATTRIBUTES

Special Handling Code

ID

2/3

ID

1/1

Code specifying special transportation handling instructions

CO
DA
EX
FG
FL
FP
HM
NPR
NW
PG
RM
UN
TD402

208

No Marshalling Required for Hazardous Materials


Dangerous
Explosive Flammable Gas
Flammable Gas
Flammable
Flammable Poison Gas
Endorsed as Hazardous Material
No Placards Required
In Case of Fire Do Not Use Water
Poisonous Gas
Radioactive Material
Unload as Placarded

Hazardous Material Code Qualifier


Code which qualifies the Hazardous Material Class Code (209)

9 Title 49, Code of Federal Regulations (CFR)


See External Code Source 52 in Section III for reference document.

U United Nations
See External Code Source 53 in Section III for reference document.

TD403

209

Hazardous Material Class Code

AN

1/4

AN

1/80

ID

1/1

Code specifying the kind of hazard for a material

TD404

352

Description

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

TD405

1073 Yes/No Condition or Response Code

Code indicating a Yes or No condition or response


NOT USED BY THE RETAIL INDUSTRY

1242

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
REFERENCE IDENTIFICATION
REF

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

REF Reference Identification

Detail - Item
HL
Optional
>1
To specify identifying information
1 R0203
At least one of REF02 or REF03 is required.
Semantic: 1 REF04 contains data relating to the value cited in REF02.
Data Element Summary
REF.
DES.

REF01

DATA
ELEMENT

128

NAME

ATTRIBUTES

Reference Identification Qualifier

ID

2/3

AN

1/50

Code qualifying the Reference Identification

CO Customer Order Number


14

Customer of retailer

SE Serial Number

REF02

127

Reference Identification

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


Reference Identification Qualifier

REF03

352

Description

AN

1/80

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

REF04

C040 REFERENCE IDENTIFIER

COMPOSITE

To identify one or more reference numbers or identification numbers as specified by the


Reference Qualifier
NOT USED BY THE RETAIL INDUSTRY

MAY 2000

856.004030

1243

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
DATE/TIME REFERENCE
DTM

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

DTM Date/Time Reference


Detail - Item
HL
Optional
10
To specify pertinent dates and times
1 R020305
At least one of DTM02, DTM03 or DTM05 is required.
2 C0403
If DTM04 is present, then DTM03 is required.
3 P0506
If either DTM05 or DTM06 is present, then the other is required.
Data Element Summary

REF.
DES.

DATA
ELEMENT

DTM01

374

NAME

ATTRIBUTES

Date/Time Qualifier

ID

3/3

DT

8/8

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

036 Expiration
2172

Used for perishable products

DTM02

373

Date

Date expressed as CCYYMMDD where CC represents the first two digits of the calendar
year

DTM03

337

Time

TM

4/8

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)
NOT USED BY THE RETAIL INDUSTRY

DTM04

623

Time Code

ID

2/2

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
NOT USED BY THE RETAIL INDUSTRY

DTM05

1250 Date Time Period Format Qualifier

ID

2/3

AN

1/35

Code indicating the date format, time format, or date and time format
NOT USED BY THE RETAIL INDUSTRY

DTM06

1251 Date Time Period

Expression of a date, a time, or range of dates, times or dates and times


NOT USED BY THE RETAIL INDUSTRY

1244

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
SERVICE,, PROMOTION,, ALLOWANCE,, OR CHARGE INFORMATION
SAC

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

SAC Service, Promotion, Allowance, or Charge Information

Detail - Item
HL/SAC
Usage: Optional
Max Use: >1
Mandatory
1
To request or identify a service, promotion, allowance, or charge; to specify the
amount or percentage for the service, promotion, allowance, or charge
Syntax: 1 R0203
At least one of SAC02 or SAC03 is required.
2 P0304
If either SAC03 or SAC04 is present, then the other is required.
3 P0607
If either SAC06 or SAC07 is present, then the other is required.
4 P0910
If either SAC09 or SAC10 is present, then the other is required.
5 C1110
If SAC11 is present, then SAC10 is required.
6 L130204
If SAC13 is present, then at least one of SAC02 or SAC04 is required.
7 C1413
If SAC14 is present, then SAC13 is required.
8 C1615
If SAC16 is present, then SAC15 is required.
Semantic: 1 If SAC01 is A or C, then at least one of SAC05, SAC07, or SAC08 is
required.
2 SAC05 is the total amount for the service, promotion, allowance, or charge.
3 If SAC05 is present with SAC07 or SAC08, then SAC05 takes precedence.
4 SAC08 is the allowance or charge rate per unit.
5 SAC10 and SAC11 is the quantity basis when the allowance or charge
quantity is different from the purchase order or invoice quantity.
6 SAC10 and SAC11 used together indicate a quantity range, which could be
a dollar amount, that is applicable to service, promotion, allowance, or
charge.
7 SAC13 is used in conjunction with SAC02 or SAC04 to provide a specific
reference number as identified by the code used.
8 SAC14 is used in conjunction with SAC13 to identify an option when there
is more than one option of the promotion.
9 SAC16 is used to identify the language being used in SAC15.
Comments: A SAC04 may be used to uniquely identify the service, promotion, allowance,
or charge. In addition, it may be used in conjunction with SAC03 to further
define SAC02.
B In some business applications, it is necessary to advise the trading partner
of the actual dollar amount that a particular allowance, charge, or
promotion was based on to reduce ambiguity. This amount is commonly
referred to as Dollar Basis Amount. It is represented in the SAC segment
in SAC10 using the qualifier DO - Dollars in SAC09.
2699

Notes: There is one segment for each Allowance, Charge, Service, or Promotion
being specified. If this segment appears in the item level of the
transaction set, the data applies only to that line item.

2700

This segment is primarily used to indicate free goods or ticketing service


(D170 or I060 in SAC02 respectively).

MAY 2000

856.004030

1245

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

Data Element Summary

REF.
DES.

DATA
ELEMENT

SAC01

248

NAME

ATTRIBUTES

Allowance or Charge Indicator

ID

1/1

ID

4/4

ID

2/2

AN

1/10

Code which indicates an allowance or charge for the service specified

A Allowance
C Charge
N No Allowance or Charge

SAC02

1300 Service, Promotion, Allowance, or Charge Code


Code identifying the service, promotion, allowance, or charge

SAC03

559

Agency Qualifier Code


Code identifying the agency assigning the code values
NOT USED BY THE RETAIL INDUSTRY

SAC04

1301 Agency Service, Promotion, Allowance, or Charge Code

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


NOT USED BY THE RETAIL INDUSTRY

SAC05

610

Amount

N2

1/15

Monetary amount
2483

When SAC01 contains code A or code C, then this data element is required. This
will resolve any differences between the senders and receivers system
calculations of amounts, i.e., rounding errors when allowances or charges are
expressed in percentages or rates.

SAC06

378

Allowance/Charge Percent Qualifier

ID

1/1

Code indicating on what basis allowance or charge percent is calculated

1 Item List Cost


2 Item Net Cost
3 Discount/Gross
448

All allowances are off the gross price including cash discount.

4 Discount/Net
449

All allowances are off the gross price. Cash discounts are off the net.

5 Base Price per Unit


450

Line item discount

6 Base Price Amount


7 Base Price Amount Less Previous Discount
451

Declining balance method

SAC07

332

Percent

1/6

Percent expressed as a percent


2180

The percent is sent with a decimal point only when needed, e.g., 10.5% is sent as
10.5, and 2% is sent as 2.

SAC08

118

Rate

1/9

Rate expressed in the standard monetary denomination for the currency specified

SAC09

355

Unit or Basis for Measurement Code

ID

2/2

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

See Section III for code list.

SAC10

380

Quantity

1/15

Numeric value of quantity


2487

When SAC02 contains code D170, this data element is required and will contain
the quantity of free goods. The unit of measure is in SAC09.

2690

SAC10 alone is used to indicate a specific quantity which could be a dollar


amount, that is applicable to the service, promotion, allowance, or charge.

SAC11

380

Quantity

1/15

Numeric value of quantity

1246

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

SAC12

331

Allowance or Charge Method of Handling Code

ID

2/2

Code indicating method of handling for an allowance or charge

01 Bill Back
2273

The allowance or charge amount will be adjudicated as a separate item,


i.e., a debit/credit memo or a separate invoice. The amount will not be
reflected in the invoice total amount.

02 Off Invoice
2274

The allowance or charge amount will be reflected in the total transaction


amount, e.g., Total Invoice Amount = Merchandise Price + Charges Allowances.

03 Vendor Check to Customer


2275

The vendor will issue a check directly to the customer of the retailer, or
end consumer, for the allowance or charge amount. The amount is not
reflected in the total invoice amount.

04 Credit Customer Account


2276

The retailers account will be credited for the amount of the allowance or
charge. The amount is not reflected in the total invoice amount.

05 Charge to be Paid by Vendor


2277

The vendor is responsible for the allowance or charge amount. The exact
method of adjudication has been agreed to by the trading partners. The
amount will not be reflected in the total invoice amount.

06 Charge to be Paid by Customer


2278

When the order/item is a direct ship to the customer, or end consumer of


the retailer, the allowance or charge amount is the responsibility of the
customer or end consumer. If it is not a drop ship to the customer of the
retailer, then the allowance or charge amount is the responsibility of the
retailer. The exact method of adjudication has been agreed to by the
trading partners. The amount will not be reflected in the total invoice
amount.

SAC13

127

Reference Identification

AN

1/50

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


Reference Identification Qualifier

SAC14

770

Option Number

AN

1/20

A unique number identifying available promotion or allowance options when more than
one is offered

SAC15

352

Description

AN

1/80

ID

2/3

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

SAC16

819

Language Code

Code designating the language used in text, from a standard code list maintained by the
International Standards Organization (ISO 639)
See External Code Source 102 in Section III for reference document.

MAY 2000

856.004030

1247

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRANSACTION TOTALS
CTT

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:
Syntax:

CTT Transaction Totals

Summary
___
Optional
1
To transmit a hash total for a specific element in the transaction set
1 P0304
If either CTT03 or CTT04 is present, then the other is required.
2 P0506
If either CTT05 or CTT06 is present, then the other is required.
Comments: A This segment is intended to provide hash totals to validate transaction
completeness and correctness.
Data Element Summary
REF.
DES.

CTT01

DATA
ELEMENT

354

NAME

ATTRIBUTES

Number of Line Items

N0

1/6

1/10

Total number of line items in the transaction set


276

The number of HL segments present in the transaction set

CTT02

347

Hash Total

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.
NOT USED BY THE RETAIL INDUSTRY

CTT03

81

Weight

1/10

ID

2/2

Numeric value of weight


NOT USED BY THE RETAIL INDUSTRY

CTT04

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

CTT05

183

Volume

1/8

ID

2/2

Value of volumetric measure


NOT USED BY THE RETAIL INDUSTRY

CTT06

355

Unit or Basis for Measurement Code

Code specifying the units in which a value is being expressed, or manner in which a
measurement has been taken
NOT USED BY THE RETAIL INDUSTRY

CTT07

352

Description

AN

1/80

A free-form description to clarify the related data elements and their content
NOT USED BY THE RETAIL INDUSTRY

1248

856.004030

MAY 2000

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI
TRANSACTION SET TRAILER
SE

Segment:
Level:
Loop:
Usage:
Max Use:
Purpose:

SE Transaction Set Trailer

Summary
___
Mandatory
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)
Comments: A SE is the last segment of each transaction set.
Data Element Summary
REF.
DES.

SE01

DATA
ELEMENT

96

NAME

ATTRIBUTES

Number of Included Segments

N0

1/10

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

SE02

329

Transaction Set Control Number

AN

4/9

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

MAY 2000

This must be the same number as is in the ST segment (ST02) for the transaction
set.

856.004030

1249

RETAIL INDUSTRY CONVENTIONS AND


IMPLEMENTATION GUIDELINES FOR EDI

1250

856.004030

MAY 2000

You might also like