CSX
/
Receive freight bills
  • Specification
  • EDI Inspector
Stedi maintains this guide based on public documentation from CSX. Contact CSX for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
CSX logo

X12 410 Receive freight bills

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Rail Carrier Freight Details and Invoice Transaction Set (410) for use within the context of an Electronic Data Interchange (EDI) environment.
The transaction set can be used to provide detailed information of charges associated with a rail movement. The information is provided by a rail carrier and is sent to the freight payer.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
  • None included
View the latest version of this implementation guide as an interactive webpage
https://www.stedi.com/app/guides/view/csx/receive-freight-bills/01GTHHTSEN4XT7KHH71D00FN8G
Powered by
Build EDI implementation guides at stedi.com
Overview
ISA
-
Interchange Control Header
Max use 1
Required
GS
-
Functional Group Header
Max use 1
Required
heading
ST
010
Transaction Set Header
Max use 1
Required
B3B
020
Beginning Segment for Carrier's Invoice
Max use 1
Required
N9
040
Reference Identification
Max use 30
Optional
CM
045
Cargo Manifest
Max use 2
Optional
N7 Loop
N8
130
Waybill Reference
Max use 499
Required
F9
140
Origin Station
Max use 1
Required
D9
150
Destination Station
Max use 1
Required
N1 Loop
R2
400
Route Information
Max use 13
Required
PS
420
Protective Service Instructions
Max use 5
Optional
L3
540
Total Weight and Charges
Max use 1
Required
SE
570
Transaction Set Trailer
Max use 1
Required
GE
-
Functional Group Trailer
Max use 1
Required
IEA
-
Interchange Control Trailer
Max use 1
Required
ISA

Interchange Control Header

RequiredMax use 1

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

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

Code to identify the type of information in the Authorization Information

00
No Authorization Information Present (No Meaningful Information in I02)
ISA-02
I02
Authorization Information
Required
String (AN)
Min 10Max 10

Information used for additional identification or authorization of the interchange sender or the data in the interchange; the type of information is set by the Authorization Information Qualifier (I01)

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

Code to identify the type of information in the Security Information

00
No Security Information Present (No Meaningful Information in I04)
ISA-04
I04
Security Information
Required
String (AN)
Min 10Max 10

This is used for identifying the security information about the interchange sender or the data in the interchange; the type of information is set by the Security Information Qualifier (I03)

ISA-05
I05
Interchange ID Qualifier
Required
Identifier (ID)

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

02
SCAC (Standard Carrier Alpha Code)
ZZ
Mutually Defined
ISA-06
I06
Interchange Sender ID
Required
String (AN)
Min 15Max 15

Identification code published by the sender for other parties to use as the receiver ID to route data to them; the sender always codes this value in the sender ID element

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

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

Codes
ISA-08
I07
Interchange Receiver ID
Required
String (AN)
Min 15Max 15

Identification code published by the receiver of the data; When sending, it is used by the sender as their sending ID, thus other parties sending to them will use this as a receiving ID to route data to them

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

Date of the interchange

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

Time of the interchange

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

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

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

This version number covers the interchange control segments

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

A control number assigned by the interchange sender

ISA-14
I13
Acknowledgment Requested
Required
Identifier (ID)

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

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

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

I
Information
P
Production Data
T
Test Data
ISA-16
I15
Component Element Separator
Required
String (AN)
Min 1Max 1

Type is not applicable; the component element separator is a delimiter and not a data element; this field provides the delimiter used to separate component data elements within a composite data structure; this value must be different than the data element separator and the segment terminator

>
Component Element Separator

Functional Group Header

RequiredMax use 1

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

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

Code identifying a group of application related transaction sets

IR
Rail Carrier Freight Details and Invoice (410, 980)
GS-02
142
Application Sender's Code
Required
String (AN)
Min 2Max 15

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

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

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

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

Required
Time (TM)
HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

Time expressed in 24-hour clock time as follows: HHMM, or HHMMSS, or HHMMSSD, or HHMMSSDD, where H = hours (00-23), M = minutes (00-59), S = integer seconds (00-59) and DD = decimal seconds; decimal seconds are expressed as follows: D = tenths (0-9) and DD = hundredths (00-99)

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

Assigned number originated and maintained by the sender

GS-07
455
Responsible Agency Code
Required
Identifier (ID)

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

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

Code indicating the version, release, subrelease, and industry identifier of the EDI standard being used, including the GS and GE segments; if code in DE455 in GS segment is X, then in DE 480 positions 1-3 are the version number; positions 4-6 are the release and subrelease, level of the version; and positions 7-12 are the industry or trade association identifiers (optionally assigned by user); if code in DE455 in GS segment is T, then other formats are allowed

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

Heading

ST
010
Heading > ST

Transaction Set Header

RequiredMax use 1

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

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

Code uniquely identifying a Transaction Set

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

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

B3B
020
Heading > B3B

Beginning Segment for Carrier's Invoice

RequiredMax use 1

To transmit identifying numbers, dates, and other basic data relating to the transaction set

Example
B3B-01
76
Invoice Number
Required
String (AN)
Min 1Max 22

Identifying number assigned by issuer

Usage notes

CSX uses an 8 byte invoice number

B3B-02
146
Shipment Method of Payment
Required
Identifier (ID)

Code identifying payment terms for transportation charges

CC
Collect
PP
Prepaid (by Seller)
Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • B3B03 is the billing date.
B3B-04
193
Net Amount Due
Required
Numeric (N2)
Min 1Max 12

Total charges to be paid by the receiver of this transaction set expressed in the standard monetary denomination for the currency specified

Usage notes

Amount of $1200.25 is sent as 120025

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • B3B05 is the payment due date.
B3B-06
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

