Canadian Pacific Railway 404 Implementation Guide
404 Rail Carrier Shipment Information
SR
Functional Group ID=
Introduction:
This Draft Standard for Trial Use contains the format and establishes the data contents of the Rail Carrier
Shipment Information Transaction Set (404) for use within the context of an Electronic Data Interchange
(EDI) environment. The transaction set can be used to transmit rail-carrier-specific bill of lading information
to a railroad. It is the initial tender of a shipment between a consignor and a rail carrier and can be used as
notification of equipment release and/or a legal bill of lading.
Pos.
No.
010
Seg.
ID
ST
020
ZC1
Beginning Segment for Data Correction or
Change
O
1
Must Use
030
BX
General Shipment Information
O
1
Must Use
040
BNX
Rail Shipment Information
O
1
M
050
M3
Release
M
1
M
060
N9
Reference Identification
M
30
070
CM
Cargo Manifest
O
2
090
DTM
Date/Time Reference
O
5
M
1
M
Req.
Des.
M
Name
Transaction Set Header
Max.Use
1
LOOP ID - N7
M
Notes and
Comments
n1
500
100
N7
110
VC
Equipment Details
Motor Vehicle Control
O
1
130
M7
Seal Numbers
O
5
140
N5
Equipment Ordered
O
1
150
IC
Intermodal Chassis Equipment
O
1
170
M12
In-bond Identifying Information
O
2
175
GA
Canadian Grain Information
O
15
LOOP ID - VC
21
LOOP ID - REF
99
177
REF
Reference Identification
O
1
178
N10
Quantity and Description
O
15
LOOP ID - N1
5
179
N1
Name
O
1
180
N3
Address Information
O
1
182
N4
Geographic Location
O
1
185
NA
Cross-Reference Equipment
O
10
M
190
F9
Origin Station
M
1
M
200
D9
Destination Station
M
1
M
210
N1
Name
M
1
Must Use
220
N3
Address Information
O
2
LOOP ID - N1
X12 Version 004010
Loop
Repeat
10
1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Must Use
Not Rec
230
N4
Geographic Location
O
240
PER
Administrative Communications Contact
O
1
2
252
BL
Billing Information
O
12
LOOP ID - S1
12
430
S1
Stop-off Name
O
1
440
S2
Stop-off Address
O
2
448
S9
Stop-off Station
O
1
460
R2
Route Information
O
13
520
H3
Special Handling Instructions
O
20
530
PS
Protective Service Instructions
O
5
M
540
LX
Assigned Number
M
1
M
550
L5
Description, Marks and Numbers
M
1
560
L5
Additinal Description
O
14
Must Use
LOOP ID - LX
25
LOOP ID - L0
Must Use
25
570
L0
Line Item - Quantity and Weight
O
1
590
PI
Price Authority Identification
O
30
600
X1
Export License
O
6
670
LS
Loop Header
O
1
680
LH1
Hazardous Identification Information
O
1
690
LH2
Hazardous Classification Information
O
4
700
LH3
Hazardous Material Shipping Name
O
10
710
LFH
Freeform Hazardous Material Information
O
20
720
LEP
EPA Required Data
O
3
730
LH4
Canadian Dangerous Requirements
O
1
750
LHR
Hazardous Material Identifying Reference
Numbers
O
5
755
PER
Administrative Communications Contact
O
5
760
LE
Loop Trailer
O
1
770
PER
Administrative Communications Contact
O
5
780
LH2
Hazardous Classification Information
O
6
790
LHR
Hazardous Material Identifying Reference
Numbers
O
1
800
LH6
Hazardous Certification
O
5
810
XH
Pro Forma - B13 Information
O
1
820
X7
Customs Information
O
10
840
SE
Transaction Set Trailer
M
1
LOOP ID - LH1
M
100
n2
n3
Transaction Set Notes
1.
2.
3.
BX05 contains the Standard Carrier Alpha Code (SCAC) of the original roadhaul carrier receiving the
shipment.
If the hazardous endorsement (LH204) is "NONE", then use of LH204 is mandatory. However, the
receiver must consider it to be blanks when printing a paper document.
If the hazardous endorsement (LH204) is "NONE", then use of LH204 is mandatory. However, the
X12 Version 004010
2
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
receiver must consider it to be blanks when printing a paper document.
X12 Version 004010
3
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
ST Transaction Set Header
010
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).
Comments:
M
Ref.
Des.
ST01
M
ST02
X12 Version 004010
Data Element Summary
Data
Element Name
143
Transaction Set Identifier Code
Code uniquely identifying a Transaction Set
Mandatory for Canadian Pacific Railway
404
Rail Carrier Shipment Information
329
Attributes
M ID 3/3
Transaction Set Control Number
M AN 4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
Mandatory for Canadian Pacific Railway
4
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
Ref.
Des.
ZC101
ZC1 Beginning Segment for Data Correction or Change
020
Optional
1
To transmit identifying numbers, dates, and other basic data relating to the
transaction set
1 If ZC108 is "R" (Rail), then ZC102 is required.
1 For any rail shipment, ZC102 is required.
Canadian Pacific Railway will only accept and process the ZC1 Segment for
Intermodal Shipments providing that the trailer/container has not been loaded to a
conveying flat car.
Data Element Summary
Data
Element Name
Attributes
145
Shipment Identification Number
O AN 1/30
Identification number assigned to the shipment by the shipper that
uniquely identifies the shipment from origin to ultimate destination and is
not subject to modification; (Does not contain blanks or special characters)
M/U
ZC102
206
Equipment Initial
O AN 1/4
Prefix or alphabetic part of an equipment unit's identifying number
Mandatory for Canadian Pacific Railway
M
ZC103
207
Equipment Number
M AN 1/10
Sequencing or serial part of an equipment unit's identifying number (pure
numeric form for equipment number is preferred)
Mandatory for Canadian Pacific Railway
M
ZC104
244
Transaction Reference Number
Sender's assigned number for referenced transaction set
Mandatory for Canadian Pacific Railway
M
ZC105
243
Transaction Reference Date
M DT 8/8
Date of referenced transaction set expressed in format CCYYMMDD
Mandatory for Canadian Pacific Railway
M
ZC106
202
Correction Indicator
M ID 2/2
Code used to indicate that the transaction set contains information which
corrects previous information
Mandatory for Canadian Pacific Railway
AI
Supply Additional Information
CA
Cancelled Bill
CO
Correction
M
ZC107
140
Standard Carrier Alpha Code
X12 Version 004010
5
M AN 1/15
M ID 2/4
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Standard Carrier Alpha Code
Mandatory for Canadian Pacific Railway
CPRS
Canadian Pacific Railway
M
ZC108
X12 Version 004010
91
Transportation Method/Type Code
M ID 1/2
Code specifying the method or type of transportation for the shipment
Mandatory for Canadian Pacific Railway
R
Rail
X
Intermodal (Piggyback)
6
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Usage Notes:
BX General Shipment Information
030
Optional (Must Use)
1
To transmit identification numbers and other basic shipment data
Mandatory for Canadian Pacific Railway
Data Element Summary
M
Ref.
Des.
BX01
M
BX02
91
Transportation Method/Type Code
M ID 1/2
Code specifying the method or type of transportation for the shipment
Mandatory for Canadian Pacific Railway
R
Rail
X
Intermodal (Piggyback)
M
BX03
146
Shipment Method of Payment
M ID 2/2
Code identifying payment terms for transportation charges
Mandatory for Canadian Pacific Railway
Refer to 004010 Data Element Dictionary for acceptable code values.
BX04
145
Shipment Identification Number
O AN 1/30
Identification number assigned to the shipment by the shipper that
uniquely identifies the shipment from origin to ultimate destination and is
not subject to modification; (Does not contain blanks or special characters)
M/U
BX05
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
Mandatory for Canadian Pacific Railway
CPRS
Canadian Pacific Railway
O ID 2/4
M/U
BX06
188
Weight Unit Code
Code specifying the weight unit
Mandatory for Canadian Pacific Railway
E
Metric Ton
O ID 1/1
X12 Version 004010
Data
Element Name
353
Transaction Set Purpose Code
Code identifying purpose of transaction set
Mandatory for Canadian Pacific Railway
00
Original
04
Change
7
Attributes
M ID 2/2
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
K
L
M
S
T
M/U
Kilograms
Pounds
Measurement Ton
Short Ton
Long Ton
BX07
147
Shipment Qualifier
O ID 1/1
Code defining relationship of this shipment with respect to other
shipments given to the carrier at the same time
Mandatory for Canadian Pacific Railway
1
Master Bill for Empty Non-Revenue Equipment
8
Master Bill, Revenue Empty
B
Bill of Lading for Individual Shipment
E
Empty Equipment Billing (Non-Revenue)
H
Company Business (Non-revenue)
M
Master Bill of Lading for Assembly, Distribution and
Volume Shipment
A bill of lading with multiple delivery locations
W
Revenue Empty
BX08
226
Section Seven Code
O ID 1/1
Code indicating applicability of section seven option (if not transmitted
assume not in effect)
N
Not in Effect
S
In Effect
BX09
195
Capacity Load Code
Code specifying type of capacity load
C
Full Cubic Capacity
G
Gallonage Capacity
M
Marked Capacity
V
Full Visible Capacity
BX11
501
Customs Documentation Handling Code
O ID 2/2
Code defining method of handling for documentation
10
Proforma Entered/B13 Not Required
U.S. Customs Proforma information is included in this
transmission and Canadian Customs B13 information
is not required
14
Proforma and B13 Entered
15
Proforma Entered and B13 with Car
16
Proforma Entered and B13 by Summary Reporting
17
Proforma Entered with B13 with Broker Port of Exit
20
Proforma with Car/B13 Not Required
U.S. Customs Proforma information is on paper
moving with the car and Canadian Customs B13
X12 Version 004010
8
O ID 1/1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
information is not required
Proforma with Car and B13 Entered
Proforma and B13 with Car
Proforma with Car and B13 by Summary Reporting
Proforma with Car and B13 with Broker Port of Exit
Proforma with Broker Port of Exit/B13 Not Required
U.S. Customs Proforma information is on paper with
the Broker at the Port of Exit and Canadian Customs
B13 information is not required
Proforma with Broker Port of Exit and B13 Entered
Proforma with Broker Port of Exit and B13 with Car
Proforma with Broker Port of Exit B13 by Summary
Reporting
Proforma and B13 with Broker Port of Exit
Customs A 4 +
24
25
26
27
30
34
35
36
37
90
BX13
X12 Version 004010
714
Goods and Services Tax Reason Code
O ID 1/1
Code required to identify the reason for a 0% rated goods and services tax
1
Inbound Goods and Services Tax Declaration
2
Outbound Goods and Services Tax Declaration
3
Goods and Services Tax Inbound/Outbound
Declaration Documentary Evidence Filed at Origin
9
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Usage Notes:
BNX Rail Shipment Information
040
Optional (Must Use)
1
To transmit rail-specific shipment data
Mandatory for Canadian Pacific Railway
Data Element Summary
M/U
Ref.
Des.
BNX01
M/U
BNX03
X12 Version 004010
Data
Element Name
Attributes
460
Shipment Weight Code
O ID 1/1
Code indicating the way by which weights are obtained for a particular
shipment
Mandatory for Canadian Pacific Railway
A
Shipper's Weight Agreement
D
Destination Weight Agreement
Weights provided by consignee or receiver at
destination
G
Grain Exchange Weight
M
Manifest Weight
N
No Wt. Req., Ship. Moving on Contract or per car rate
R
Carrier Scale Weight
S
Shipper Certified Scale Weights
T
Tariff Authorized Weight
11
Billing Code
Code indicating type of Bill
Mandatory for Canadian Pacific Railway
M
Multiple Shipment Billing
S
Single Shipment Billing
U
Unit Train Billing
10
O ID 1/1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
M3 Release
050
Mandatory
1
To indicate that the equipment is or is not to be released
1 At least one of M302 or M303 is required.
2 If M304 is present, then M303 is required.
1 If M301 contains code value "S" or "R", then M302 is the date of release. If
M301 contains code value "U", then M302 is the estimated date of release.
2 M304 reflects the time zone which the time reflects.
Comments:
Data Element Summary
M
Ref.
Des.
M301
M/U
M302
373
Date
Date expressed as CCYYMMDD
Mandatory for Canadian Pacific Railway
M/U
M303
337
Time
X 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)
Mandatory for Canadian Pacific Railway
M304
623
Time Code
O 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
CD
Central Daylight Time
CS
Central Standard Time
X12 Version 004010
Data
Element Name
Attributes
132
Release Code
M ID 1/1
Code signifying whether or not the shipment information transaction set
includes instructions for pick-up and movement of the shipment; (This
code provides a means for the shipper to transmit billing data along with
the movement instructions, transmit billing data ahead of the movement
instructions, or follow movement instructions with complete billing data at
a later date)
Mandatory for Canadian Pacific Railway
R
Released with Billing Data
11
X DT 8/8
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
CT
ED
ES
ET
LT
MD
MS
MT
PD
PS
PT
TD
TS
TT
X12 Version 004010
Central Time
Eastern Daylight Time
Eastern Standard Time
Eastern Time
Local Time
Mountain Daylight Time
Mountain Standard Time
Mountain Time
Pacific Daylight Time
Pacific Standard Time
Pacific Time
Atlantic Daylight Time
Atlantic Standard Time
Atlantic Time
12
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
M
Ref.
Des.
N901
X12 Version 004010
N9 Reference Identification
060
Mandatory
30
To transmit identifying information as specified by the Reference Identification
Qualifier
1 At least one of N902 or N903 is required.
2 If N906 is present, then N905 is required.
3 If either C04003 or C04004 is present, then the other is required.
4 If either C04005 or C04006 is present, then the other is required.
1 N906 reflects the time zone which the time reflects.
2 N907 contains data relating to the value cited in N902.
One occurrence of the N9 Segment is required where N901 value must be BM and
N902 will contain the Bill of Lading Number for the shipment.
Data Element Summary
Data
Element Name
Attributes
128
Reference Identification Qualifier
M ID 2/3
Code qualifying the Reference Identification
Mandatory for Canadian Pacific Railway
09
Customs Bar Code Number
2K
Food and Drug Administration (FDA) Product Type
Required by the U.S. Food and Drug Administration
regulation on specific food products. When used,
N902 will contain the declaration 'FDA'.
BC
Buyer's Contract Number
BL
Government Bill of Lading
BM
Bill of Lading Number
BN
Booking Number
CD
Credit Note Number
CG
Consignee's Order Number
CN
Carrier's Reference Number (PRO/Invoice)
CO
Customer Order Number
CR
Customer Reference Number
CS
Condition of Sale Document Number
CV
Coil Number
CX
Consignment Classification ID
DV
Diversion Authority Number
EB
Embargo Permit Number
13
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
ED
EN
F9
FP
GB
GC
GR
HS
HW
IN
LT
MA
MB
OB
OM
OS
OW
PK
PN
PO
PQ
PU
RC
RT
S7
SI
SO
SS
ST
SW
UT
V0
VA
WM
WU
X12 Version 004010
Export Declaration
Embargo Number
Freight Payor Reference Number
Forestry Permit Number
Grain Block Number
Government Contract Number
Grain Order Reference Number
Harmonized Code System (Canada)
High/Wide File Number
Consignee's Invoice Number
Lot Number
Ship Notice/Manifest Number
Master Bill of Lading
Ocean Bill of Lading
Ocean Manifest
Outbound-from Party
Service Order Number
Number assigned when a customer orders service and
equipment and which appears on bill
Packing List Number
Permit Number
Purchase Order Number
Payee Identification
Previous Bill of Lading Number
Rail Routing Code
Payee's Financial Institution Transit Routing Number
for Check, Draft or Wire Payments. Receiving
Depository Financial Institution Transit Routing
Number for ACH Transfers
Stack Train Identification
Shipper's Identifying Number for Shipment (SID)
A unique number (to the shipper) assigned by the
shipper to identify the shipment
Shipper's Order (Invoice Number)
Split Shipment Number
Store Number
Seller's Sale Number
Unit Train
Version
Vessel Agent Number
Weight Agreement Number
Vessel
14
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
WY
ZE
ZZ
M/U
Waybill Number
Coal Authority Number
Mutually Defined
N902
127
Reference Identification
X AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Mandatory for Canadian Pacific Railway
N903
369
Free-form Description
Free-form descriptive text
X AN 1/45
R
N904
373
Date
Date expressed as CCYYMMDD
O DT 8/8
R
N905
337
Time
X 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)
N906
623
Time Code
O 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
CD
Central Daylight Time
CS
Central Standard Time
CT
Central Time
ED
Eastern Daylight Time
ES
Eastern Standard Time
ET
Eastern Time
LT
Local Time
MD
Mountain Daylight Time
MS
Mountain Standard Time
MT
Mountain Time
PD
Pacific Daylight Time
PS
Pacific Standard Time
PT
Pacific Time
TD
Atlantic Daylight Time
TS
Atlantic Standard Time
TT
Atlantic Time
X12 Version 004010
15
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
M/U
M/U
D
Ref.
Des.
CM01
CM Cargo Manifest
070
Optional
2
To identify specific flight or voyage information for multimodal shipments
1 If CM04 is present, then CM02 is required.
1 CM04 is qualified by CM02.
2 CM06 contains the carrier code.
3 CM07 contains the previous carrier code.
4 CM08 is the manifest date.
5 CM15 is the vessel agent number.
1 CM02 is "D" for rail origin and "L" for rail destination.
Data Element Summary
Data
Element Name
Attributes
55
Flight/Voyage Number
O AN 2/10
Identifying designator for the particular flight or voyage on which the
cargo travels
Mandatory for Canadian Pacific Railway
CM02
115
Port or Terminal Function Code
X ID 1/1
Code defining function performed at the port or terminal with respect to a
shipment
1
Final Port of Discharge (Operational)
Last port at which cargo is unloaded from vessel
D
Port of Discharge (Operational)
Port at which cargo is unloaded from vessel
L
Port of Loading (Operational)
Port at which cargo is loaded on vessel
CM03
114
Port Name
O AN 2/24
Free-form name for the place at which an offshore carrier originates or
terminates (by transshipment or otherwise) its actual ocean carriage of
property
Mandatory for Canadian Pacific Railway
CM04
373
Date
Date expressed as CCYYMMDD
O DT 8/8
CM05
13
Booking Number
Number assigned by the carrier for space reservation
Required on Export Shipments.
O AN 1/17
CM06
140
Standard Carrier Alpha Code
O ID 2/4
X12 Version 004010
16
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Standard Carrier Alpha Code
M/U
CM07
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
CM08
373
Date
Date expressed as CCYYMMDD
O DT 8/8
CM09
182
Vessel Name
O AN 2/28
Name of ship as documented in "Lloyd's Register of Ships"
Mandatory for Canadian Pacific Railway
CM10
113
Pier Number
Identifying number for the pier
O AN 1/4
CM11
112
Pier Name
Free-form name of the pier
O AN 2/14
CM12
174
Terminal Name
Free-form field for terminal name
O AN 2/30
CM13
156
State or Province Code
O ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
CM14
26
Country Code
Code identifying the country
CM15
127
Reference Identification
O AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
X12 Version 004010
17
O ID 2/3
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
DTM Date/Time Reference
090
Optional
5
To specify pertinent dates and times
1 At least one of DTM02 DTM03 or DTM05 is required.
2 If DTM04 is present, then DTM03 is required.
3 If either DTM05 or DTM06 is present, then the other is required.
Semantic Notes:
Comments:
Data Element Summary
Data
Element Name
Attributes
374
Date/Time Qualifier
M ID 3/3
Code specifying type of date or time, or both date and time
Mandatory for Canadian Pacific Railway
002
Delivery Requested
017
Estimated Delivery
037
Ship Not Before
038
Ship No Later
067
Current Schedule Delivery
068
Current Schedule Ship
069
Promised for Delivery
110
Originally Scheduled Ship
118
Requested Pick-up
196
Start
197
End
198
Completion
Date when the activity was completed
209
Contract Performance Start
210
Contract Performance Delivery
372
Actual Arrival Date
458
Certification
Date of a document attesting to a fact
ICF
Converted to Electronic Date
M
Ref.
Des.
DTM01
M/U
DTM02
373
Date
Date expressed as CCYYMMDD
Mandatory for Canadian Pacific Railway
X DT 8/8
M/U
DTM03
337
Time
X TM 4/8
X12 Version 004010
18
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
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)
Mandatory for Canadian Pacific Railway
DTM04
X12 Version 004010
623
Time Code
O 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
CD
Central Daylight Time
CS
Central Standard Time
CT
Central Time
ED
Eastern Daylight Time
ES
Eastern Standard Time
ET
Eastern Time
LT
Local Time
MD
Mountain Daylight Time
MS
Mountain Standard Time
MT
Mountain Time
PD
Pacific Daylight Time
PS
Pacific Standard Time
PT
Pacific Time
TD
Atlantic Daylight Time
TS
Atlantic Standard Time
TT
Atlantic Time
19
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
N7 Equipment Details
100
N7
Mandatory
Mandatory
1
To identify the equipment
1 If either N703 or N704 is present, then the other is required.
2 If either N705 or N716 is present, then the other is required.
3 If either N708 or N709 is present, then the other is required.
1 N712 is the owner of the equipment.
2 N723 is the operator or carrier of the rights of the equipment.
1 N701 is mandatory for rail transactions.
2 N720 and N721 are expressed in inches.
Data Element Summary
Data
Element Name
Attributes
206
Equipment Initial
O AN 1/4
Prefix or alphabetic part of an equipment unit's identifying number
Mandatory for Canadian Pacific Railway
M/U
Ref.
Des.
N701
M
N702
207
Equipment Number
M AN 1/10
Sequencing or serial part of an equipment unit's identifying number (pure
numeric form for equipment number is preferred)
Mandatory for Canadian Pacific Railway
R
N703
81
Weight
Numeric value of weight
R
N704
187
Weight Qualifier
X ID 1/2
Code defining the type of weight
Refer to 004010 Data Element Dictionary for acceptable code values.
N705
167
Tare Weight
Weight of the equipment
N706
232
Weight Allowance
O N0 2/6
Allowance made for increased weight due to such factors as snow
N707
205
Dunnage
O N0 1/6
Weight of material used to protect lading (even bracings, false floors, etc.)
N710
102
Ownership Code
O ID 1/1
Code indicating the relationship of equipment to carrier or ownership of
equipment
Refer to 004010 Data Element Dictionary for acceptable code values.
N711
40
Equipment Description Code
Code identifying type of equipment used for shipment
M/U
X12 Version 004010
20
X R 1/10
X N0 3/8
O ID 2/2
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Mandatory for Canadian Pacific Railway
BG
Bogie
CA
Caboose
CC
Container resting on a Chassis
CH
Chassis
CM
Container, Open-Sided
CN
Container
CX
Container, Tank
CZ
Refrigerated Container
GS
Generator Set
ID
Idler Car
LO
Locomotive
LS
Half Height Flat Rack
OT
Open-top/flatbed trailer
PL
Container, Platform
PT
Protected Trailer
RR
Rail Car
RT
Controlled Temperature Trailer (Reefer)
SK
Stack Car
TL
Trailer (not otherwise specified)
TN
Tank Car
D
N712
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
N714
219
Position
O AN 1/3
Relative position of shipment in car, trailer, or container (mutually defined)
N715
567
Equipment Length
O 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)
Required for Trailer/Container Intermodal Traffic.
N716
571
Tare Qualifier Code
Code identifying the type of tare
A
Actual
M
Marked
N718
761
Equipment Number Check Digit
O N0 1/1
Number which designates the check digit applied to a piece of equipment
N720
65
Height
O R 1/8
Vertical dimension of an object measured when the object is in the upright
position
N721
189
Width
O R 1/8
Shorter measurement of the two horizontal dimensions measured with the
X12 Version 004010
21
O ID 2/4
X ID 1/1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
object in the upright position
N722
24
Equipment Type
Code identifying equipment type
O ID 4/4
N723
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
N724
301
Car Type Code
O ID 1/4
Code specifying type of rail car or intermodal equipment type and its
general characteristics
X12 Version 004010
22
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
VC Motor Vehicle Control
110
VC
Optional
Optional
1
To define motor vehicle identification and logistics
1
VC05 is the automotive manufacturer route code.
Data Element Summary
M
D
Ref.
Des.
VC01
Data
Element Name
Attributes
539
Vehicle Identification Number
M AN 1/25
Unique identification number stamped on the vehicle by the manufacturer
Mandatory for Canadian Pacific Railway
VC02
836
Vehicle Deck Position Code
O ID 2/2
Code to identify the specific position of a vehicle on multi-level equipment;
when dealing with rail cars the front end will be defined as that end of the
rail car which the vehicle faces
Refer to 004010 Data Element Dictionary for acceptable code values.
VC03
837
Vehicle Type Code
O ID 1/1
Vehicle Type Code for freight rate and claims purposes
Refer to 004010 Data Element Dictionary for acceptable code values.
VC04
838
Dealer Code
O AN 2/9
A code assigned by a manufacturer to identify their dealers
VC05
1
VC10
583
X12 Version 004010
Route Code
Mutually defined route code
O AN 1/13
Factory Car Order Number
O AN 6/10
This number to be supplied by the shipper for Canadian customer
requirements at border points for all finished motor vehicles exported to
the United States from Canada
Required for vehicles originating in Canada destined to the United States.
23
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
M7 Seal Numbers
130
N7
Mandatory
Optional
5
To record seal numbers used and the organization that applied the seals
1
M705 indicates the name of the organization which applied the seal(s).
Data Element Summary
M
Ref.
Des.
M701
Data
Element Name
225
Seal Number
Unique number on seal used to close a shipment
Mandatory for Canadian Pacific Railway
Attributes
M AN 2/15
M702
225
Seal Number
Unique number on seal used to close a shipment
O AN 2/15
M703
225
Seal Number
Unique number on seal used to close a shipment
O AN 2/15
M704
225
Seal Number
Unique number on seal used to close a shipment
O AN 2/15
X12 Version 004010
24
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
N5 Equipment Ordered
140
N7
Mandatory
Optional
1
To specify carrier equipment
1 If either N507 or N508 is present, then the other is required.
1
N506 is expressed in inches.
Data Element Summary
Ref.
Des.
N501
X12 Version 004010
Data
Element Name
Attributes
567
Equipment Length
O 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)
25
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
IC Intermodal Chassis Equipment
150
N7
Mandatory
Optional
1
To specify the chassis equipment details in terms of identifying numbers, weights,
and ownership
1 If either IC03 or IC04 is present, then the other is required.
1 IC05 is the chassis owner.
2 IC07 is the equipment lessee.
Comments:
Data Element Summary
Data
Element Name
Attributes
206
Equipment Initial
M AN 1/4
Prefix or alphabetic part of an equipment unit's identifying number
Mandatory for Canadian Pacific Railway
M
Ref.
Des.
IC01
M
IC02
207
Equipment Number
M AN 1/10
Sequencing or serial part of an equipment unit's identifying number (pure
numeric form for equipment number is preferred)
Mandatory for Canadian Pacific Railway
IC03
167
Tare Weight
Weight of the equipment
IC04
571
Tare Qualifier Code
X ID 1/1
Code identifying the type of tare
Refer to 004010 Data Element Dictionary for acceptable code values.
IC05
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
IC06
567
Equipment Length
O 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)
IC07
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
IC08
845
Chassis Type
Code identifying type of chassis
8P
Eight Pin Combo
DF
Drop Frame
FB
Flush Back
GN
Gooseneck
O ID 2/2
X12 Version 004010
26
X N0 3/8
O ID 2/4
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
SF
SL
TX
X12 Version 004010
Straight Frame
Slider
Tri-axle
27
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
M12 In-bond Identifying Information
170
N7
Mandatory
Optional
2
To transmit in-bond information
1 Only one of M1202 or M1206 may be present.
2 If M1206 is present, then M1208 is required.
3 If either M1208 or M1209 is present, then the other is required.
4 If either M1210 or M1211 is present, then the other is required.
1 M1203 is a four-digit numeric census schedule D when identifying a U.S. port,
and a three-digit numeric memorandum D when identifying a Canadian port. It
is the port of destination if M1201 is "61". It is the port of export if M1201 is
"62" or "63".
2 M1204 is five-digit numeric census schedule K. It is the foreign port of
destination if M1201 is "62" or "63".
3 M1207 identifies the carrier to whom liability is transferred.
1 If M1202 does not contain the paperless entry number, then M1206 is required.
2 M1205 is the value in whole dollars of the in-bond movement. Use twenty
dollars per kilo if value is unknown.
Data Element Summary
M
Ref.
Des.
M1201
M1202
X12 Version 004010
Data
Element Name
Attributes
581
Customs Entry Type Code
M ID 2/2
Code defining the type of entry assigned by U.S. Customs
Mandatory for Canadian Pacific Railway
61
Immediate Transportation
62
Transportation Exportation
63
Immediate Exportation
65
Permit to Proceed
A2
Ocean In-Bond - Carriers Remanifest
A6
Ocean In-Bond - No Carriers Remanifest
A8
Truck In-Bond - Carriers Remanifest
DP
Duty Paid - Cleared Customs
601
Customs Entry Number
X AN 1/15
Automated Commercial System Code Furnished by U.S. Customs Service
Used to report the U.S. Customs Paperless In-Bond Control Number.
Carriers authorized to participate in Paperless in-Bond will be assigned a 3
-position filer identification code. this code is used with a check digit
routine to create a paperless in-bond control number. The check digit
routine is efined by U.S. Customs CAMIR document.
28
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Canadian Pacific Railway will bond Customer's shipments but only to the
last steel wheel interchange on CPR Lines. Customer's who wish there
shipments to be bonded beyond the CPR railhead can request the shipment
be bonded beyond by entering 'REQUEST' in this element. Additionally,
M1208 MUST contain code value 'S4' and M1209 MUST contain the
Customer's IRS Number to be the 'Bond Holder' of the Bond. Discuss the
use of this process with your Technology Deployment Specialist before
using.
M1203
310
Location Identifier
O AN 1/30
Code which identifies a specific location
This is the 4-digit Census Schedule D Code. It is the Port of Termination
if M1201 value is '61'. It is the Port of Exportation if M1201 value is '62'
or '63'.
M1204
310
Location Identifier
O AN 1/30
Code which identifies a specific location
This is the 5-digit Census Schedule K Code. It is the Foreign Port of
Destination if 1201 value is '62' or '63'.
M1205
602
Customs Shipment Value
O AN 2/8
Customs value in whole dollars
Represents the total of all X1-11's plust XH-04 for shipments intended to
move In-Bond into the United States. If Customs Shipment Value is
unknown, default value at $20.00 per kilogram.
M1206
603
In-bond Control Number
X AN 1/25
Currently assigned control number for in-bond movement
This element is for Conventional (Paper) Bonds.
M1208
128
Reference Identification Qualifier
X ID 2/3
Code qualifying the Reference Identification
BI
Bonded Carrier Internal Revenue Service Identification
Number
Only used for identifying Railroad Bond.
S4
Shippers Bond Number
Number differentiating between shipper's bond
movements by intermodal shippers and ocean carriers
and in-bond movements which default to the carrier's
bond
Identifies a Non-Rail Carrier Bond.
XC
Cargo Control Number
Used if M12-01 value is A2, A6, A8 or DP.
M1209
127
Reference Identification
X AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
This element will contain the IRS Number of the Bond Holder identified in
M12-08 for codes BI and S4.
X12 Version 004010
29
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
If used for Canadian In-Bond reporting, this will contain the Cargo
Control Number (CCN).
M1210
91
Transportation Method/Type Code
X ID 1/2
Code specifying the method or type of transportation for the shipment
May only be used if M12-01 value is'62' to eliminate Department of
Commerce Form 7513.
S
Ocean
M1211
182
Vessel Name
X AN 2/28
Name of ship as documented in "Lloyd's Register of Ships"
Intended Vessel to be loaded for Export, if known.
X12 Version 004010
30
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
GA Canadian Grain Information
175
N7
Mandatory
Optional
15
To transmit the transportation and distribution requirements of grain at Canadian
ports
1 If either GA04 or GA05 is present, then the other is required.
2 If either GA14 or GA15 is present, then the other is required.
3 If either GA16 or GA17 is present, then the other is required.
1 GA02 will contain the Canadian Grain Commission Commodity Code for
Terminal Elevator and is rquired for each new occurrence of a different grain
or grain order.
2) One occurrence of GA04 is required with the value of 'GR' to identify the
Grain Order Reference Number.
2 GA02 is required on the first occurrence of the segment and for each new
occurrence of a different commodity code.
3 GA06 is used for crop week.
4 GA08 is used for the unload date.
5 GA09 will contain the number of cars being claimed for incentive rate.
6 GA14 is the terminal or staging area name.
1 GA02 contains the Canadian Grain Commission Commodity Code for terminal
elevator accounting.
2 GA05 is used for grain block number.
3 If GA13 is equal to "Y" then this is a direct hit to departure wharf for vessel
loading. If "N" this is to be unloaded at terminal and GA14 is required to identify
the terminal or staging area prior to vessel loading.
Data Element Summary
Ref.
Des.
GA01
M/U
Data
Element Name
Attributes
1275 Fumigated/Cleaned Indicator
O ID 1/1
Code indicating whether product has been fumigated and/or cleaned
B
Both Fumigated and Cleaned
C
Cleaned
Shipment has been inland cleaned
F
Fumigated
Grain has been fumigated
N
Not Fumigated or Cleaned
GA02
22
GA03
1576
X12 Version 004010
Commodity Code
Code describing a commodity or group of commodities
Mandatory for Canadian Pacific Railway
O AN 1/30
Inspected/Weighed Indicator Code
O ID 1/2
31
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Code indicating whether product has been inspected and/or weighed
IB
Both Inspected and Weighed
II
Inspected
IW
Weighed
M/U
M/U
GA04
128
Reference Identification Qualifier
X ID 2/3
Code qualifying the Reference Identification
Mandatory for Canadian Pacific Railway
At least one occurrence where GA04 value of 'GR' is required.
BO
Bin Location Number
CW
Canadian Wheat Board Permit Number
DK
Dock Number
GB
Grain Block Number
GR
Grain Order Reference Number
OH
Origin House
Origin House for Canadian Wheat Board
RB
Rate code number
RN
Run Number
XO
Sample Number
ZT
Milling in Transit
GA05
127
Reference Identification
X AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
GA06
642
Week
O N0 4/4
Week expressed as year/week (YYWW); week is an integer between 1
and 53 inclusive
Mandatory for Canadian Pacific Railway
GA07
899
Unload Terminal Elevator Code
O ID 3/4
Code specifying the unloading terminal elevator at grain exporting terminals
GA08
373
Date
Date expressed as CCYYMMDD
O DT 8/8
GA09
1470
Number
A generic number
O N0 1/9
GA10
1276
Machine Separable Indicator Code
O ID 2/2
Canadian Grain Commission grain code identifying the type of grain that
must be separated
GA11
1277
Canadian Wheat Board (CWB) Marketing Class
O ID 1/1
Code
Code identifying the Canadian Wheat Board market class of the grain
Refer to 004010 Data Element Dictionary for acceptable code values.
GA12
1278
Canadian Wheat Board (CWB) Marketing Class
Type Code
X12 Version 004010
32
O ID 1/1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Code identifying Canadian Wheat Board market class type
Refer to 004010 Data Element Dictionary for acceptable code values.
GA13
1073
Yes/No Condition or Response Code
Code indicating a Yes or No condition or response
N
No
Y
Yes
O ID 1/1
GA14
310
Location Identifier
Code which identifies a specific location
X AN 1/30
GA15
156
State or Province Code
X ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
GA16
1004
Percent Qualifier
Code to qualify percent
SD
Moisture Content
SE
Protein Content
SF
Percent Dockage
Percentage of Grain Filler
SG
Test Weight
Test Weight of Grain
X ID 1/2
GA17
954
Percent
Percentage expressed as a decimal
X R 1/10
X12 Version 004010
33
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
M
Ref.
Des.
REF01
REF Reference Identification
177
REF
Optional
Optional
1
To specify identifying information
1 At least one of REF02 or REF03 is required.
2 If either C04003 or C04004 is present, then the other is required.
3 If either C04005 or C04006 is present, then the other is required.
1 REF04 contains data relating to the value cited in REF02.
Data Element Summary
Data
Element Name
Attributes
128
Reference Identification Qualifier
M ID 2/3
Code qualifying the Reference Identification
Mandatory for Canadian Pacific Railway
OB
Ocean Bill of Lading
If used, N10 Loop is required.
PN
Permit Number
ZZ
Mutually Defined
Used for the Certificate of Transportation Number.
REF02
127
Reference Identification
X AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
REF03
352
Description
X AN 1/80
A free-form description to clarify the related data elements and their
content
X12 Version 004010
34
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
N10 Quantity and Description
178
REF
Optional
Optional
15
To indicate line item quantity, description, marks and numbers, commodity code,
weight, and customs value
1 If either N1004 or N1005 is present, then the other is required.
2 If either N1006 or N1013 is present, then the other is required.
3 If either N1007 or N1008 is present, then the other is required.
1 N1009 is the U.S. Customs bar code number for line release.
2 N1011 is the country of the manufacturer of the goods.
3 N1012 is the country of the final destination of the goods.
4 N1013 is the currency of the value of N1006.
Used to convey Customs related information if the Shipper is manifesting
shipment(s) directly with U.S. Customs. Used in conjunction with code 'OB' in the
REF01 above.
Data Element Summary
M/U
Ref.
Des.
N1001
M/U
N1002
369
Free-form Description
Free-form descriptive text
Mandatory for Canadian Pacific Railway
N1003
87
Marks and Numbers
O AN 1/48
Marks and numbers used to identify a shipment or parts of a shipment
N1004
23
Commodity Code Qualifier
X ID 1/1
Code identifying the commodity coding system used for Commodity Code
Mandatory if M12-01 value is '62' or '63'.
J
Harmonized System-Based Schedule B
Classification of exported merchandise
Rail will use the 6-digit Harmonized Code.
N1005
22
Commodity Code
Code describing a commodity or group of commodities
Mandatory if M12-01 is '62' or '63'.
X AN 1/30
N1006
602
Customs Shipment Value
Customs value in whole dollars
X AN 2/8
X12 Version 004010
Data
Element Name
380
Quantity
Numeric value of quantity
Mandatory for Canadian Pacific Railway
Required for each new Harmonized Code.
35
Attributes
O R 1/15
O AN 1/45
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Mandatory if M12-01 is '62' or '63'.
N1007
188
Weight Unit Code
Code specifying the weight unit
Mandatory if M12-01 is '62' or '63'.
K
Kilograms
L
Pounds
X ID 1/1
N1008
81
Weight
Numeric value of weight
Mandatory if M12-01 is '62' or '63'.
X R 1/10
N1009
127
Reference Identification
O AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Used for the Customer C4 Number for Line Release.
N1010
599
Manifest Unit Code
O ID 1/3
Code defining the smallest package unit for the bill of lading
Refer to 004010 Data Element Dictionary for acceptable code values.
N1011
26
Country Code
Code identifying the country
O ID 2/3
N1012
26
Country Code
Code identifying the country
O ID 2/3
N1013
100
Currency Code
X ID 3/3
Code (Standard ISO) for country in whose currency the charges are
specified
USD
United States Dollars
X12 Version 004010
36
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
N1 Name
179
N1
Optional
Optional
1
To identify a party by type of organization, name, and code
1 At least one of N102 or N103 is required.
2 If either N103 or N104 is present, then the other is required.
1
2
This segment, used alone, provides the most efficient method of providing
organizational identification. To obtain this efficiency the "ID Code" (N104)
must provide a key to the table maintained by the transaction processing party.
N105 and N106 further define the type of entity in N101.
Data Element Summary
M
Ref.
Des.
N101
Data
Element Name
Attributes
98
Entity Identifier Code
M ID 2/3
Code identifying an organizational entity, a physical location, property or
an individual
Mandatory for Canadian Pacific Railway
BN
Beneficial Owner
C1
In Care Of Party no. 1
CB
Customs Broker
CD
Consignee (To Receive Mail and Small Parcels)
CN
Consignee
IM
Importer
N1
Notify Party no. 1
N2
Notify Party no. 2
OO
Order Of (Shippers Orders) - (Transportation)
SH
Shipper
UC
Ultimate Consignee
N102
93
Name
Free-form name
N103
66
Identification Code Qualifier
X ID 1/2
Code designating the system/method of code structure used for
Identification Code (67)
C5
Customer Identification File
FI
Federal Taxpayer's Identification Number
N104
67
Identification Code
Code identifying a party or other code
X12 Version 004010
X AN 1/60
37
X AN 2/80
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
N3 Address Information
180
N1
Optional
Optional
1
To specify the location of the named party
If N1 is used, then the N3 is Required.
Data Element Summary
M
Ref.
Des.
N301
N302
X12 Version 004010
Data
Element Name
166
Address Information
Address information
Mandatory for Canadian Pacific Railway
166
Address Information
Address information
38
Attributes
M AN 1/55
O AN 1/55
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
N4 Geographic Location
182
N1
Optional
Optional
1
To specify the geographic place of the named party
1 If N406 is present, then N405 is required.
1
A combination of either N401 through N404, or N405 and N406 may be
adequate to specify a location.
2 N402 is required only if city name (N401) is in the U.S. or Canada.
If N1 is used, then N4 is Required.
Data Element Summary
Data
Element Name
19
City Name
Free-form text for city name
Mandatory for Canadian Pacific Railway
M/U
Ref.
Des.
N401
M/U
N402
156
State or Province Code
O ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
Mandatory for Canadian Pacific Railway
M/U
N403
116
Postal Code
O ID 3/15
Code defining international postal zone code excluding punctuation and
blanks (zip code for United States)
Mandatory for Canadian Pacific Railway
N404
26
Country Code
Code identifying the country
X12 Version 004010
39
Attributes
O AN 2/30
O ID 2/3
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Ref.
Des.
NA01
NA Cross-Reference Equipment
185
Optional
10
To cross-reference additional equipment to a primary piece of equipment
1 If NA01 is present, then NA02 is required.
1 NA07 is the owner's Standard Carrier Alpha Code (SCAC) code.
2 NA11 indicates the equipment damage status. A "Y" indicates equipment is
damaged; an "N" indicates equipment is not damaged.
1 NA03 contains the equipment initial of an associated shipment and is required
by rail. If unknown, use NONZ for van or NONU for container.
2 NA04 contains the equipment number of an associated shipment.
3 NA09 is the Standard Carrier Alpha Code (SCAC) code of the operator of the
equipment.
Data Element Summary
Data
Element Name
Attributes
128
Reference Identification Qualifier
O ID 2/3
Code qualifying the Reference Identification
BL
Government Bill of Lading
BM
Bill of Lading Number
BN
Booking Number
CO
Customer Order Number
CR
Customer Reference Number
GR
Grain Order Reference Number
SI
Shipper's Identifying Number for Shipment (SID)
A unique number (to the shipper) assigned by the
shipper to identify the shipment
WY
Waybill Number
NA02
127
Reference Identification
X AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
M
NA03
206
Equipment Initial
M AN 1/4
Prefix or alphabetic part of an equipment unit's identifying number
Mandatory for Canadian Pacific Railway
M
NA04
207
Equipment Number
M AN 1/10
Sequencing or serial part of an equipment unit's identifying number (pure
numeric form for equipment number is preferred)
Mandatory for Canadian Pacific Railway
NA05
231
Cross Reference Type Code
X12 Version 004010
40
O ID 1/1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Code defining relationship of equipment to equipment cross-referenced
A
Additional Equipment for Manifest Billing
B
Basket Attached to Chassis (to hold generator set)
C
Prior Load Credit
F
Conveying Flat Car
G
Reference to Lead Equipment for Manifest Billing
H
Generator Set
K
Clip-on Front-Mounted Generator Unit For Container
L
Lead Car
M
Mated
N
Cryogenic Apparatus
T
Trailer
NA07
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
NA08
567
Equipment Length
O 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)
NA09
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
NA11
1073
Yes/No Condition or Response Code
O ID 1/1
Code indicating a Yes or No condition or response
Refer to 004010 Data Element Dictionary for acceptable code values.
X12 Version 004010
41
O ID 2/4
O ID 2/4
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
F9 Origin Station
190
Mandatory
1
To identify the rail origin of the shipment
1
2
3
4
5
6
Comments:
7
8
1
F902 is the origin station for movement.
F904 is the country code for the city named in the F902.
F905 is the freight station accounting code of the origin junction settlement
carrier.
F908 is the Standard Point Location Code (SPLC) for the city named in the
F902.
F909 is the postal code for the city named in the F902.
F910 is the Standard Point Location Code (SPLC) for the city named in the
F906.
F911 is the postal code for the city named in the F906.
F912 is the country code for the city named in the F906.
F905 is the freight station accounting code of the city named in F906.
Data Element Summary
M
Ref.
Des.
F902
M
F903
X12 Version 004010
Data
Element Name
19
City Name
Free-form text for city name
Mandatory for Canadian Pacific Railway
156
Attributes
M AN 2/30
State or Province Code
M ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
Mandatory for Canadian Pacific Railway
42
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
D9 Destination Station
200
Mandatory
1
To identify the rail destination of the shipment
1
2
3
4
5
6
Comments:
7
8
1
D902 is the destination station of movement.
D904 is the country code for the city named in the D902.
D905 is the freight station accounting code of the destination junction
settlement carrier.
D908 is the Standard Point Location Code (SPLC) for the city named in the
D902.
D909 is the postal code for the city names in the D902.
D910 is the Standard Point Location Code (SPLC) for the city named in the
D906.
D911 is the postal code for the city named in the D906.
D912 is the country code for the city named in the D906.
D905 is the freight station accounting code of the city name in D906.
Data Element Summary
M
Ref.
Des.
D902
M
D903
X12 Version 004010
Data
Element Name
19
City Name
Free-form text for city name
Mandatory for Canadian Pacific Railway
156
Attributes
M AN 2/30
State or Province Code
M ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
Mandatory for Canadian Pacific Railway
43
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
N1 Name
210
N1
Mandatory
Mandatory
1
To identify a party by type of organization, name, and code
1 At least one of N102 or N103 is required.
2 If either N103 or N104 is present, then the other is required.
1
This segment, used alone, provides the most efficient method of providing
organizational identification. To obtain this efficiency the "ID Code" (N104)
must provide a key to the table maintained by the transaction processing party.
2 N105 and N106 further define the type of entity in N101.
1) At least two occurrences of the N1 Loop to identify Shipper and Consignee is
required on all shipments.
2) For Custom Purposes, if shipments are crossing an International Border, then full
Name and Address details are required.
3) At least one additional occurrence of the N1 Loop to identify a Customs Broker
is required for shipments from Canada for U.S. consumption or from the U.S. for
Canadian consumption.
M
Ref.
Des.
N101
X12 Version 004010
Data Element Summary
Data
Element Name
Attributes
98
Entity Identifier Code
M ID 2/3
Code identifying an organizational entity, a physical location, property or
an individual
Mandatory for Canadian Pacific Railway
11
Party to be billed(AAR Accounting Rule 11)
AA
Authority For Shipment
AD
Party to be advised (Written orders)
AP
Account of (Origin Party)
AQ
Account of (Destination Party)
BN
Beneficial Owner
BT
Bill-to-Party
C1
In Care Of Party no. 1
CB
Customs Broker
CD
Consignee (To Receive Mail and Small Parcels)
CM
Customs
CN
Consignee
CV
Converter
DM
Destination Mail Facility
44
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
DR
IM
MC
N1
N2
NC
NP
OM
OO
OR
PF
PJ
PU
PV
R1
SF
SH
SS
UC
XQ
XR
XU
Destination Drayman
Importer
Motor Carrier
Notify Party no. 1
Notify Party no. 2
Cross-Town Switch
Local Rail Movement
Notify Party for Shipper's Order
Origin Mail Facility
Order Of (Shippers Orders) - (Transportation)
Origin Drayman
Party to Receive Freight Bill
Party to Receive Correspondence
Party at Pick-up Location
Party performing certification
Party to Receive Scale Ticket
Party receiving document containing weight
information from scale
Ship From
Shipper
Steamship Company
Ultimate Consignee
Canadian Customs Broker
Mexican Customs Broker
United States Customs Broker
N102
93
Name
Free-form name
N103
66
Identification Code Qualifier
X ID 1/2
Code designating the system/method of code structure used for
Identification Code (67)
C5
Customer Identification File
ZZ
Mutually Defined
Used to report the Importer Number to U.S.
Customs if N1-01 value is 'IM'.
N104
67
Identification Code
Code identifying a party or other code
X12 Version 004010
X AN 1/60
45
X AN 2/80
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Usage Notes:
N3 Address Information
220
N1
Mandatory
Optional (Must Use)
2
To specify the location of the named party
Mandatory for Canadian Pacific Railway
Data Element Summary
M
Ref.
Des.
N301
N302
X12 Version 004010
Data
Element Name
166
Address Information
Address information
Mandatory for Canadian Pacific Railway
166
Address Information
Address information
46
Attributes
M AN 1/55
O AN 1/55
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Usage Notes:
N4 Geographic Location
230
N1
Mandatory
Optional (Must Use)
1
To specify the geographic place of the named party
1 If N406 is present, then N405 is required.
1
A combination of either N401 through N404, or N405 and N406 may be
adequate to specify a location.
2 N402 is required only if city name (N401) is in the U.S. or Canada.
Mandatory for Canadian Pacific Railway
Data Element Summary
Data
Element Name
19
City Name
Free-form text for city name
Mandatory for Canadian Pacific Railway
M/U
Ref.
Des.
N401
M/U
N402
156
State or Province Code
O ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
Mandatory for Canadian Pacific Railway
M/U
N403
116
Postal Code
O ID 3/15
Code defining international postal zone code excluding punctuation and
blanks (zip code for United States)
Mandatory for Canadian Pacific Railway
N404
26
Country Code
Code identifying the country
X12 Version 004010
47
Attributes
O AN 2/30
O ID 2/3
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
PER Administrative Communications Contact
240
N1
Mandatory
Optional
2
To identify a person or office to whom administrative communications should be
directed
1 If either PER03 or PER04 is present, then the other is required.
2 If either PER05 or PER06 is present, then the other is required.
3 If either PER07 or PER08 is present, then the other is required.
Semantic Notes:
Comments:
Data Element Summary
M
Ref.
Des.
PER01
Data
Element Name
Attributes
366
Contact Function Code
M ID 2/2
Code identifying the major duty or responsibility of the person or group
named
Mandatory for Canadian Pacific Railway
AD
Accounting Department
AS
Authorized Signature
BC
Broker Contact
DC
Delivery Contact
EC
Emergency Contact-Shipper
FC
Forwarder Contact
IC
Information Contact
NT
Notification Contact
SH
Shipper Contact
PER02
93
Name
Free-form name
O AN 1/60
PER03
365
Communication Number Qualifier
Code identifying the type of communication number
EM
Electronic Mail
FX
Facsimile
TE
Telephone
X ID 2/2
PER04
364
Communication Number
X AN 1/80
Complete communications number including country or area code when
applicable
If PER03 value is 'FX' or 'TE' then a minimum of 10 numerical digits are
required to identify the FAX or Telephone Number (3-digit Area Code)+{7
X12 Version 004010
48
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
-digit Phone Number).
PER05
365
Communication Number Qualifier
Code identifying the type of communication number
EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER06
364
Communication Number
X AN 1/80
Complete communications number including country or area code when
applicable
If PER05 value is 'FX' or 'TE' then a minimum of 10 numerical digits are
required to identify the FAX or Telephone Number (3-digit Area Code)+{7
-digit Phone Number).
PER07
365
Communication Number Qualifier
Code identifying the type of communication number
EM
Electronic Mail
FX
Facsimile
TE
Telephone
PER08
364
Communication Number
X AN 1/80
Complete communications number including country or area code when
applicable
If PER07 value is 'FX' or 'TE' then a minimum of 10 numerical digits are
required to identify the FAX or Telephone Number (3-digit Area Code)+{7
-digit Phone Number).
X12 Version 004010
49
X ID 2/2
X ID 2/2
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
BL Billing Information
252
N1
Mandatory
Optional (Not Recommended)
12
To identify the individual billing segments within a movement when joint rail rates
have been established between carriers but do not cover the entire movement
1 At least one of BL04 or BL05 is required.
2 If either BL05 or BL06 is present, then the other is required.
3 At least one of BL08 or BL09 is required.
4 If either BL09 or BL10 is present, then the other is required.
1 BL02 is the FSAC for the origin point of the rate for this portion of this
movement.
2 BL03 is the FSAC for the destination point of the rate for this portion of the
movement.
3 BL04 is the Standard Point Location Code (SPLC) for the origin point of the
rate for this portion of the movement.
4 BL05 through BL07 is the city, state, and country for the rate for the beginning
portion of the move.
5 BL08 is the Standard Point Location Code (SPLC) for the destination point of
the rate for this portion of the move.
6 BL09 through BL11 is the city, state, and country for the rate for ending
portion of the move.
7 BL12 is the Standard Carrier Alpha Code (SCAC) of the first carrier
participating in the rate for the move defined in BL02 through BL11.
This segment is not supported by Canadian Pacific Railway. If present and
syntactically correct, it will not cause any errors but will not be used.
Data Element Summary
Data
Element Name
Attributes
747
Rebill Reason Code
M ID 2/2
Code identifying reason for rebill
Mandatory for Canadian Pacific Railway
Refer to 004010 Data Element Dictionary for acceptable code values.
M
Ref.
Des.
BL01
M
BL02
573
Freight Station Accounting Code
M ID 1/5
Code (Freight Station Accounting) (AAR Managed Code for Locations)
Mandatory for Canadian Pacific Railway
M
BL03
573
Freight Station Accounting Code
M ID 1/5
Code (Freight Station Accounting) (AAR Managed Code for Locations)
Mandatory for Canadian Pacific Railway
BL04
154
Standard Point Location Code
X ID 6/9
Code (Standard Point Location) defined by NMFTA point development
X12 Version 004010
50
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
group as the official code assigned to a city or point (for ratemaking
purposes) within a city
BL05
19
City Name
Free-form text for city name
BL06
156
State or Province Code
X ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
BL07
26
Country Code
Code identifying the country
BL08
154
Standard Point Location Code
X ID 6/9
Code (Standard Point Location) defined by NMFTA point development
group as the official code assigned to a city or point (for ratemaking
purposes) within a city
BL09
19
City Name
Free-form text for city name
BL10
156
State or Province Code
X ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
BL11
26
Country Code
Code identifying the country
O ID 2/3
BL12
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
BL13
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
BL14
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
BL15
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
BL16
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
BL17
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
O ID 2/4
X12 Version 004010
51
X AN 2/30
O ID 2/3
X AN 2/30
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
S1 Stop-off Name
430
S1
Optional
Optional
1
To identify a stop-off party
1 If either S103 or S104 is present, then the other is required.
1 S105 will contain the railroad initial responsible for this stop.
Data Element Summary
M
Ref.
Des.
S101
M
S102
459
Name (30 Character Format)
M AN 2/30
Free-form organization name or official title as it should appear for mailing
address
Mandatory for Canadian Pacific Railway
S103
66
Identification Code Qualifier
X ID 1/2
Code designating the system/method of code structure used for
Identification Code (67)
C5
Customer Identification File
S104
67
Identification Code
Code identifying a party or other code
X AN 2/80
M/U
S105
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
Mandatory for Canadian Pacific Railway
O ID 2/4
M
S106
190
Accomplish Code
Code indicating the status of a specified stop
Mandatory for Canadian Pacific Railway
P
Pending
M ID 1/1
X12 Version 004010
Data
Element Name
Attributes
165
Stop Sequence Number
M N0 1/3
Identifying number for the specific stop and the sequence in which the
stop is to be performed
Mandatory for Canadian Pacific Railway
52
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
S2 Stop-off Address
440
S1
Optional
Optional
2
To specify the address of the stop-off party
1
S201 contains the same stop sequence number used on a corresponding S1
Segment.
Data Element Summary
M
Ref.
Des.
S201
M
S202
166
Address Information
Address information
Mandatory for Canadian Pacific Railway
M AN 1/55
S203
166
Address Information
Address information
O AN 1/55
X12 Version 004010
Data
Element Name
Attributes
165
Stop Sequence Number
M N0 1/3
Identifying number for the specific stop and the sequence in which the
stop is to be performed
Mandatory for Canadian Pacific Railway
53
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
S9 Stop-off Station
448
S1
Optional
Optional
1
To specify location details for a stop-off
1 If either S907 or S908 is present, then the other is required.
1
S901 contains the same number used on a corresponding S1 Segment.
Data Element Summary
M
Ref.
Des.
S901
Data
Element Name
Attributes
165
Stop Sequence Number
M N0 1/3
Identifying number for the specific stop and the sequence in which the
stop is to be performed
Mandatory for Canadian Pacific Railway
S902
154
Standard Point Location Code
O ID 6/9
Code (Standard Point Location) defined by NMFTA point development
group as the official code assigned to a city or point (for ratemaking
purposes) within a city
M
S903
19
City Name
Free-form text for city name
Mandatory for Canadian Pacific Railway
M
S904
156
State or Province Code
M ID 2/2
Code (Standard State/Province) as defined by appropriate government
agency
Mandatory for Canadian Pacific Railway
S905
26
Country Code
Code identifying the country
S906
163
Stop Reason Code
M ID 2/2
Code specifying the reason for the stop
Mandatory for Canadian Pacific Railway
CL
Complete
CN
Consolidate
CU
Complete Unload
DR
Deramp and Ramp for Subsequent Loading
HT
Heat the Shipment
IN
Inspection
PL
Part Load
PU
Part Unload
M
X12 Version 004010
54
M AN 2/30
O ID 2/3
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
TL
WL
X12 Version 004010
Transload
Weigh Loaded
55
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Usage Notes:
M
Ref.
Des.
R201
M
R202
X12 Version 004010
R2 Route Information
460
Optional (Must Use)
13
To specify carrier and routing sequences and details
1 If R208 is present, then R207 is required.
1 R203 is the station or city name at which carriers interchange shipments.
2 R210 is the billing date.
Mandatory for Canadian Pacific Railway
Data Element Summary
Data
Element Name
140
Standard Carrier Alpha Code
Standard Carrier Alpha Code
Mandatory for Canadian Pacific Railway
133
Attributes
M ID 2/4
Routing Sequence Code
M ID 1/2
Code describing the relationship of a carrier to a specific shipment
movement
Mandatory for Canadian Pacific Railway
1
1st Carrier after Origin Carrier
2
2nd Carrier after Origin Carrier
3
3rd Carrier after Origin Carrier
4
4th Carrier after Origin Carrier
5
5th Carrier after Origin Carrier
6
6th Carrier after Origin Carrier
7
7th Carrier after Origin Carrier
8
8th Carrier after Origin Carrier
9
9th Carrier after Origin Carrier
A
Origin Carrier, Agent's Routing (Rail)
D
DELY (Delivery Switch Carrier)
Used to identify the Rail Carrier who delivers the
shipment to the facility but does not partake in the
Line Haul of the Shipment.
I
Origin Switch Carrier
Used to identify the Rail Carrier who switches the
facility but does not partake in the Line Haul of the
shipment.
R
Origin Carrier, Rule 11 Shipment
56
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
S
V
If used, then an N1 Loop where N1-01 value is 11 is
required to identify the party that each carrier in the
Line Haul route must mail their Freight Bill.
Origin Carrier, Shipper's Routing (Rail)
Intermediate Switch Carrier
R203
19
City Name
Free-form text for city name
R204
154
Standard Point Location Code
O ID 6/9
Code (Standard Point Location) defined by NMFTA point development
group as the official code assigned to a city or point (for ratemaking
purposes) within a city
R205
177
Intermodal Service Code
O ID 1/2
Code identifying the Intermodal Service Plan
15
MOTOR/RAIL R-R RAMP TO RAMP
20
RAIL
T-RT DOOR TO DOOR
22
RAIL
T-R DOOR TO DESTINATION
RAMP
25
RAIL
R-R RAMP TO RAMP
27
RAIL
R-T ORIGIN RAMP TO DOOR
40
STEAMSHIP/STACK T-R-T DOOR TO DOOR
[DOMESTIC CONTAINER MOVEMENTS]
42
STEAMSHIP/STACK T-R DOOR TO
DESTINATION RAMP [DOMESTIC CONTAINER
MOVEMENT]
45
STEAMSHIP/STACK R-R RAMP TO RAMP
[DOMESTIC CONTAINER MOVEMENT]
47
STEAMSHIP/STACK R-T ORIGINAL RAMP TO
DOOR [DOMESTIC CONTAINER MOVEMENT]
60
PATRON
T-R-T DOOR TO DOOR
[PATRON SUPPLIED EQUIPMENT]
62
PATRON
T-R DOOR TO
DESTINATION RAMP [PATRON SUPPLIED
EQUIPMENT]
65
PATRON
R-R RAMP TO RAMP
[PATRON SUPPLIED EQUIPMENT]
67
PATRON
R-T ORIGIN RAMP TO
DOOR [PATRON SUPPLIED EQUIPMENT]
80
STEAMSHIP/STACK T-R DOOR TO DOOR
[INTERNATIONAL SHIPMENTS]
82
STEAMSHIP/STACK T-R DOOR TO
DESTINATION RAMP [INTERNATIONAL
SHIPMENTS]
85
STEAMSHIP/STACK R-R RAMP TO RAMP
[INTERNATIONAL SHIPMENTS]
X12 Version 004010
57
O AN 2/30
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
87
STEAMSHIP/STACK R-T ORIGIN RAMP TO
DOOR [INTERNATIONAL SHIPMENTS]
R207
296
Intermediate Switch Carrier
X ID 2/4
Code defining a road which neither originates nor terminates the shipment
but provides a switching service between two roadhaul rail carriers
(SCAC code for rail switch carrier)
R208
296
Intermediate Switch Carrier
O ID 2/4
Code defining a road which neither originates nor terminates the shipment
but provides a switching service between two roadhaul rail carriers
(SCAC code for rail switch carrier)
X12 Version 004010
58
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
H3 Special Handling Instructions
520
Optional
20
To specify special handling instructions in coded or free-form format
1 Only one of H301 or H302 may be present.
Data Element Summary
Ref.
Des.
H301
X12 Version 004010
Data
Element Name
Attributes
152
Special Handling Code
X ID 2/3
Code specifying special transportation handling instructions
Only Special Handling Codes are acceptable in Rail. Discuss with your
Technology Deployment Specialist which valid codes to use.
59
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
PS Protective Service Instructions
530
Optional
5
To specify mechanical protective service and ventilation instructions
1 If PS03 is present, then at least one of PS04 or PS14 is required.
2 If PS04 is present, then PS03 is required.
3 If PS14 is present, then PS03 is required.
1 PS03 qualifies the temperature in PS04 and PS14.
2 PS04 is the optimum allowable temperature condition for shipment.
3 PS11 identifies the location of the heater. A "Y" indicates the heater is ceiling
-mounted; an "N" indicates the heater is in the body.
4 PS12 identifies whether or not the commodity is a food product. A "Y"
indicates the commodity is a food product; an "N" indicates it is a non-food
product.
5 PS13 indicates the amount of doorway space for the full width of the car. A
"Y" indicates the doorway space is not less than 30 inches for the full width of
the car; an "N" indicates it is less than 30 inches.
6 PS14 is the set temperature at service origin.
1 PS05 through PS08 are used to specify the station to which the temperature
applies. PS05 and PS06 are preferred over PS07 and PS08.
2 PS09 is the weight of body ice in hundreds.
Data Element Summary
M
Ref.
Des.
PS01
X12 Version 004010
Data
Element Name
Attributes
746
Protective Service Rule Code
M ID 3/9
Association of American Railroads (AAR) Protective Service that applies
to shipment
Mandatory for Canadian Pacific Railway
509
Heating Code: Modified Carriers Protective Service
[Intrastate Only]
510
Heating Code: Shippers Protective Service
515
Heating Code: Carriers Protective Service
580
Heating Code: Special Heater Protective Service
705
Ral Car: Optimum Termperature of Zero Degrees or
Less
710
Rail Car: Optimum Temperature Above Zero
711
Rail Car: Place Under Modified MPS at First Regular
Inspection Station After Car Thermometer Reading
Rises Above Optimum Temperature
715
Rail Car: Optimum Temperature of Zero Degrees or
Less [Car Owned/Leased by Shipper
60
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
720
765
805
810
830
Rail Car: Do Not Operate Unit
Rail Car: Optimum Temperature Above Zero with
Body Ice
Van/Container: Optimum Temperature
Van/Container: Ventilators Opened At Origin
Van/Container: Optimum Temperature of Zero
Degrees or Less
M
PS02
241
Protective Service Code
M ID 1/4
Code specifying perishable protective service- rail carriers only
Mandatory for Canadian Pacific Railway
D
Discontinue Service
HDN
Do Not Heat
HDNC
Do Not Heat in Canada
HSC
Standard Heating In Canada
M
Standard Mechanical Protective Service
MN
Modified Mechanical Protective Service
MNU
Do Not Operate
D
PS03
355
Unit or Basis for Measurement Code
X ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
For Intermodal Shipments, this element is required.
CE
Centigrade, Celsius
FA
Fahrenheit
D
PS04
408
Temperature
Temperature
For Intermodal Shipments, this element is required.
X12 Version 004010
61
X R 1/4
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LX Assigned Number
540
LX
Mandatory
Mandatory
1
To reference a line number in a transaction set
Data Element Summary
M
Ref.
Des.
LX01
X12 Version 004010
Data
Element Name
Attributes
554
Assigned Number
M N0 1/6
Number assigned for differentiation within a transaction set
Mandatory for Canadian Pacific Railway
62
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
L5 Description, Marks and Numbers
550
LX
Mandatory
Mandatory
1
To specify the line item in terms of description, quantity, packaging, and marks and
numbers
1 If either L503 or L504 is present, then the other is required.
2 If L507 is present, then L506 is required.
3 If either L508 or L509 is present, then the other is required.
1
L502 may be used to send quantity information as part of the product
description.
Data Element Summary
M/U
Ref.
Des.
L501
M/U
L502
79
Lading Description
O AN 1/50
Description of an item as required for rating and billing purposes
Mandatory for Canadian Pacific Railway
For Customs Purposes, when shipments are intended to cross
international borders a full but brief description is required. The
description should be presented in a way that Customs Enforcement
Officers can mentally visualize the contents in the equipment. Generic
descriptions of FAK, Freight All Kinds, Household Goods, Sporting Goods
etc is no longer acceptable by both U.S. and Canadian Customs.
M/U
L503
22
Commodity Code
Code describing a commodity or group of commodities
Mandatory for Canadian Pacific Railway
M/U
L504
23
Commodity Code Qualifier
X ID 1/1
Code identifying the commodity coding system used for Commodity Code
Mandatory for Canadian Pacific Railway
L
Last Contained Contents STCC
T
Standard Transportation Commodity Code (STCC)
L510
595
Compartment ID Code
O ID 1/1
Code identifying the compartment in a compartmentalized tank car
1
Brake End
2
2nd from Brake End
3
3rd from Brake End
X12 Version 004010
Data
Element Name
213
Lading Line Item Number
Sequential line number for a lading item
Mandatory for Canadian Pacific Railway
63
Attributes
O N0 1/3
X AN 1/30
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
4
5
6
X12 Version 004010
4th from Brake End
5th from Brake End
6th from Brake End
64
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
L5 Additinal Description
560
LX
Mandatory
Optional
14
To specify the line item in terms of description, quantity, packaging, and marks and
numbers
1 If either L503 or L504 is present, then the other is required.
2 If L507 is present, then L506 is required.
3 If either L508 or L509 is present, then the other is required.
1
L502 may be used to send quantity information as part of the product
description.
Data Element Summary
M/U
Ref.
Des.
L501
M/U
L502
X12 Version 004010
Data
Element Name
213
Lading Line Item Number
Sequential line number for a lading item
Mandatory for Canadian Pacific Railway
79
Attributes
O N0 1/3
Lading Description
O AN 1/50
Description of an item as required for rating and billing purposes
Mandatory for Canadian Pacific Railway
65
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Usage Notes:
M/U
Ref.
Des.
L001
L0 Line Item - Quantity and Weight
570
L0
Optional (Must Use)
Optional (Must Use)
1
To specify quantity, weight, volume, and type of service for a line item including
applicable "quantity/rate-as" data
1 If either L002 or L003 is present, then the other is required.
2 If either L004 or L005 is present, then the other is required.
3 If either L006 or L007 is present, then the other is required.
4 If either L008 or L009 is present, then the other is required.
5 If L011 is present, then L004 is required.
6 If either L013 or L015 is present, then the other is required.
1 L008 is the number of handling units of the line item tendered to the carrier.
2 L013 can only be used if the code in L009 is PLT, SKD, or SLP.
3 L015 designates whether the carrier will be required to verify the number of
units contained on a pallet, slip sheet or skid. Code "Y" indicates that the carrier
will be required to verify. Code "N" indicates that the carrier will not be required
to verify.
1 L013 is used to convey the total number of boxes, cartons, or pieces contained
on a pallet, skid, or slip sheet for the line item.
Mandatory for Canadian Pacific Railway
Data Element Summary
Data
Element Name
213
Lading Line Item Number
Sequential line number for a lading item
Mandatory for Canadian Pacific Railway
Attributes
O N0 1/3
L002
220
Billed/Rated-as Quantity
X R 1/11
Basis for rating (miles, value, volume, etc.); Note: Weight may be defined
by either data element 220 or 81
L003
221
Billed/Rated-as Qualifier
X ID 2/2
Code identifying the type of quantity or value on which the rate or item
pricing is based
DM
Miles
GL
Gallon
ND
Cord
A volume measurement
NP
Piece
NU
Unit
A specific measurement in rating shipments
NV
Vehicle
X12 Version 004010
66
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
RV
Release Value
L004
81
Weight
Numeric value of weight
L005
187
Weight Qualifier
X ID 1/2
Code defining the type of weight
A3
Shippers Weight
B
Billed Weight
C
Actual Net Repeated for Combination
E
Estimated Net Weight
G
Gross Weight
J
Light Weight
K
Clean Out
M
Minimum Weight (for rate)
N
Actual Net Weight
O
Excess Weight Over Maximum
X
Maximum Weight (for Rate)
L006
183
Volume
Value of volumetric measure
X R 1/8
L007
184
Volume Unit Qualifier
Code identifying the volume unit
D
Cord
E
Cubic Feet
F
100 Board Feet
G
Gallons
T
Container
U
Volumetric Unit
V
Liter
X ID 1/1
M/U
L008
80
Lading Quantity
Number of units (pieces) of the lading commodity
Mandatory for Canadian Pacific Railway
Required for Transborder Traffic.
X N0 1/7
M/U
L009
211
Packaging Form Code
Code for packaging form of the lading quantity
Mandatory for Canadian Pacific Railway
Required for Transborder Traffic.
AMM
Ammo Pack
BAG
Bag
BAL
Bale
BBL
Barrel
BDL
Bundle
X ID 3/3
X12 Version 004010
67
X R 1/10
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
BEM
BIC
BIN
BKG
BLK
BOB
BOT
BOX
BRG
BSK
BXI
BXT
CAB
CAG
CAN
CAR
CAS
CBC
CBY
CCS
CHE
CHS
CLD
CNT
COL
COR
CRD
CRT
CSK
CTN
CUB
CYL
DBK
X12 Version 004010
Beam
Bing Chest
Bin
Bulk Bag
A large sized flexible, intermediate bulk container; the
side walls are flexible; it's made of fabric; when filled,
it takes on the shape of what you put inside
Bulk
Bobbin
Bottle
A container having a round neck of relatively smaller
diameter than the body with an opening that can be
fitted with lid; it does not have a handle
Box
Barge
Basket or hamper
Box, with inner container
Bucket
Cabinet
Cage
Can
Carrier
Case
Containers of Bulk Cargo
Carboy
Can Case
Cheeses
Chest
Car Load, Rail
Container
Coil
Core
Cradle
Crate
Cask
Carton
Cube
A box that has a "bladder" (poly-formed bladder)
inside; it has an opening similar to bottle; the interior
bladder is flexible not rigid
Cylinder
Dry Bulk
68
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
DRK
DRM
DSK
DTB
ENV
FIR
FLO
FLX
FRM
FSK
FWR
HED
HGH
HPT
HRB
HRK
HTB
JAR
JUG
KEG
KIT
KRK
KTB
LBK
LIF
LOG
LSE
LUG
LVN
MRP
NOL
OVW
X12 Version 004010
Double-length Rack
Drum
A large container with a cylindrical shape; top may
have removable or sealed top sides may be fiberboard
or metal
Double-length Skid
Double-length Tote Bin
Envelope
Firkin
Flo-bin
Liner Bag Liquid
A rubber liner used in a standard container for liquid
material
Frame
Flask
Forward Reel
Heads of Beef
Hogshead
Hopper Truck
On Hanger or Rack in Boxes
Half-standard Rack
Half-Standard Tote Bin
Jar
Jug
A bottle (usually 1/2 gallon or larger) fitted with a
handle
Keg
Kit
Knockdown Rack
Knockdown Tote Bin
Liquid Bulk
Lifts
Log
Loose
Lug
Lift Van
Multi-Roll Pack
Noil
Overwrap
A cardboard bottom is put down on a pallet; the bags
are stacked in layers; the top of the cardboard slides
down over the bags to meet the bottom; if any of the
69
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
PAL
PCK
PCS
PIR
PKG
PLF
PLN
PLT
POV
PRK
QTR
RAL
RCK
REL
ROL
RVR
SAK
SBC
SHK
SID
SKD
SKE
SLP
SLV
SPI
SPL
TBE
TBN
TKR
TKT
TLD
TNK
TRC
TRI
X12 Version 004010
bags tear, the product always stays inside the
cardboard
Pail
Packed - not otherwise specified
Pieces
Pims
Package
Platform
Pipeline
Pallet
Private Vehicle
Pipe Rack
Quarter of Beef
Rail (Semiconductor)
Rack
Reel
Roll
Reverse Reel
Sack
Liner Bag Dry
A plastic liner used in container designed for the
carriage of dry free-flowing material
Shook
Side of Beef
Skid
Skid, elevating or lift truck
Slip Sheet
Shipping containers utilizing slip sheets, which are
cardboard platforms used to hold product for storage
or transportation
Sleeve
Spin Cylinders
Spool
Tube
Tote Bin
Tank Car
Tank Truck
Intermodal Trailer/Container Load (Rail)
Tank
Tierce
Triwall Box
A sturdy box made of three-ply cardboard
70
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
TRK
TRY
TSS
TTC
TUB
UNP
UNT
VEH
VPK
WHE
WLC
WRP
X12 Version 004010
Trunk and Chest
Tray
Trunk, Salesmen Sample
Tote Can
A reusable stainless steel container with handles; used
for liquid material
Tub
Unpacked
Unit
Vehicles
Van Pack
On Own Wheel
Wheeled Carrier
Wrapped
71
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
PI Price Authority Identification
590
L0
Optional (Must Use)
Optional
30
To communicate basis of pricing, such as contract number, quote number, or tariff
number
1 If PI14 is present, then PI12 is required.
2 If PI15 is present, then PI13 is required.
1 PI07 is the price authority suffix for the contract.
2 PI08 is the price authority item number.
3 PI09 is the price authority supplement.
4 PI10 is the price authority section number.
5 PI11 is the price authority suffix for tariff.
6 PI12 is the effective date.
7 PI13 is the expiration date.
Comments:
Data Element Summary
Data
Element Name
128
Reference Identification Qualifier
Code qualifying the Reference Identification
Mandatory for Canadian Pacific Railway
CT
Contract Number
PR
Price Quote Number
TS
Tariff Number
M
Ref.
Des.
PI01
M
PI02
127
Reference Identification
M AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Mandatory for Canadian Pacific Railway
PI03
436
Primary Publication Authority Code
Code indicating type of external reference
OP
Other Publication
TP
Tariff Publication
PI04
930
Regulatory Agency Code
O ID 3/5
Code relating to the regulatory agency governing the price reference
PI05
168
Tariff Agency Code
O ID 1/4
Code defining the tariff bureau or tariff publishing agent that governs the
rates applied to this shipment
PI06
965
Issuing Carrier Identifier
Identification assigned by issuing carrier
X12 Version 004010
72
Attributes
M ID 2/3
O ID 2/2
O AN 1/10
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
PI07
660
Contract Suffix
Used to identify a type of contract
PI08
169
Tariff Item Number
O AN 1/16
Number assigned in the tariff to specific rate or group of rates that applies
to one or more items in the shipment
PI09
173
Tariff Supplement Identifier
O AN 1/4
Identifier for the tariff supplement which contains the rate used
PI10
172
Tariff Section
O AN 1/2
Number used as an extension of the basic tariff number to identify the
rates published within specific sections of the tariff
PI11
660
Contract Suffix
Used to identify a type of contract
O AN 1/2
PI12
373
Date
Date expressed as CCYYMMDD
X DT 8/8
PI13
373
Date
Date expressed as CCYYMMDD
X DT 8/8
X12 Version 004010
73
O AN 1/2
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
X1 Export License
600
LX
Mandatory
Optional
6
To transmit information contained on an export license
1
2
X104 is the export license expiration date.
X116 is the export classification code number (ECCN).
Comments:
Ref.
Des.
X101
Data Element Summary
Data
Element Name
Attributes
83
Licensing Agency Code
O ID 1/1
Code for licensing agency
E
Office of Export Administration
G
Department of Agriculture - Tobacco, Seeds & Plants
I
Department of the Interior - U.S. Endangered Native
Fish and Wildlife and Migratory Birds
J
Department of Justice - Narcotics and Dangerous
Drugs
M
Maritime Administration - Watercraft (Other Than
Vessels of War), Vessels Exported for Scrapping,
Dismantling, Dismembering, or Destroying the Hulls
Thereof (Also Controlled by Office of Export
Administration)
N
Nuclear Regulatory Commission - Commodities
Subject to the Atomic Energy Act
P
Federal Power Commission - Natural Gas and Electric
Energy
S
Department of State - Arms, Ammunition, Implements
of War; Vessels of War
T
Department of Treasury - Gold
X102
50
Export License Number
Government assigned identification number for exporter
X103
51
Export License Status Code
O ID 1/1
Code defining whether the shipment completes the terms of the license, or
the shipment is only a partial delivery relative to the license terms
C
Complete
P
Partial
X104
373
Date
X12 Version 004010
O AN 6/12
O DT 8/8
74
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Date expressed as CCYYMMDD
X105
52
Export License Symbol Code
O ID 1/2
Code which specifies the export symbol marked on a shipment
1
G-Dest - Shipments of Commodities to Destination
Not Requiring a Validated License
2
GLV - Shipments of Limited Value
3
GIT - In-transit Shipments
4
GUS - Shipments to Personnel and Agencies of the
U.S. Government
5
GLC - Exports of Commercial Vehicles by Certain
Civil Airlines and by Private Common Carrier
6
GTF-US - Goods Imported for Display at U.S.
Exhibitions or Trade Fairs
7
GLR - Return or Replacement of Certain Commodities
8
GIFT - Shipment of Gift Parcels
9
GATS - Aircraft on Temporary Sojourn
10
GMS - Shipments Under the Mutual Security Act
11
GTD & GTDR - Technical Data
X106
48
Export License Control Code
O ID 1/1
Code indicating the type of control applicable to the export license
Refer to 004010 Data Element Dictionary for acceptable code values.
X107
26
Country Code
Code identifying the country
X108
141
Schedule B Code
O ID 7/10
Code identifying commodity number established for international statistical
purposes
X109
210
International/Domestic Code
O ID 1/1
Code indicating international or domestic shipment
Refer to 004010 Data Element Dictionary for acceptable code values.
X110
80
Lading Quantity
Number of units (pieces) of the lading commodity
X111
148
Lading Value
O R 2/9
Value of shipment for export, expressed in the standard monetary
denomination for the currency specified
X112
47
Export Filing Key Code
O ID 1/1
Code indicating the type of communications with customs
A
Automatic (Machine Readable)
M
Manual (Forms)
X113
355
Unit or Basis for Measurement Code
O ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
1F
Train Mile
X12 Version 004010
75
O ID 2/3
O N0 1/7
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
1H
1J
1K
1L
B4
B5
BA
BD
BE
BF
BG
BI
BO
BR
BU
BV
BX
C4
CA
CC
CE
CF
CH
CI
CL
CM
CN
CP
CR
CT
X12 Version 004010
The first locomotive in a train moving one mile
Caboose Mile
One caboose moving one mile
Ton Miles
Tons of freight multiplied by the number of times
moved; includes non-revenue freight such as material
used to maintain trackage and right-of-way
Locomotive Mile
One locomotive moving one mile
Total Car Count
The sum of cars, locomotives, and cabooses moving
over a specified track; the conversion rate for
locomotives and cabooses is set by contract
Barrel, Imperial
Billet
Bale
Bundle
Beam
Board Feet
Bag
Bar
A centimeter-gram-second unit of pressure, equal to
one million dynes per square centimeter
Bottle
Barrel
Bushel
32 dry quarts
Bushel, Dry Imperial
Box
Carload
Case
Cubic Centimeter
Centigrade, Celsius
Cubic Feet
Container
Cubic Inches
Cylinder
Centimeter
Can
Crate
Cubic Meter
Carton
76
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
CU
CX
CY
DF
DG
DJ
DL
DR
DT
DZ
FA
FO
FT
GA
GH
GI
GR
HA
HG
HJ
HM
IN
JR
JU
KE
KG
KN
LB
LG
LP
LT
M3
M5
M8
ML
MN
MP
MR
X12 Version 004010
Cup
Coil
Cubic Yard
Dram
Decigram
Decagram
Deciliter
Drum
Dry Ton
Dozen
Fahrenheit
Fluid Ounce
Foot
Gallon
Half Gallon
Imperial Gallons
Gram
Hank
One hundred feet of rope
Hectogram
Horsepower
Miles Per Hour
Inch
Jar
Jug
Keg
A unit of weight equal to 100 pounds, used for nails
Kilogram
Kilometer
Pound
Long Ton
2240 pounds as used in the U.K.
Liquid Pounds
Liter
Mat
Microcurie
Mega Pascals
Milliliter
Metric Net Ton
Metric Ton
Meter
77
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
MS
MT
MU
NS
NW
OZ
PC
PK
PL
PV
PX
PY
PZ
QR
QS
QT
QU
RL
RM
SC
SF
SH
SI
SJ
SM
SN
SV
SY
TB
TE
TK
TO
TX
TY
UN
VI
WH
X12 Version 004010
Square Millimeter
Metric Long Ton
Millicurie
Short Ton
Two thousand pounds
Newton
Represents force in the International Metric System
(SI); equal to the force that produces an acceleration
of 1 meter per second on a mass of 1 kilogram
Ounce - Av
Piece
Package
Pallet/Unit Load
Half Pint
Pint, Imperial
Peck, Dry U.S.
Peck, Dry Imperial
Quire
Quart, Dry U.S.
Quart
Quart, Imperial
Roll
Ream
Square Centimeter
Square Foot
Sheet
Square Inch
Sack
Square Meter
Square Rod
Skid
Square Yard
Tube
Tote
Tank
Troy Ounce
Troy Pound
Tray
Unit
Vial
Wheel
78
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
YD
ZZ
Yard
Mutually Defined
X114
212
Unit Price
Price per unit of product, service, commodity, etc.
O R 1/17
X115
1306
U.S. Government License Type
Code to identify the type of government license involved
O AN 1/1
X116
67
X12 Version 004010
Identification Code
O AN 2/80
Code identifying a party or other code
Used to convey the Automated Export System (AES) Number for those
shippers who file their Export Documentation electronically with United
States Customs.
79
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LS Loop Header
670
Optional
1
To indicate that the next segment begins a loop
1
1
One loop may be nested contained within another loop, provided the inner
nested loop terminates before the outer loop. When specified by the standard
setting body as mandatory, this segment in combination with "LE", must be
used. It is not to be used if not specifically set forth for use. The loop identifier
in the loop header and trailer must be identical. The value for the identifier is the
loop ID of the required loop segment. The loop ID number is given on the
transaction set diagram in the appropriate ASC X12 version/release.
See Figures Appendix for an explanation of the use of the LS and LE segments.
Data Element Summary
M
Ref.
Des.
LS01
X12 Version 004010
Data
Element Name
Attributes
447
Loop Identifier Code
M AN 1/6
The loop ID number given on the transaction set diagram is the value for
this data element in segments LS and LE
Mandatory for Canadian Pacific Railway
LH1
Loop Start
80
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LH1 Hazardous Identification Information
680
LH1
Optional
1
To specify the hazardous commodity identification reference number and quantity
1
2
3
M
Ref.
Des.
LH101
X12 Version 004010
Optional
LH101 and LH102 are used to convey the number and type of packages for
bulk and nonbulk movements.
LH106 and LH107 are used to convey the quantity or volume and unit of
measure for nonbulk shipments only.
In LH109, a value of "R" or "P" requires that the receiver generate the words
"residue: last contained" prior to the shipping name in accordance with
regulations.
Data Element Summary
Data
Element Name
Attributes
355
Unit or Basis for Measurement Code
M ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
Mandatory for Canadian Pacific Railway
1F
Train Mile
The first locomotive in a train moving one mile
1H
Caboose Mile
One caboose moving one mile
1J
Ton Miles
Tons of freight multiplied by the number of times
moved; includes non-revenue freight such as material
used to maintain trackage and right-of-way
1K
Locomotive Mile
One locomotive moving one mile
1L
Total Car Count
The sum of cars, locomotives, and cabooses moving
over a specified track; the conversion rate for
locomotives and cabooses is set by contract
B4
Barrel, Imperial
B5
Billet
BA
Bale
BD
Bundle
BE
Beam
81
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
BF
BG
BI
BO
BR
BU
BV
BX
C4
CA
CC
CE
CF
CH
CI
CL
CM
CN
CP
CR
CT
CU
CX
CY
DF
DG
DJ
DL
DR
DT
DZ
FA
FO
FT
GA
GH
GI
GR
X12 Version 004010
Board Feet
Bag
Bar
A centimeter-gram-second unit of pressure, equal to
one million dynes per square centimeter
Bottle
Barrel
Bushel
32 dry quarts
Bushel, Dry Imperial
Box
Carload
Case
Cubic Centimeter
Centigrade, Celsius
Cubic Feet
Container
Cubic Inches
Cylinder
Centimeter
Can
Crate
Cubic Meter
Carton
Cup
Coil
Cubic Yard
Dram
Decigram
Decagram
Deciliter
Drum
Dry Ton
Dozen
Fahrenheit
Fluid Ounce
Foot
Gallon
Half Gallon
Imperial Gallons
Gram
82
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
HA
HG
HJ
HM
IN
JR
JU
KE
KG
KN
LB
LG
LP
LT
M3
M5
M8
ML
MN
MP
MR
MS
MT
MU
NS
NW
OZ
PC
PK
PL
PV
PX
PY
PZ
X12 Version 004010
Hank
One hundred feet of rope
Hectogram
Horsepower
Miles Per Hour
Inch
Jar
Jug
Keg
A unit of weight equal to 100 pounds, used for nails
Kilogram
Kilometer
Pound
Long Ton
2240 pounds as used in the U.K.
Liquid Pounds
Liter
Mat
Microcurie
Mega Pascals
Milliliter
Metric Net Ton
Metric Ton
Meter
Square Millimeter
Metric Long Ton
Millicurie
Short Ton
Two thousand pounds
Newton
Represents force in the International Metric System
(SI); equal to the force that produces an acceleration
of 1 meter per second on a mass of 1 kilogram
Ounce - Av
Piece
Package
Pallet/Unit Load
Half Pint
Pint, Imperial
Peck, Dry U.S.
Peck, Dry Imperial
83
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
QR
QS
QT
QU
RL
RM
SC
SF
SH
SI
SJ
SM
SN
SV
SY
TB
TE
TK
TO
TX
TY
UN
VI
WH
YD
ZZ
Quire
Quart, Dry U.S.
Quart
Quart, Imperial
Roll
Ream
Square Centimeter
Square Foot
Sheet
Square Inch
Sack
Square Meter
Square Rod
Skid
Square Yard
Tube
Tote
Tank
Troy Ounce
Troy Pound
Tray
Unit
Vial
Wheel
Yard
Mutually Defined
M
LH102
80
Lading Quantity
Number of units (pieces) of the lading commodity
Mandatory for Canadian Pacific Railway
M/U
LH103
277
UN/NA Identification Code
O ID 6/6
Code identifying the hazardous material identification number as required
by Title 49 of the code of Federal Regulations; UN/NA stands for United
Nations/North America
Mandatory for Canadian Pacific Railway
LH104
200
Hazardous Materials Page
O AN 1/6
The United Nations page number as required for the international transport
of hazardous materials
M/U
LH105
22
Commodity Code
Code describing a commodity or group of commodities
Mandatory for Canadian Pacific Railway
O AN 1/30
M/U
LH106
355
Unit or Basis for Measurement Code
O ID 2/2
X12 Version 004010
84
M N0 1/7
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
Mandatory for Canadian Pacific Railway
KG
Kilogram
LB
Pound
M/U
LH107
380
Quantity
Numeric value of quantity
Mandatory for Canadian Pacific Railway
LH108
595
Compartment ID Code
O ID 1/1
Code identifying the compartment in a compartmentalized tank car
1
Brake End
2
2nd from Brake End
3
3rd from Brake End
4
4th from Brake End
5
5th from Brake End
6
6th from Brake End
LH109
665
Residue Indicator Code
O ID 1/1
Code indicating that the material being described is that which remains in a
packaging (including a tank car) after it has been unloaded
P
Residue Last Contained Description (Packages)
R
Residue Last Contained Description (Tank Car)
LH110
254
Packing Group Code
O ID 1/3
Code indicating degree of danger in terms of Roman number I, II or III
I
Packing Group I
II
Packing Group II
III
Packing Group III
X12 Version 004010
85
O R 1/15
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
LH2 Hazardous Classification Information
690
LH1
Optional
Optional
4
To specify the hazardous notation and endorsement information
1 If either LH206 or LH207 is present, then the other is required.
2 If either LH208 or LH209 is present, then the other is required.
3 If either LH210 or LH211 is present, then the other is required.
1 LH206 and LH207 indicate the flashpoint temperature.
2 LH208 and LH209 indicate the control temperature.
3 LH210 and LH211 indicate the emergency temperature.
Comments:
Data Element Summary
Data
Element Name
Attributes
215
Hazardous Classification
O ID 1/30
The hazardous classification corresponding to the shipping name of the
hazardous commodity
Mandatory for Canadian Pacific Railway
At least one Primary Class must be shown.
M/U
Ref.
Des.
LH201
M/U
LH202
983
Hazardous Class Qualifier
Code qualifying hazardous class
Mandatory for Canadian Pacific Railway
P
Primary
S
Secondary
LH205
759
Reportable Quantity Code
O ID 2/2
Code to identify presence of hazardous substance
If present then at least one occurrence of the LFH Segment is required
where LFH01 will contain the code value 'HZC' and the Hazardous
Constituent will be shown in the LFH02 and LFH03, if required, enclosed
in parenthesis.
Example
LFH*HZC*(AMMONIA)~
LFH*HZC*(DI-AMMONIUM*PHOSPHATE)~
RQ
Reportable Quantity
LH206
355
Unit or Basis for Measurement Code
X ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
CE
Centigrade, Celsius
FA
Fahrenheit
X12 Version 004010
86
O ID 1/1
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
LH207
408
Temperature (Flash Point)
Temperature
LH208
355
Unit or Basis for Measurement Code
X ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
CE
Centigrade, Celsius
FA
Fahrenheit
LH209
408
Temperature (Control)
Temperature
LH210
355
Unit or Basis for Measurement Code
X ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
CE
Centigrade, Celsius
FA
Fahrenheit
LH211
408
Temperature (Emergency)
Temperature
X12 Version 004010
87
X R 1/4
X R 1/4
X R 1/4
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
LH3 Hazardous Material Shipping Name
700
LH1
Optional
Optional
10
To specify the hazardous material shipping name and additional descriptive
requirements
1 If either LH301 or LH302 is present, then the other is required.
1 If LH304 is "Y", then this is an Association of American Railroads Operations
and Transportation Bulletin 55 commodity. If "N", it is not an Association of
American Railroads Operations and Transportation Bulletin 55 commodity.
Comments:
Data Element Summary
Data
Element Name
Attributes
224
Hazardous Material Shipping Name
X AN 1/25
The proper shipping name of the hazardous commodity as specified by
the Code of Federal Regulations, Title 49
Mandatory for Canadian Pacific Railway
M/U
Ref.
Des.
LH301
M/U
LH302
984
Hazardous Material Shipping Name Qualifier
X ID 1/1
Qualifier indicating the source (regulatory) of the proper shipping name
Mandatory for Canadian Pacific Railway
C
Canadian Shipping Name
D
Domestic (United States) Shipping Name
I
International Shipping Name
LH303
985
N.O.S. Indicator Code
O ID 3/3
Code indicating the type of regulatory requirements that apply to a
description; N.O.S. stands for Not Otherwise Specified
NOS
N.O.S. Regulatory Requirements Apply
X12 Version 004010
88
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
LFH Freeform Hazardous Material Information
710
LH1
Optional
Optional
20
To uniquely identify the variable information required by government regulation
covering the transportation of hazardous material shipments
1 If either LFH05 or LFH06 is present, then the other is required.
1 LFH06 indicates activity of the radioactive material.
2 LFH07 indicates transport index of the radioactive material.
1) If LH2-05 Value is 'RQ', then at least one occurrence of the LFH is required
where LFH-01 value must be 'HZC' to identify the Hazardous Constituent (in
brackets).
Example:
LFH*HZC*(AMMONIA)~
2) If LH3-03 value is 'NOS' then at least one occurrence of the LFH is required
where LFH-01
value must be 'TEC' to identify the Technical Name (in brackets).
Example:
LFH*TEC*(TETRA-HYDROXIMINE)~
3) IF LH2-01 value is '7' then at least one occurrence of the LFH is required where
LFH-01 value must be 'RAM' to identify the Radioactive Material.
Example:
LFH*RAM*RADIOACTIVE MATERIAL*RADIONUCLIDES U-235*R2*50*0.5~
LFH*RAM*RADIOACTIVE YELLOW III*FISSILE CLASS III~
M
Ref.
Des.
LFH01
Data Element Summary
Data
Element Name
Attributes
808
Hazardous Material Shipment Information Qualifier M ID 3/3
Qualifier indicating the type of information being passed so that a receiver
may format a description of hazardous commodity movements that meets
regulatory requirements
Mandatory for Canadian Pacific Railway
ADI
Additional Descriptive Information Not Required by
Regulation but Desired to Accompany the Movement
by the Shipper
Used to identify any other hazardous information not
prescribed by regulation but wanted on the bill of
lading.
Also used to identify Waste Stream Numbers
X12 Version 004010
89
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
D13
DRC
HOT
HZC
INH
LQY
MOS
MPI
PIH
X12 Version 004010
overflowed from the LEP Segment.
"DOT - 113, Do Not Bump or Cut Off Car While in
Motion" Declaration
If used, LFH-02 and LFH-03 will contain the
Declaration.
Example:
LFH*D13*DOT-113, DO NOT BUMP OR*CUT
OFF CAR WHILE IN~
LFH*D13*MOTION~
Damaged Car Number
If used, the Damaged Car Initial and Number will be
shown in LFH-02.
Example:
LFH*DRC*CP 108076~
Identifies Products in a Heated Molten State
If used, pass 'HOT' in LFH-02
Example:
LFH*HOT*HOT~
Hazardous Substance Constituents
Inhalation Hazard
If used, pass 'INHALATION HAZARD' in LFH-02.
Example:
LFH*INH*INHALATION HAZARD~
"Limited Quantity" Declaration
If used, pass 'LIMITED QUANTITY' in LFH-02
Example:
LFH*LQY*LIMITED QUANTITY~
Maximum Operating Speed
If used, pass 'MAXIMUM OPERATING SPEED' in
LFH02 and the numeric spped followed by MPH or
KPH in LFH03. Additionally, code 'SR' should also
appear in H3-01.
Example:
LFH*MOS*MAXIMUM OPERATING SPPED*15
MPH~
Marine Pollutant
If used, pass the Marine Pollutant in LFH-02 and the
Consituent LFH-03 (in brackets)
Example:
LFH*MPI*MARINE
POLLUTANT*(ACETALDEHYDE)~
"Poison - Inhalation Hazard" Declaration
If used, pass 'POISON INHALATION HAZARD' in
LFH-02. Additionally, LFH-04 is required and must
be present to identify the Hazard Zone Value.
Example:
90
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
POI
RAM
TEC
TNM
M
LFH*PIH*POISON INHALATION HAZARD**B~
"Poison" Declaration
If used, pass 'POISON' in LFH-02
Example:
LFH*POI*POISON~
Radioactive Material Data
If used, pass the free-form Radioactive Material
Inforamtion in LFH-02 and LFH-03. Additionally,
pass the Radioactive Material Activity in LFH-06
qualified by the value in LFH-05 and the Transport
Index in LFH-07. Note: Multiple LFH Segments may
be required to fully describe the Radio Active
Material.
Example:
LFH*RAM*RADIONUCLIDES: U
-235*SOLID**R2*50*0.5~
LFH*RAM*RADIOACTIVE YELLOW III*FISSILE
CLASS III~
LFH*RAM*ETC~
Technical or Chemical Group Name
If used, then LH3-03 value must be 'NOS'. Pass the
Technical Name or Chemical Group in LFH-02 and
LFH-03 (in brackets).
Example:
LFH*TEC*(DIMETHYLETHYLAMINE)~
Trade Name
LFH02
809
Hazardous Material Shipment Information
M AN 1/25
Specific information required by law for hazardous material shipments
Mandatory for Canadian Pacific Railway
LFH03
809
Hazardous Material Shipment Information
O AN 1/25
Specific information required by law for hazardous material shipments
LFH04
1023
Hazard Zone Code
O ID 1/1
Code specifying the Department of Transportation assigned zone
designating the Inhalation Toxicity Hazard Zone
A
Hazard Zone A
B
Hazard Zone B
C
Hazard Zone C
D
Hazard Zone D
LFH05
355
Unit or Basis for Measurement Code
X ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
4N
Megabecquerel
Unit of radiation
G4
Gigabecquerel
X12 Version 004010
91
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
R2
ZZ
Unit of radiation equal to 27 millicuries
Becquerel
Unit of radiation equal to 3.7 * 10/10 of a curie
Mutually Defined
Used to indicate Terabecquerels.
LFH06
380
Quantity
Numeric value of quantity
X R 1/15
LFH07
380
Quantity
Numeric value of quantity
O R 1/15
X12 Version 004010
92
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
LEP EPA Required Data
720
LH1
Optional
Optional
3
To specify the Environmental Protection Agency (EPA) information relating to
shipments of hazardous material
1 If either LEP03 or LEP04 is present, then the other is required.
1 LEP03 is used to identify the state or province responsible for the hazardous
waste number contained in LEP04.
2 LEP04 is the hazardous waste number.
Comments:
Ref.
Des.
LEP01
LEP02
X12 Version 004010
Data Element Summary
Data
Element Name
Attributes
806
EPA Waste Stream Number Code
O ID 4/6
Waste stream number applicable to the movement of hazardous waste as
determined by government regulations
If more than 3 Waste Stream Codes, use LFH segment qualified with
'ADI'.
807
Waste Characteristics Code
O ID 12/16
Waste characteristics as defined by regulatory requirements
Only four valid codes are acceptable
EPA CORROSIVITY
EPA IGNITABILITY
EPA REACTIVITY
EPA TOXICITY
93
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Ref.
Des.
LH401
LH4 Canadian Dangerous Requirements
730
LH1
Optional
Optional
1
To specify additional Transport Canada requirements covering transportation of
dangerous goods in Canada
1 If either LH408 or LH412 is present, then the other is required.
1 LH411 is an additional telephone number.
1 LH402 is used for the emergency response plan telephone number.
2 LH404 is for the first subsidiary classification.
3 LH405 is for the second subsidiary classification.
4 LH406 is for the third subsidiary classification.
Data Element Summary
Data
Element Name
Attributes
238
Emergency Response Plan Number
O AN 1/12
The identity number of a specific hazardous emergency response plan that
is assigned by the Director General of Canada
Required if the commodity is listed in Schedule XII of the Canadian TDG
Regulations.
LH402
364
Communication Number
O AN 1/80
Complete communications number including country or area code when
applicable
Required if LH4-01 is present.
LH407
271
Subsidiary Risk Indicator
O ID 1/2
Code identifying the type of subsidiary risk
I
Potentially Very Damaging To The Eyes
LH408
267
Net Explosive Quantity
X N0 1/6
Net weight of the explosive quantity of the hazardous commodity
LH409
805
Canadian Hazardous Notation
Notation required by Canadian regulatory agencies
LH410
986
Special Commodity Indicator Code
O ID 1/1
Code indicating 'Special Commodity' notation on operational waybill as
identified by the Transportation of Dangerous Goods Act and Regulation
(TDG)
S
Positive Indicator
LH412
355
Unit or Basis for Measurement Code
X ID 2/2
Code specifying the units in which a value is being expressed, or manner
in which a measurement has been taken
GR
Gram
X12 Version 004010
94
O AN 1/25
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
KG
LB
OZ
X12 Version 004010
Kilogram
Pound
Ounce - Av
95
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LHR Hazardous Material Identifying Reference Numbers
750
LH1
Optional
Optional
5
To transmit specific hazardous material reference numbers
Data Element Summary
M
Ref.
Des.
LHR01
M
LHR02
127
Reference Identification
M AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Mandatory for Canadian Pacific Railway
LHR03
373
Date
O DT 8/8
Date expressed as CCYYMMDD
If sued, LHR-01 must be 'PN'. Used for Transport Canada Permit
expiration date. The Receiver is required to display the date transmitted
X12 Version 004010
Data
Element Name
Attributes
128
Reference Identification Qualifier
M ID 2/3
Code qualifying the Reference Identification
Mandatory for Canadian Pacific Railway
HA
Competent Authority
The Receiver is required to display the Competent
Authority Number with a value of 'CA-' preceeding
the number. The Sender does not have to pass 'CA-'.
HE
Hazardous Exemption Number
The Receiver is required to display the Hazardous
Exemption Number with the value of 'DOT-E-'
preceeding the number. The Sender does not have to
pass 'DOT-E-'.
PN
Permit Number
Used for Transport Canada Permit Number. The
Receiver is required to display the Permit Number
with a value of 'ELS PERMIT' preceeding the
number. The Sender does not have to pass 'ELS
PERMIT'.
S0
Special Approval
The Receiver is required to display the Special
Approval Number with a value of 'SA-' preceding
the number. The Sender does not have to pass 'SA'.
96
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
preceeded by the phrase 'EXPRY_DATE'.
X12 Version 004010
97
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
PER Administrative Communications Contact
755
LH1
Optional
Optional
5
To identify a person or office to whom administrative communications should be
directed
1 If either PER03 or PER04 is present, then the other is required.
2 If either PER05 or PER06 is present, then the other is required.
3 If either PER07 or PER08 is present, then the other is required.
By Transport Canada and U.S. Department of Transport regulations, 24-hr
Emergency Contact Numbers must be direct talk line connections. Use of voicemail
or menu option connections are prohibited.
When used in this position (inside the LH1 Loop), the PER pertains to the individual
commodity being described in the Loop. Hazardous Material contact numbers for
the same country cannot be shown both inside and outside the loop.
M
Ref.
Des.
PER01
Data Element Summary
Data
Element Name
Attributes
366
Contact Function Code
M ID 2/2
Code identifying the major duty or responsibility of the person or group
named
Mandatory for Canadian Pacific Railway
CN
General Contact
Used to identify a Canadian 24-hr Emergency
Contact Number.
HM
Hazardous Material Contact
Used to identify a Domestic (U.S.) or Universal 24
-hr Emergency Contact Number
PER02
93
Name
Free-form name
PER03
365
Communication Number Qualifier
X ID 2/2
Code identifying the type of communication number
TE
Telephone
This is the only valid qualifier to be used in this
position.
PER04
364
Communication Number
X AN 1/80
Complete communications number including country or area code when
applicable
A minimum of 10-numerical digits is required for a telephone contact
X12 Version 004010
O AN 1/60
98
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
number.
(3-digit Area Code)+(7-digit Phone Number).
X12 Version 004010
99
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LE Loop Trailer
760
Optional
1
To indicate that the loop immediately preceding this segment is complete
1
1
One loop may be nested contained within another loop, provided the inner
nested loop terminates before the other loop. When specified by the standards
setting body as mandatory, this segment in combination with "LS", must be
used. It is not to be used if not specifically set forth for use. The loop identifier
in the loop header and trailer must be identical. The value for the identifier is the
loop ID of the required loop beginning segment. The loop ID number is given
on the transaction set diagram in the appropriate ASC X12 version/release.
See Figures Appendix for an explanation of the use of the LE and LS segments.
Data Element Summary
M
Ref.
Des.
LE01
X12 Version 004010
Data
Element Name
Attributes
447
Loop Identifier Code
M AN 1/6
The loop ID number given on the transaction set diagram is the value for
this data element in segments LS and LE
Mandatory for Canadian Pacific Railway
100
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
Notes:
PER Administrative Communications Contact
770
Optional
5
To identify a person or office to whom administrative communications should be
directed
1 If either PER03 or PER04 is present, then the other is required.
2 If either PER05 or PER06 is present, then the other is required.
3 If either PER07 or PER08 is present, then the other is required.
By Transport Canada and U.S. Department of Transport regulations, 24-hr
Emergency Contact Numbers must be direct talk line connections. Use of voicemail
or menu option connections are prohibited.
When used in this position (outside the LH1 Loop), the PER pertains to the entire
shipment being described in all the LH1 Loops. Hazardous Material contact numbers
for the same country cannot be shown both inside and outside the loop.
M
Ref.
Des.
PER01
Data Element Summary
Data
Element Name
Attributes
366
Contact Function Code
M ID 2/2
Code identifying the major duty or responsibility of the person or group
named
Mandatory for Canadian Pacific Railway
CN
General Contact
HM
Hazardous Material Contact
PER02
93
Name
Free-form name
O AN 1/60
PER03
365
Communication Number Qualifier
Code identifying the type of communication number
TE
Telephone
X ID 2/2
PER04
364
Communication Number
X AN 1/80
Complete communications number including country or area code when
applicable
A minimum of 10-numerical digits is required for a telephone contact
number.
(3-digit Area Code)+(7-digit Phone Number).
X12 Version 004010
101
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
LH2 Hazardous Classification Information
780
Optional
6
To specify the hazardous notation and endorsement information
1 If either LH206 or LH207 is present, then the other is required.
2 If either LH208 or LH209 is present, then the other is required.
3 If either LH210 or LH211 is present, then the other is required.
1 LH206 and LH207 indicate the flashpoint temperature.
2 LH208 and LH209 indicate the control temperature.
3 LH210 and LH211 indicate the emergency temperature.
Comments:
Ref.
Des.
LH203
X12 Version 004010
Data Element Summary
Data
Element Name
Attributes
218
Hazardous Placard Notation
O ID 14/40
The placard notation corresponding to the hazard class of the hazardous
commodity
102
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LHR Hazardous Material Identifying Reference Numbers
790
Optional
1
To transmit specific hazardous material reference numbers
Data Element Summary
M
Ref.
Des.
LHR01
M
LHR02
127
Reference Identification
M AN 1/30
Reference information as defined for a particular Transaction Set or as
specified by the Reference Identification Qualifier
Mandatory for Canadian Pacific Railway
LHR03
373
Date
O DT 8/8
Date expressed as CCYYMMDD
If used, LHR-01 must be 'PN'. Used for Transport Canada Permit
expiration date. The Receiver is required to display the date transmitted
preceeded by the phrase 'EXPRY_DATE'.
X12 Version 004010
Data
Element Name
Attributes
128
Reference Identification Qualifier
M ID 2/3
Code qualifying the Reference Identification
Mandatory for Canadian Pacific Railway
HE
Hazardous Exemption Number
The Receiver is required to display the Hazardous
Exemption Number with the value of 'DOT-E-'
preceeding the number. The Sender does not have to
pass 'DOT-E-'.
PN
Permit Number
Used for Transport Canada Permit Number. The
Receiver is required to display the Permit Number
with a value of 'ELS PERMIT' preceeding the
number. The Sender does not have to pass 'ELS
PERMIT'.
103
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
LH6 Hazardous Certification
800
Optional
5
To specify the name of the person certifying that the shipment complies with the
regulations and/or the actual certification
1 If either LH602 or LH603 is present, then the other is required.
Data Element Summary
Ref.
Des.
LH601
X12 Version 004010
Data
Element Name
93
Name
Free-form name
Attributes
O AN 1/60
104
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
XH Pro Forma - B13 Information
810
Optional
1
This segment is used to specify a pro forma invoice and B13 Canadian Customs
Export Declaration information, required by U.S. and Canadian customs
1
2
Comments:
M
Ref.
Des.
XH01
3
1
XH04 for a line item: is the freight or special charge; for the total invoice: the
total charges -- expressed in the standard monetary denomination for the
currency specified.
XH06 will contain percentage of a component of a product which is required
by customs to be reported.
XH07 will contain unit price of the item being shipped.
This segment is to be used for shipments originating in Canada only.
Data Element Summary
Data
Element Name
Attributes
100
Currency Code
M ID 3/3
Code (Standard ISO) for country in whose currency the charges are
specified
Mandatory for Canadian Pacific Railway
CAD
Canadian Dollars
MXP
Meixcan Pesos
USD
United States Dollars
XH02
645
Related Company Indication Code
O ID 1/1
Code indicating parties to a transaction
N
Transaction Between Unrelated Companies
Y
Transaction Between Related Companies
XH03
150
Special Charge or Allowance Code
Code identifying type of special charge or allowance
595
Proforma Invoice
FCB
Freight Charges to Border
FCD
Freight Charges to Destination
O ID 3/3
XH04
610
Amount
Monetary amount
O N2 1/15
XH05
503
Block 20 Code
Code defining Block 20 characteristics
1
Subject to Drawback
2
Imported on 1/60 Basis
O ID 1/1
X12 Version 004010
105
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
3
Imported Under License
XH06
504
Chemical Analysis Percentage
Chemical analysis percentage
O N2 2/9
XH07
212
Unit Price
Price per unit of product, service, commodity, etc.
O R 1/17
X12 Version 004010
106
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
X7 Customs Information
820
Optional
10
To indicate customs information
Data Element Summary
M
Ref.
Des.
X701
X702
X12 Version 004010
Data
Element Name
61
Free-Form Message
Free-form information
Mandatory for Canadian Pacific Railway
61
Free-Form Message
Free-form information
107
Attributes
M AN 1/30
O AN 1/30
February 16, 2004
Canadian Pacific Railway 404 Implementation Guide
Segment:
Position:
Loop:
Level:
Usage:
Max Use:
Purpose:
Syntax Notes:
Semantic Notes:
Comments:
SE Transaction Set Trailer
840
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)
1
SE is the last segment of each transaction set.
Data Element Summary
M
Ref.
Des.
SE01
M
SE02
X12 Version 004010
Data
Element Name
Attributes
96
Number of Included Segments
M N0 1/10
Total number of segments included in a transaction set including ST and
SE segments
Mandatory for Canadian Pacific Railway
329
Transaction Set Control Number
M AN 4/9
Identifying control number that must be unique within the transaction set
functional group assigned by the originator for a transaction set
Mandatory for Canadian Pacific Railway
108
February 16, 2004
© Copyright 2026 Paperzz