B3B-07
91
Transportation Method/Type Code
Required
Identifier (ID)

Code specifying the method or type of transportation for the shipment

R
Rail
X
Intermodal (Piggyback)

Used if N711 equals CC, CH, CM, CN, CX, CZ, GS, LS, OT, PL, PT, RT or TL.

B3B-08
145
Shipment Identification Number
Optional
String (AN)
Min 1Max 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)

B3B-09
188
Weight Unit Code
Optional
Identifier (ID)

Code specifying the weight unit

  • The B3B09 default value is pounds.
E
Metric Ton
K
Kilograms
L
Pounds
M
Measurement Ton
S
Short Ton
T
Long Ton
B3B-10
202
Correction Indicator
Optional
Identifier (ID)

Code used to indicate that the transaction set contains information which corrects previous information

AD
Adjustment of Previous Freight Bill Charges
BD
Balance Due Billing
B3B-11
100
Currency Code
Optional
Identifier (ID)
Min 3Max 3

Code (Standard ISO) for country in whose currency the charges are specified

  • B3B11 defines the currency used in the transaction.
Usage notes

USD IS Dollars, All CSX Invoices are in US Dollars.

N9
040
Heading > N9

Reference Identification

OptionalMax use 30

To transmit identifying information as specified by the Reference Identification Qualifier

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

Code qualifying the Reference Identification

BM
Bill of Lading Number
BN
Booking Number
CT
Contract Number
CX
Consignment Classification ID
DN
Draft Number
P8
Pickup Reference Number
PO
Purchase Order Number
PR
Price Quote Number
SI
Shipper's Identifying Number for Shipment (SID)
SO
Shipper's Order (Invoice Number)
UT
Unit Train
WY
Waybill Number
ZZ
Mutually Defined
N9-02
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

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

Free-form descriptive text

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

CM
045
Heading > CM

Cargo Manifest

OptionalMax use 2

To identify specific flight or voyage information for multimodal shipments

Example
If Date (CM-04) is present, then Port or Terminal Function Code (CM-02) is required
CM-01
55
Flight/Voyage Number
Optional
String (AN)
Min 2Max 10

Identifying designator for the particular flight or voyage on which the cargo travels

CM-02
115
Port or Terminal Function Code
Optional
Identifier (ID)

Code defining function performed at the port or terminal with respect to a shipment

  • CM02 is "D" for rail origin and "L" for rail destination.
1
Final Port of Discharge (Operational)
D
Port of Discharge (Operational)
L
Port of Loading (Operational)
CM-03
114
Port Name
Optional
String (AN)
Min 2Max 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

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • CM04 is qualified by CM02.
Usage notes

If CM02 is 'D' or '1', this contains the ship dock date
If CM02 is 'L', this contains the ship sail date

CM-05
13
Booking Number
Optional
String (AN)
Min 1Max 17

Number assigned by the carrier for space reservation

CM-06
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • CM06 contains the carrier code.
Usage notes

Represents the current carrier

CM-07
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • CM07 contains the previous carrier code.
Usage notes

Represents the previous carrier

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • CM08 is the manifest date.
Usage notes

Represents the manifest date

CM-09
182
Vessel Name
Optional
String (AN)
Min 2Max 28

Name of ship as documented in "Lloyd's Register of Ships"

CM-10
113
Pier Number
Optional
String (AN)
Min 1Max 4

Identifying number for the pier

CM-11
112
Pier Name
Optional
String (AN)
Min 2Max 14

Free-form name of the pier

CM-12
174
Terminal Name
Optional
String (AN)
Min 2Max 30

Free-form field for terminal name

CM-13
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

CM-14
26
Country Code
Optional
Identifier (ID)
Min 2Max 3

Code identifying the country

CM-15
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

  • CM15 is the vessel agent number.
Usage notes

Vessel Agent Number

N7 Loop
RequiredMax >1
N7
050
Heading > N7 Loop > N7

Equipment Details

RequiredMax use 1

To identify the equipment

Example
If either Weight (N7-03) or Weight Qualifier (N7-04) is present, then the other is required
If either Tare Weight (N7-05) or Tare Qualifier Code (N7-16) is present, then the other is required
N7-01
206
Equipment Initial
Optional
String (AN)
Min 1Max 4

Prefix or alphabetic part of an equipment unit's identifying number

  • N701 is mandatory for rail transactions.
Usage notes

See guidelines for Equipment Initials and Numbers in the Standards Conventions chapter

N7-02
207
Equipment Number
Required
String (AN)
Min 1Max 10

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

Usage notes

See guidelines for Equipment Initials and Numbers in the Standards Conventions chapter

N7-03
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

Usage notes

The numeric value of the weight of the shipment
Must include dunnage weight

N7-04
187
Weight Qualifier
Optional
Identifier (ID)

Code defining the type of weight

Usage notes

Qualified N703

E
Estimated Net Weight
G
Gross Weight
N
Actual Net Weight
N7-05
167
Tare Weight
Optional
Numeric (N0)
Min 3Max 8

Weight of the equipment

N7-06
232
Weight Allowance
Optional
Numeric (N0)
Min 2Max 6

Allowance made for increased weight due to such factors as snow

N7-07
205
Dunnage
Optional
Numeric (N0)
Min 1Max 6

Weight of material used to protect lading (even bracings, false floors, etc.)

Usage notes

Dunnage weight only

N7-08
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

N7-10
102
Ownership Code
Optional
Identifier (ID)

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

T
Trip Leased
N7-11
40
Equipment Description Code
Optional
Identifier (ID)

Code identifying type of equipment used for shipment

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
N7-12
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • N712 is the owner of the equipment.
N7-14
219
Position
Optional
String (AN)
Min 1Max 3

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

Usage notes

See Rail Data Element Dictionary

N7-15
567
Equipment Length
Optional
Numeric (N0)
Min 4Max 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)

Usage notes

Outside length required for intermodal shipments

N7-16
571
Tare Qualifier Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying the type of tare

N7-18
761
Equipment Number Check Digit
Optional
Numeric (N0)
Min 1Max 1

Number which designates the check digit applied to a piece of equipment

Usage notes

See guideline for Equipment initials and Numbers in the Standards Conventions chapter

N7-20
65
Height
Optional
Decimal number (R)
Min 1Max 8

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

  • N720 and N721 are expressed in inches.
Usage notes

Expressed in inches

Optional
Decimal number (R)
Min 1Max 8

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

Usage notes

Expressed in inches

N7-22
24
Equipment Type
Optional
Identifier (ID)
Min 4Max 4

Code identifying equipment type

Usage notes

The ISO Container Code

N7-23
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • N723 is the operator or carrier of the rights of the equipment.
N7-24
301
Car Type Code
Optional
Identifier (ID)
Min 1Max 4

Code specifying type of rail car or intermodal equipment type and its general characteristics

Usage notes

The value will be the AAR Car Kind

VC
060
Heading > N7 Loop > VC

Motor Vehicle Control

OptionalMax use 21

To define motor vehicle identification and logistics

Example
VC-01
539
Vehicle Identification Number
Required
String (AN)
Min 1Max 25

Unique identification number stamped on the vehicle by the manufacturer

VC-02
836
Vehicle Deck Position Code
Optional
Identifier (ID)
Min 2Max 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

Usage notes

See Rail Data Element Dictionary

VC-03
837
Vehicle Type Code
Optional
Identifier (ID)

Vehicle Type Code for freight rate and claims purposes

1
Automobile
2
Truck
3
Others
4
Used Vehicles
5
Military
VC-04
838
Dealer Code
Optional
String (AN)
Min 2Max 9

A code assigned by a manufacturer to identify their dealers

VC-05
1
Route Code
Optional
String (AN)
Min 1Max 13

Mutually defined route code

  • VC05 is the automotive manufacturer route code.
Usage notes

Auto manufacturer's route code

VC-10
583
Factory Car Order Number
Optional
String (AN)
Min 6Max 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

M7
080
Heading > N7 Loop > M7

Seal Numbers

OptionalMax use 5

To record seal numbers used and the organization that applied the seals

Usage notes

A 'Cone seal' is indicated by "HV" in the IM02. A 'red ball' Customs seal is indicated by the presence of an M12 segment.

Example
M7-01
225
Seal Number
Required
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-02
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-03
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M7-04
225
Seal Number
Optional
String (AN)
Min 2Max 15

Unique number on seal used to close a shipment

M12
120
Heading > N7 Loop > M12

In-bond Identifying Information

OptionalMax use 1

To transmit in-bond information

Example
Only one of Customs Entry Number (M12-02) or In-bond Control Number (M12-06) may be present
If In-bond Control Number (M12-06) is present, then Reference Identification Qualifier (M12-08) is required
If either Reference Identification Qualifier (M12-08) or Reference Identification (M12-09) is present, then the other is required
If either Transportation Method/Type Code (M12-10) or Vessel Name (M12-11) is present, then the other is required
M12-01
581
Customs Entry Type Code
Required
Identifier (ID)
Min 2Max 2

Code defining the type of entry assigned by U.S. Customs

Usage notes

61 Imported to US
62 Imported and final destination is outside the US
63 Imported to US, Export from the US, with no in-transit movement
65 This signifies US-CANADA-US movements
66 This signifies traffic with multiple US border crossings with the shipment terminating in the US
A2 If used M1208 must = XC
A6 If used M1208 must = XC
A8 If used M1208 must = XC
DP If used M1208 must = XC

M12-02
601
Customs Entry Number
Optional
String (AN)
Min 1Max 15

Automated Commercial System Code Furnished by U.S. Customs Service

  • If M1202 does not contain the paperless entry number, then M1206 is required.
Usage notes

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 number. Check digit routine is defined by U.S. Customs CAMIR document.

If paperless entry number is unknown, pass 'UNKNOWN' here.

M12-03
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

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

This is a 4-digit numeric census schedule D. It is the port of termination if M1201 is 61. It is the port of exportation if M1201 is 62.

M12-04
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

  • M1204 is five-digit numeric census schedule K. It is the foreign port of destination if M1201 is "62" or "63".
Usage notes

This is 5-digit numeric census schedule K. It is the foreign port of destination if M1201 is 62 or 63.

M12-05
602
Customs Shipment Value
Optional
String (AN)
Min 2Max 8

Customs value in whole dollars

  • M1205 is the value in whole dollars of the in-bond movement. Use twenty dollars per kilo if value is unknown.
M12-06
603
In-bond Control Number
Optional
String (AN)
Min 1Max 25

Currently assigned control number for in-bond movement

Usage notes

If conventional In-bond number is unknown, pass 'UNKNOWN' here.

M12-08
128
Reference Identification Qualifier
Optional
Identifier (ID)

Code qualifying the Reference Identification

BI
Bonded Carrier Internal Revenue Service Identification Number
S4
Shippers Bond Number
XC
Cargo Control Number
M12-09
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

Usage notes

Contains the IRS number of the bond holder identified in M1208 for codes BI and S4.

If used for Canadian In-Bond reporting, this will contain the Cargo Control Number (CCN).

M12-10
91
Transportation Method/Type Code
Optional
Identifier (ID)

Code specifying the method or type of transportation for the shipment

Usage notes

May only be used if M1201 is '62' to eliminate Department of Commerce form 7513

S
Ocean
M12-11
182
Vessel Name
Optional
String (AN)
Min 2Max 28

Name of ship as documented in "Lloyd's Register of Ships"

Usage notes

Vessel to be loaded for export, if known

GA
125
Heading > N7 Loop > GA

Canadian Grain Information

OptionalMax use 15

To transmit the transportation and distribution requirements of grain at Canadian ports

Usage notes

At least one occurrence of GA04 is required with the code value GR.

These changes are not yet reflected in X12

Example
If either Location Identifier (GA-14) or State or Province Code (GA-15) is present, then the other is required
If either Percent Qualifier (GA-16) or Percent (GA-17) is present, then the other is required
GA-01
1275
Fumigated/Cleaned Indicator
Optional
Identifier (ID)
Min 1Max 1

Code indicating whether product has been fumigated and/or cleaned

Usage notes

Default value is 'N'

GA-02
22
Commodity Code
Optional
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

  • GA02 is required on the first occurrence of the segment and for each new occurrence of a different commodity code.
  • GA02 contains the Canadian Grain Commission Commodity Code for terminal elevator accounting.
Usage notes

Will contain the Canadian Commission Commodity Code for terminal elevator and will be required for each new occurrence of a different grain or grain order.

Code Source is Canadian Grain Commission Grain Code 435

GA-03
1576
Inspected/Weighed Indicator Code
Optional
Identifier (ID)
Min 1Max 2

Code indicating whether product has been inspected and/or weighed

Usage notes

If GA03 is IW or IB, then CGC Certified weight is required in N703.
N704 should be actual net weight, Code N.

If not present, then shipment is neither Inspected nor weighed.

GA-04
128
Reference Identification Qualifier
Optional
Identifier (ID)
Min 2Max 3

Code qualifying the Reference Identification

GA-05
127
Reference Identification
Optional
String (AN)
Min 1Max 30

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

  • GA05 is used for grain block number.
Optional
Numeric (N0)
Min 4Max 4

Week expressed as year/week (YYWW); week is an integer between 1 and 53 inclusive

  • GA06 is used for crop week.
GA-07
899
Unload Terminal Elevator Code
Optional
Identifier (ID)
Min 3Max 4

Code specifying the unloading terminal elevator at grain exporting terminals

Usage notes

Code Source is Canadian Grain Commission 435.

Optional
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • GA08 is used for the unload date.
GA-09
1470
Number
Optional
Numeric (N0)
Min 1Max 9

A generic number

  • GA09 will contain the number of cars being claimed for incentive rate.
GA-10
1276
Machine Separable Indicator Code
Optional
Identifier (ID)
Min 2Max 2

Canadian Grain Commission grain code identifying the type of grain that must be separated

Usage notes

Indicator code is the first two digits of the Grain Code.

GA-11
1277
Canadian Wheat Board (CWB) Marketing Class Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying the Canadian Wheat Board market class of the grain

GA-12
1278
Canadian Wheat Board (CWB) Marketing Class Type Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying Canadian Wheat Board market class type

GA-13
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating a Yes or No condition or response

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

Default value is 'N'

GA-14
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

  • GA14 is the terminal or staging area name.
GA-15
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

GA-16
1004
Percent Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code to qualify percent

GA-17
954
Percent
Optional
Decimal number (R)
Min 1Max 10

Percentage expressed as a decimal

N7 Loop end
N8
130
Heading > N8

Waybill Reference

RequiredMax use 499

To identify the waybill and to specify the equipment used and the destination details

Example
N8-01
186
Waybill Number
Required
Numeric (N0)
Min 1Max 6

Carrier accounting number of the waybill for the inbound movement

Usage notes

Reference for lead or single car/TOFC/COFC

Required
Date (DT)
CCYYMMDD format

Date expressed as CCYYMMDD

  • N802 is the waybill date.
Usage notes

Waybill date for lead or single car/TOFC/COFC
Contains waybill date. Can not be in the future.

F9
140
Heading > F9

Origin Station

RequiredMax use 1

To identify the rail origin of the shipment

Example
F9-01
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5

Code (Freight Station Accounting) (AAR Managed Code for Locations)

F9-02
19
City Name
Required
String (AN)
Min 2Max 30

Free-form text for city name

  • F902 is the origin station for movement.
Usage notes

Limited to Rail 19 character station name as defined by the AAR Centralized Station Master

F9-03
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2

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

F9-08
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 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

  • F908 is the Standard Point Location Code (SPLC) for the city named in the F902.
Usage notes

The SPLC for F902

D9
150
Heading > D9

Destination Station

RequiredMax use 1

To identify the rail destination of the shipment

Example
D9-01
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5

Code (Freight Station Accounting) (AAR Managed Code for Locations)

D9-02
19
City Name
Required
String (AN)
Min 2Max 30

Free-form text for city name

  • D902 is the destination station of movement.
Usage notes

Limited to Rail 19 character station name as defined by the AAR Centralized Station Master

D9-03
156
State or Province Code
Required
Identifier (ID)
Min 2Max 2

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

D9-10
154
Standard Point Location Code
Optional
Identifier (ID)
Min 6Max 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

  • D910 is the Standard Point Location Code (SPLC) for the city named in the D906.
N1 Loop
OptionalMax >1
N1
160
Heading > N1 Loop > N1

Name

RequiredMax use 1

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

Usage notes

See guidelines for N1 Loop usage in Standards Conventions Chapter

Example
At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
N1-01
98
Entity Identifier Code
Required
Identifier (ID)

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

Usage notes

See guidelines for N1 Loop usage in Standards Conventions Chapter

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
DR
Destination Drayman
IM
Importer
MC
Motor Carrier
N1
Notify Party no. 1
N2
Notify Party no. 2
NC
Cross-Town Switch
NP
Notify Party for Shipper's Order
OM
Origin Mail Facility
OO
Order Of (Shippers Orders) - (Transportation)
OR
Origin Drayman
OW
Owner of Property or Unit
PF
Party to Receive Freight Bill
PJ
Party to Receive Correspondence
PU
Party at Pick-up Location
PV
Party performing certification
R1
Party to Receive Scale Ticket
SF
Ship From
SH
Shipper
SS
Steamship Company
UC
Ultimate Consignee
XQ
Canadian Customs Broker
Optional
String (AN)
Min 1Max 60

Free-form name

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

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

17
Automated Broker Interface (ABI) Routing Code
C5
Customer Identification File
ZZ
Mutually Defined
N1-04
67
Identification Code
Optional
String (AN)
Min 2Max 80

Code identifying a party or other code

  • This segment, used alone, provides the most efficient method of providing organizational identification. To obtain this efficiency the "ID Code" (N104) must provide a key to the table maintained by the transaction processing party.
N1-05
706
Entity Relationship Code
Optional
Identifier (ID)
Min 2Max 2

Code describing entity relationship

  • N105 and N106 further define the type of entity in N101.
N1-06
98
Entity Identifier Code
Optional
Identifier (ID)
Min 2Max 3

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

N2
165
Heading > N1 Loop > N2

Additional Name Information

OptionalMax use 2

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

Usage notes

See guidelines for N1 Loop usage in Standards Conventions Chapter

Example
Required
String (AN)
Min 1Max 60

Free-form name

Optional
String (AN)
Min 1Max 60

Free-form name

N3
170
Heading > N1 Loop > N3

Address Information

OptionalMax use 2

To specify the location of the named party

Usage notes

See guidelines for N1 Loop usage in Standards Conventions Chapter

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

Address information

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

Address information

N4
180
Heading > N1 Loop > N4

Geographic Location

OptionalMax use 1

To specify the geographic place of the named party

Usage notes

See guidelines for N1 Loop usage in Standards Conventions Chapter

Example
If Location Identifier (N4-06) is present, then Location Qualifier (N4-05) is required
N4-01
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
N4-02
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

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

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

N4-05
309
Location Qualifier
Optional
Identifier (ID)
Min 1Max 2

Code identifying type of location

N4-06
310
Location Identifier
Optional
String (AN)
Min 1Max 30

Code which identifies a specific location

PER
185
Heading > N1 Loop > PER

Administrative Communications Contact

OptionalMax use 2

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

Usage notes

See guidelines for N1 Loop usage in Standards Conventions Chapter

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

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

Optional
String (AN)
Min 1Max 60

Free-form name

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

Code identifying the type of communication number

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

Complete communications number including country or area code when applicable

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

Code identifying the type of communication number

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

Complete communications number including country or area code when applicable

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

Code identifying the type of communication number

PER-08
364
Communication Number
Optional
String (AN)
Min 1Max 80

Complete communications number including country or area code when applicable

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

Additional reference number or description to clarify a contact number

N1 Loop end
R2
400
Heading > R2

Route Information

RequiredMax use 13

To specify carrier and routing sequences and details

Usage notes

Required
Each set of shipment information must include at least one R2 segment (Route Information). When including interline city names, the AAR rule 260 abbreviations should be used.

Example
If Intermediate Switch Carrier (R2-08) is present, then Intermediate Switch Carrier (R2-07) is required
R2-01
140
Standard Carrier Alpha Code
Required
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

R2-02
133
Routing Sequence Code
Required
Identifier (ID)

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

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)
I
Origin Switch Carrier
JD
Junction Settlement Carrier Following (Destination carrier receiving revenues resulting from junction contract)
JO
Junction Settlement Carrier Predecessor (Origin carrier receiving revenues resulting from junction contract)
R
Origin Carrier, Rule 11 Shipment
S
Origin Carrier, Shipper's Routing (Rail)
V
Intermediate Switch Carrier
R2-03
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

  • R203 is the station or city name at which carriers interchange shipments.
Usage notes

Contains Rule 260 Abbreviation only

R2-05
177
Intermodal Service Code
Optional
Identifier (ID)
Min 1Max 2

Code identifying the Intermodal Service Plan

Usage notes

Required on intermodal shipments (BX02 = X) when N711 contains CC, CH, CM, CN, CX, CZ, GS, LS, OT, PL, PT, RT, or TL

See Rail Data Element Dictionary

R2-06
91
Transportation Method/Type Code
Optional
Identifier (ID)
Min 1Max 2

Code specifying the method or type of transportation for the shipment

R2-07
296
Intermediate Switch Carrier
Optional
Identifier (ID)
Min 2Max 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)

Usage notes

Used for second intermediate switch carrier at this junction

If used, R202 must be 'V'

R2-08
296
Intermediate Switch Carrier
Optional
Identifier (ID)
Min 2Max 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)

Usage notes

Used for third intermediate switch carrier at this junction

If used, R202 must be 'V'

PS
420
Heading > PS

Protective Service Instructions

OptionalMax use 5

To specify mechanical protective service and ventilation instructions

Usage notes

Due to operational concerns a PS segment must accompany any N7 equipment requiring protective service

Temperatures are passed in the PS04 and PS14

Example
If Temperature (PS-04) is present, then Unit or Basis for Measurement Code (PS-03) is required
If Unit or Basis for Measurement Code (PS-03) is present, then at least one of Temperature (PS-04) or Temperature (PS-14) is required
If Temperature (PS-14) is present, then Unit or Basis for Measurement Code (PS-03) is required
PS-01
746
Protective Service Rule Code
Required
Identifier (ID)
Min 3Max 9

Association of American Railroads (AAR) Protective Service that applies to shipment

Usage notes

See Rail Data Element Dictionary.

PS-02
241
Protective Service Code
Required
Identifier (ID)

Code specifying perishable protective service- rail carriers only

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
PS-03
355
Unit or Basis for Measurement Code
Optional
Identifier (ID)

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

  • PS03 qualifies the temperature in PS04 and PS14.
CE
Centigrade, Celsius
FA
Fahrenheit
PS-04
408
Temperature
Optional
Decimal number (R)
Min 1Max 4

Temperature

  • PS04 is the optimum allowable temperature condition for shipment.
Usage notes

This is the optimum temperature for the shipment

PS-05
140
Standard Carrier Alpha Code
Optional
Identifier (ID)
Min 2Max 4

Standard Carrier Alpha Code

  • PS05 through PS08 are used to specify the station to which the temperature applies. PS05 and PS06 are preferred over PS07 and PS08.
PS-06
573
Freight Station Accounting Code
Optional
Identifier (ID)
Min 1Max 5

Code (Freight Station Accounting) (AAR Managed Code for Locations)

PS-07
19
City Name
Optional
String (AN)
Min 2Max 30

Free-form text for city name

Usage notes

Limited to the Rail 19 character station name as defined in the AAR Centralized Station Master

PS-08
156
State or Province Code
Optional
Identifier (ID)
Min 2Max 2

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

PS-10
745
Pre-Cooled (Rule 710) Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating whether or not the shipment was precooled per Association of American Railroads Protective Service Rule 710

PS-11
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)

Code indicating a Yes or No condition or response

  • PS11 identifies the location of the heater. A "Y" indicates the heater is ceiling-mounted; an "N" indicates the heater is in the body.
N
No
Y
Yes
PS-12
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)

Code indicating a Yes or No condition or response

  • 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.
N
No
Y
Yes
PS-13
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)

Code indicating a Yes or No condition or response

  • 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.
N
No
Y
Yes
PS-14
408
Temperature
Optional
Decimal number (R)
Min 1Max 4

Temperature

  • PS14 is the set temperature at service origin.
Usage notes

Set temperature at service origin

LX Loop
RequiredMax >1
LX
430
Heading > LX Loop > LX

Assigned Number

RequiredMax use 1

To reference a line number in a transaction set

Usage notes

See guidelines for L5/LO looping structure in Standards Conventions chapter

Example
LX-01
554
Assigned Number
Required
Numeric (N0)
Min 1Max 6

Number assigned for differentiation within a transaction set

L5
440
Heading > LX Loop > L5

Description, Marks and Numbers

RequiredMax use 15

To specify the line item in terms of description, quantity, packaging, and marks and numbers

Usage notes

See guidelines for L5/LO loop in Standards Conventions Chapter

Example
If either Commodity Code (L5-03) or Commodity Code Qualifier (L5-04) is present, then the other is required
If Marks and Numbers Qualifier (L5-07) is present, then Marks and Numbers (L5-06) is required
L5-01
213
Lading Line Item Number
Optional
Numeric (N0)
Min 1Max 3

Sequential line number for a lading item

L5-02
79
Lading Description
Optional
String (AN)
Min 1Max 50

Description of an item as required for rating and billing purposes

  • L502 may be used to send quantity information as part of the product description.
L5-03
22
Commodity Code
Optional
String (AN)
Min 1Max 30

Code describing a commodity or group of commodities

L5-04
23
Commodity Code Qualifier
Optional
Identifier (ID)

Code identifying the commodity coding system used for Commodity Code

3
Empty Non-hazardous Last Contained (HMRC) Code
L
Last Contained Contents STCC
T
Standard Transportation Commodity Code (STCC)
L5-05
103
Packaging Code
Optional
String (AN)

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

Part 1/1
AMM
Ammo Pack
BAG
Bag
BAL
Bale
BDL
Bundle
BEM
Beam
BIC
Bing Chest
BIN
Bin
BLK
Bulk
BOB
Bobbin
BOX
Box
BRG
Barge
BSK
Basket or hamper
BXI
Box, with inner container
BXT
Bucket
CAB
Cabinet
CAG
Cage
CAN
Can
CAR
Carrier
CAS
Case
CBC
Containers of Bulk Cargo
CBY
Carboy
CCS
Can Case
CHE
Cheeses
CHS
Chest
CLD
Car Load, Rail
CNT
Container
COL
Coil
CON
Cones
COR
Core
CRD
Cradle
CRT
Crate
CSK
Cask
CTN
Carton
CYL
Cylinder
DBK
Dry Bulk
DRK
Double-length Rack
DRM
Drum
DSK
Double-length Skid
DTB
Double-length Tote Bin
ENV
Envelope
FIR
Firkin
FLO
Flo-bin
FRM
Frame
FSK
Flask
FWR
Forward Reel
HED
Heads of Beef
HGH
Hogshead
HPT
Hopper Truck
HRB
On Hanger or Rack in Boxes
HRK
Half-Standard Rack
HTB
Half-Standard Tote Bin
JAR
Jar
KEG
Keg
KIT
Kit
KRK
Knockdown Rack
KTB
Knockdown Tote Bin
LBK
Liquid Bulk
LIF
Lifts
LOG
Log
LSE
Loose
LUG
Lug
LVN
Lift Van
MRP
Multi-Roll Pack
NOL
Noil
PAL
Pail
PCK
Packed - not otherwise specified
PCS
Pieces
PIR
Pirns
PKG
Package
PLF
Platform
PLN
Pipeline
PLT
Pallet
POV
Private Vehicle
PRK
Pipe Rack
QTR
Quarter of Beef
RAL
Rail (Semiconductor)
RCK
Rack
REL
Reel
ROL
Roll
RVR
Reverse Reel
SAK
Sack
SHK
Shook
SID
Side of Beef
SKD
Skid
SKE
Skid, elevating or lift truck
SLP
Slip Sheet
SLV
Sleeve
SPI
Spin Cylinders
SPL
Spool
TBE
Tube
TBN
Tote Bin
TKR
Tank Car
TKT
Tank Truck
TLD
Intermodal Trailer/Container Load (Rail)
TNK
Tank
TRC
Tierce
TRK
Trunk and Chest
TRY
Tray
TSS
Trunk, Salesmen Sample
TUB
Tub
UNP
Unpacked
UNT
Unit
VEH
Vehicles
VPK
Van Pack
WHE
On Own Wheel
WLC
Wheeled Carrier
WRP
Wrapped
L5-06
87
Marks and Numbers
Optional
String (AN)
Min 1Max 48

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

L5-07
88
Marks and Numbers Qualifier
Optional
Identifier (ID)
Min 1Max 2

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

L5-08
23
Commodity Code Qualifier
Optional
Identifier (ID)

Code identifying the commodity coding system used for Commodity Code

T
Standard Transportation Commodity Code (STCC)
L0 Loop
RequiredMax >1
Usage notes

See guidelines for L5/LO loop in Standards Conventions Chapter

L0
460
Heading > LX Loop > L0 Loop > L0

Line Item - Quantity and Weight

RequiredMax use 1

To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data

Example
If either Billed/Rated-as Quantity (L0-02) or Billed/Rated-as Qualifier (L0-03) is present, then the other is required
If either Weight (L0-04) or Weight Qualifier (L0-05) is present, then the other is required
If either Volume (L0-06) or Volume Unit Qualifier (L0-07) is present, then the other is required
If either Lading Quantity (L0-08) or Packaging Form Code (L0-09) is present, then the other is required
If Weight Unit Code (L0-11) is present, then Weight (L0-04) is required
If either Quantity (L0-13) or Yes/No Condition or Response Code (L0-15) is present, then the other is required
L0-01
213
Lading Line Item Number
Optional
Numeric (N0)
Min 1Max 3

Sequential line number for a lading item

L0-02
220
Billed/Rated-as Quantity
Optional
Decimal number (R)
Min 1Max 11

Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81

L0-03
221
Billed/Rated-as Qualifier
Optional
Identifier (ID)

Code identifying the type of quantity or value on which the rate or item pricing is based

DM
Miles
GL
Gallon
ND
Cord
NP
Piece
NU
Unit
NV
Vehicle
RV
Release Value
L0-04
81
Weight
Optional
Decimal number (R)
Min 1Max 10

Numeric value of weight

L0-05
187
Weight Qualifier
Optional
Identifier (ID)

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)
L0-06
183
Volume
Optional
Decimal number (R)
Min 1Max 8

Value of volumetric measure

L0-07
184
Volume Unit Qualifier
Optional
Identifier (ID)

Code identifying the volume unit

D
Cord
E
Cubic Feet
F
100 Board Feet
G
Gallons
T
Container
U
Volumetric Unit
V
Liter
L0-08
80
Lading Quantity
Optional
Numeric (N0)
Min 1Max 7

Number of units (pieces) of the lading commodity

  • L008 is the number of handling units of the line item tendered to the carrier.
L0-09
211
Packaging Form Code
Optional
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

L0-10
458
Dunnage Description
Optional
String (AN)
Min 2Max 25

Material used to protect lading

L0-11
188
Weight Unit Code
Optional
Identifier (ID)
Min 1Max 1

Code specifying the weight unit

L0-12
56
Type of Service Code
Optional
Identifier (ID)
Min 2Max 2

Code specifying extent of transportation service requested

L0-13
380
Quantity
Optional
Decimal number (R)
Min 1Max 15

Numeric value of quantity

  • L013 can only be used if the code in L009 is PLT, SKD, or SLP.
  • 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.
L0-14
211
Packaging Form Code
Optional
Identifier (ID)
Min 3Max 3

Code for packaging form of the lading quantity

L0-15
1073
Yes/No Condition or Response Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating a Yes or No condition or response

  • 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.
L1
470
Heading > LX Loop > L0 Loop > L1

Rate and Charges

RequiredMax use 10

To specify rate and charges detail relative to a line item including freight charges, advances, special charges, and entitlements

Usage notes

See guidelines for L5/LO loop in Standards Conventions Chapter

Example
At least one of Charge (L1-04), Advances (L1-05) or Prepaid Amount (L1-06) is required
If either Declared Value (L1-14) or Rate/Value Qualifier (L1-15) is present, then the other is required
If either Billed/Rated-as Quantity (L1-17) or Billed/Rated-as Qualifier (L1-18) is present, then the other is required
L1-01
213
Lading Line Item Number
Optional
Numeric (N0)
Min 1Max 3

Sequential line number for a lading item

L1-02
60
Freight Rate
Optional
Decimal number (R)
Min 1Max 9

Rate that applies to the specific commodity

L1-03
122
Rate/Value Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code qualifying how to extend charges or interpret value

L1-04
58
Charge
Optional
Numeric (N2)
Min 1Max 12

For a line item: freight or special charge; for the total invoice: the total charges -- expressed in the standard monetary denomination for the currency specified

L1-05
191
Advances
Optional
Numeric (N2)
Min 1Max 9

Incidental charges occurring during transportation which are not generally considered to be freight charges (examples - stop charges, diversion and reconsignment, icing) expressed in the standard monetary denomination for the currency specified

L1-06
117
Prepaid Amount
Optional
Numeric (N2)
Min 1Max 9

Money paid at point of origin (usually by shipper) expressed in the standard monetary denomination for the currency specified

L1-07
120
Rate Combination Point Code
Optional
String (AN)
Min 3Max 9

The code denoting the connecting station for a joint rate obtained by combining two or more published rates which are used for the calculation of transportation charges

L1-08
150
Special Charge or Allowance Code
Optional
Identifier (ID)

Code identifying type of special charge or allowance

Usage notes

If the code you need is not available please contact B2B@csx.com to see if it can be added.

BRD
Bridge Toll
COM
Combination

Special Commodity Allowance (Intermodal traffic only) assessed for specific STCCs (in lieu of SPQ process).

ENC
Energy charge

FUEL SURCHARGE

ENS
Energy Surcharge (Fuel Adjustment Factor)

FUEL SURCHARGE

HAZ
Hazardous Cargo Charge

HAZMAT SURCHARGE

PBL
Pier Charges Other Than Wharfage

PORT SURCHARGE

SUC
Special Use

ALAMEDA CORRIDOR

L1-09
121
Rate Class Code
Optional
Identifier (ID)
Min 1Max 3

Code identifying specifically designated class of goods; Note: For international air shipments, see IATA Resolution 600k

L1-10
39
Entitlement Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying entitlement party

L1-11
16
Charge Method of Payment
Optional
Identifier (ID)
Min 1Max 1

Code defining method of payment

L1-12
276
Special Charge Description
Optional
String (AN)
Min 2Max 25

Identification of special charge; this data element is used whenever an applicable code cannot be found in data element 150

L1-13
257
Tariff Application Code
Optional
Identifier (ID)
Min 1Max 1

Code indicating to which traffic a tariff applies

L1-14
74
Declared Value
Optional
Numeric (N2)
Min 2Max 12

Monetary assigned value expressed in the standard monetary denomination for the currency specified

L1-15
122
Rate/Value Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code qualifying how to extend charges or interpret value

L1-16
372
Lading Liability Code
Optional
Identifier (ID)
Min 1Max 1

Code identifying limits of liability

L1-17
220
Billed/Rated-as Quantity
Optional
Decimal number (R)
Min 1Max 11

Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81

L1-18
221
Billed/Rated-as Qualifier
Optional
Identifier (ID)
Min 2Max 2

Code identifying the type of quantity or value on which the rate or item pricing is based

L1-19
954
Percent
Optional
Decimal number (R)
Min 1Max 10

Percentage expressed as a decimal

  • L119 is the percent used to determine the charge in L104.
L1-20
100
Currency Code
Optional
Identifier (ID)
Min 3Max 3

Code (Standard ISO) for country in whose currency the charges are specified

  • L120, if used, indicates the currency for all monetary amounts in this L1 segment.
L1-21
610
Amount
Optional
Numeric (N2)
Min 1Max 15

Monetary amount

  • L121 is the origin rated as charge amount.
PI
480
Heading > LX Loop > L0 Loop > PI

Price Authority Identification

OptionalMax use 30

To communicate basis of pricing, such as contract number, quote number, or tariff number

Usage notes

See guidelines for L5/LO loop in Standards Conventions Chapter of the guideline

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

Code qualifying the Reference Identification

CT
Contract Number
PI-02
127
Reference Identification
Required
String (AN)
Min 1Max 30

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

PI-05
168
Tariff Agency Code
Optional
Identifier (ID)
Min 1Max 4

Code defining the tariff bureau or tariff publishing agent that governs the rates applied to this shipment

PI-06
965
Issuing Carrier Identifier
Optional
String (AN)
Min 1Max 10

Identification assigned by issuing carrier

PI-07
660
Contract Suffix
Optional
String (AN)
Min 1Max 2

Used to identify a type of contract

  • PI07 is the price authority suffix for the contract.
PI-08
169
Tariff Item Number
Optional
String (AN)
Min 1Max 16

Number assigned in the tariff to specific rate or group of rates that applies to one or more items in the shipment

  • PI08 is the price authority item number.
L0 Loop end
LX Loop end
L3
540
Heading > L3

Total Weight and Charges

RequiredMax use 1

To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items

Usage notes

Used for total charges, advances and prepaid only

Example
L3-05
58
Charge
Optional
Numeric (N2)
Min 1Max 12

For a line item: freight or special charge; for the total invoice: the total charges -- expressed in the standard monetary denomination for the currency specified

  • L305 is the total charges.
Usage notes

Total freight column charges (including special charges)

L3-06
191
Advances
Optional
Numeric (N2)
Min 1Max 9

Incidental charges occurring during transportation which are not generally considered to be freight charges (examples - stop charges, diversion and reconsignment, icing) expressed in the standard monetary denomination for the currency specified

Usage notes

Total advance column charges

L3-07
117
Prepaid Amount
Optional
Numeric (N2)
Min 1Max 9

Money paid at point of origin (usually by shipper) expressed in the standard monetary denomination for the currency specified

Usage notes

Total prepaid column charges. If not a prepaid shipment, L305 plus L306 will be the total charges for the shipment.

SE
570
Heading > SE

Transaction Set Trailer

RequiredMax use 1

To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

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

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

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

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

Heading end

Functional Group Trailer

RequiredMax use 1

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

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

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

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

Assigned number originated and maintained by the sender

Interchange Control Trailer

RequiredMax use 1

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

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

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

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

A control number assigned by the interchange sender

Stedi is a registered trademark of Stedi, Inc. All names, logos, and brands of third parties listed on this page are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.