Canadian National Railway X12 410 Rail Carrier Freight Details and Invoice

Canadian National Railway

3 schema elements found

This Draft Standard schema for Trial Use contains the format and data contents of the schema for use within the context of an Electronic Data Interchange (EDI) environment.

ISA

ISA

Interchange Control Header

MMax: 1

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

ISA01
Authorization Information Qualifier
MIDMIN 2 MAX 2ID: I01

Code to identify the type of information in the Authorization Information

ISA02
Authorization Information
MANMIN 10 MAX 10ID: I02

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)

ISA03
Security Information Qualifier
MIDMIN 2 MAX 2ID: I03

Code to identify the type of information in the Security Information

ISA04
Security Information
MANMIN 10 MAX 10ID: I04

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)

ISA05
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

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

ISA06
Interchange Sender ID
MANMIN 15 MAX 15ID: I06

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

ISA07
Interchange ID Qualifier
MIDMIN 2 MAX 2ID: I05

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

ISA08
Interchange Receiver ID
MANMIN 15 MAX 15ID: I07

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

ISA09
Interchange Date
MDTMIN 6 MAX 6ID: I08

Date of the interchange

ISA10
Interchange Time
MTMMIN 4 MAX 4ID: I09

Time of the interchange

ISA11
Interchange Control Standards Identifier
MIDMIN 1 MAX 1ID: I10

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

ISA12
Interchange Control Version Number
MIDMIN 5 MAX 5ID: I11

This version number covers the interchange control segments

ISA13
Interchange Control Number
MN0MIN 9 MAX 9ID: I12

A control number assigned by the interchange sender

ISA14
Acknowledgment Requested
MIDMIN 1 MAX 1ID: I13

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

ISA15
Usage Indicator
MIDMIN 1 MAX 1ID: I14

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

ISA16
Component Element Separator
MMIN 1 MAX 1ID: I15

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

GS

GS

Functional Group Header

MMax: 1

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

GS01
Functional Identifier Code
MIDMIN 2 MAX 2ID: 479

Code identifying a group of application related transaction sets

GS02
Application Sender's Code
MANMIN 2 MAX 15ID: 142

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

GS03
Application Receiver's Code
MANMIN 2 MAX 15ID: 124

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

GS04
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

GS05
Time
MTMMIN 4 MAX 8ID: 337

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)

GS06
Group Control Number
MN0MIN 1 MAX 9ID: 28

Assigned number originated and maintained by the sender

GS07
Responsible Agency Code
MIDMIN 1 MAX 2ID: 455

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

GS08
Version / Release / Industry Identifier Code
MANMIN 1 MAX 12ID: 480

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

transactionSets

Loop: transactionSets

ST

Transaction Set Header

MMax: 1Area: 1Seq: 010

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

ST01
Transaction Set Identifier Code
MIDMIN 3 MAX 3ID: 143

Code uniquely identifying a Transaction Set

410Rail Carrier Freight Details and Invoice
ST02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

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

B3B

Beginning Segment for Carrier's Invoice

MMax: 1Area: 1Seq: 020

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

B3B01
Invoice Number
MANMIN 1 MAX 22ID: 76

Identifying number assigned by issuer

B3B02
Shipment Method of Payment
MIDMIN 2 MAX 2ID: 146

Code identifying payment terms for transportation charges

PPPrepaid (by Seller)
B3B03
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

B3B04
Net Amount Due
MN2MIN 1 MAX 12ID: 193

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

B3B05
Date
ODTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

B3B06
Standard Carrier Alpha Code
MIDMIN 2 MAX 4ID: 140

Standard Carrier Alpha Code

B3B07
Transportation Method/Type Code
MIDMIN 1 MAX 2ID: 91

Code specifying the method or type of transportation for the shipment

B3B11
Currency Code
OIDMIN 3 MAX 3ID: 100

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

C4

Alternate Amount Due

OMax: 1Area: 1Seq: 030

To specify alternate payment

C401
Currency Code
MIDMIN 3 MAX 3ID: 100

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

C402
Net Amount Due
MN2MIN 1 MAX 12ID: 193

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

N9

Reference Identification

OMax: 30Area: 1Seq: 040

To transmit identifying information as specified by the Reference Identification Qualifier

N901
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code qualifying the Reference Identification

WYwaybill number
BMBill of Lading number
GTGST Registration Number
ZZQST Registration Number
PAPrice application date
CTContract Number
COCustomer Order number
SIShipper's Identifying Number for Shipment (SID)
SOShipper's Order (Invoice Number)
N902
Reference Identification
CANMIN 1 MAX 30ID: 127

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

N903
Free-form Description
CANMIN 1 MAX 45ID: 369

Free-form descriptive text

Loop: N7_loop

Repeat: 500
N7

Equipment Details

MMax: 1Area: 1Seq: 050

To identify the equipment

N701
Equipment Initial
OANMIN 1 MAX 4ID: 206

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

N702
Equipment Number
MANMIN 1 MAX 10ID: 207

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

N703
Weight
CRMIN 1 MAX 10ID: 81

Numeric value of weight

N704
Weight Qualifier
CIDMIN 1 MAX 2ID: 187

Code defining the type of weight

NActual Net Weight
N705
Tare Weight
CN0MIN 3 MAX 8ID: 167

Weight of the equipment

N708
Volume
CRMIN 1 MAX 8ID: 183

Value of volumetric measure

N709
Volume Unit Qualifier
CIDMIN 1 MAX 1ID: 184

Code identifying the volume unit

ECubic Feet
N711
Equipment Description Code
OIDMIN 2 MAX 2ID: 40

Code identifying type of equipment used for shipment

CNContainer
RRRail Car
N712
Standard Carrier Alpha Code
OIDMIN 2 MAX 4ID: 140

Standard Carrier Alpha Code

N715
Equipment Length
ON0MIN 4 MAX 5ID: 567

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)

N716
Tare Qualifier Code
CIDMIN 1 MAX 1ID: 571

Code identifying the type of tare

AActual
N720
Height
ORMIN 1 MAX 8ID: 65

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

N722
Equipment Type
OIDMIN 4 MAX 4ID: 24

Code identifying equipment type

M7

Seal Numbers

OMax: 5Area: 1Seq: 080

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

M701
Seal Number
MANMIN 2 MAX 15ID: 225

Unique number on seal used to close a shipment

N8

Waybill Reference

MMax: 499Area: 1Seq: 130

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

N801
Waybill Number
MN0MIN 1 MAX 6ID: 186

Carrier accounting number of the waybill for the inbound movement

N802
Date
MDTMIN 8 MAX 8ID: 373

Date expressed as CCYYMMDD

F9

Origin Station

MMax: 1Area: 1Seq: 140

To identify the rail origin of the shipment

F901
Freight Station Accounting Code
OIDMIN 1 MAX 5ID: 573

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

F902
City Name
MANMIN 2 MAX 30ID: 19

Free-form text for city name

F903
State or Province Code
MIDMIN 2 MAX 2ID: 156

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

F908
Standard Point Location Code
OIDMIN 6 MAX 9ID: 154

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

D9

Destination Station

MMax: 1Area: 1Seq: 150

To identify the rail destination of the shipment

D901
Freight Station Accounting Code
OIDMIN 1 MAX 5ID: 573

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

D902
City Name
MANMIN 2 MAX 30ID: 19

Free-form text for city name

D903
State or Province Code
MIDMIN 2 MAX 2ID: 156

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

D908
Standard Point Location Code
OIDMIN 6 MAX 9ID: 154

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

Loop: N1_loop

Repeat: 10
N1

Name

OMax: 1Area: 1Seq: 160

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

N101
Entity Identifier Code
MIDMIN 2 MAX 3ID: 98

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

CNConsignee
SHShipper
SFShipped From
COCare of party
PRPayer
N102
Name
CANMIN 1 MAX 60ID: 93

Free-form name

N103
Identification Code Qualifier
CIDMIN 1 MAX 2ID: 66

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

25Carrier’s customer code
N104
Identification Code
CANMIN 2 MAX 80ID: 67

Code identifying a party or other code

N3

Address Information

OMax: 2Area: 1Seq: 170

To specify the location of the named party

N301
Address Information
MANMIN 1 MAX 55ID: 166

Address information

N4

Geographic Location

OMax: 1Area: 1Seq: 180

To specify the geographic place of the named party

N401
City Name
OANMIN 2 MAX 30ID: 19

Free-form text for city name

N402
State or Province Code
OIDMIN 2 MAX 2ID: 156

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

N403
Postal Code
OIDMIN 3 MAX 15ID: 116

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

R2

Route Information

OMax: 13Area: 1Seq: 400

To specify carrier and routing sequences and details

R201
Standard Carrier Alpha Code
MIDMIN 2 MAX 4ID: 140

Standard Carrier Alpha Code

R202
Routing Sequence Code
MIDMIN 1 MAX 2ID: 133

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

SOrigin Carrier, Shipper's Routing (Rail)

Loop: LX_loop

Repeat: 25
LX

Assigned Number

MMax: 1Area: 1Seq: 430

To reference a line number in a transaction set

LX01
Assigned Number
MN0MIN 1 MAX 6ID: 554

Number assigned for differentiation within a transaction set

L5

Description, Marks and Numbers

MMax: 15Area: 1Seq: 440

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

L501
Lading Line Item Number
ON0MIN 1 MAX 3ID: 213

Sequential line number for a lading item

L502
Lading Description
OANMIN 1 MAX 50ID: 79

Description of an item as required for rating and billing purposes

L503
Commodity Code
CANMIN 1 MAX 30ID: 22

Code describing a commodity or group of commodities

L504
Commodity Code Qualifier
CIDMIN 1 MAX 1ID: 23

Code identifying the commodity coding system used for Commodity Code

TStandard Transportation Commodity Code (STCC)

Loop: L0_loop

Repeat: 25
L0

Line Item - Quantity and Weight

MMax: 1Area: 1Seq: 460

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

L001
Lading Line Item Number
ON0MIN 1 MAX 3ID: 213

Sequential line number for a lading item

L004
Weight
CRMIN 1 MAX 10ID: 81

Numeric value of weight

L005
Weight Qualifier
CIDMIN 1 MAX 2ID: 187

Code defining the type of weight

EEstimated Weight
NNet Weight
L008
Lading Quantity
CN0MIN 1 MAX 7ID: 80

Number of units (pieces) of the lading commodity

L009
Packaging Form Code
CIDMIN 3 MAX 3ID: 211

Code for packaging form of the lading quantity

CLDCarload
TKRTank Car
L1

Rate and Charges

MMax: 10Area: 1Seq: 470

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

L101
Lading Line Item Number
ON0MIN 1 MAX 3ID: 213

Sequential line number for a lading item

L102
Freight Rate
CRMIN 1 MAX 9ID: 60

Rate that applies to the specific commodity

L103
Rate/Value Qualifier
CIDMIN 2 MAX 2ID: 122

Code qualifying how to extend charges or interpret value

PUper unit
PCper car
PWpercentage
CTcharges based on percentage
PMper miles
MNminimum charge
L104
Charge
CN2MIN 1 MAX 12ID: 58

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

L105
Advances
CN2MIN 1 MAX 9ID: 191

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

L106
Prepaid Amount
CN2MIN 1 MAX 9ID: 117

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

L108
Special Charge or Allowance Code
OIDMIN 3 MAX 3ID: 150

Code identifying type of special charge or allowance

150Canadian Currency Exchange
295Discount-Special
730Terminal Service Fee
BLCBill of Lading Charge
BRCBridge Charge (PEI Confederation)
CSECustoms Entry
CUSCustoms Charge
DELDelivery Charge
DIVDiversion and Re-consignment
DRCDrayage
DSCDiscount Special
ENSFuel Surcharge
FLTFerry Service
GSTGoods and Services Tax Charge
HAZHazardous Cargo Charge
HDFHeavy Duty Flat Car Charge
HETHeat in Transit Charges
HSTHarmonized Sales Tax
LDGLoading
NHBN.H.D Wharfage
PADPremium Charge
PUDPick-Up and Delivery
REFRefrigeration
SAJSurcharge - Dollar Value
SOCStop-Off Charge
STCState Surcharge
STRStorage in Transit
SWCSwitching Charge
TERTerminal Charge
TTSState Tax
USFUse - Special Type Flat Car
TADCarbon Tax – BC (Also available as default for all Carbon Tax)
ENCCarbon Tax – Alberta (Specific to CN)
CSKCarbon Tax – Saskatchewan (Specific to CN)
CMBCarbon Tax – Manitoba (Specific to CN)
CONCarbon Tax – Ontario (Specific to CN)
CQQCarbon Tax – Quebec (Specific to CN)
CNBCarbon Tact – New Brunswick (Specific to CN)
CNSCarbon Tax – Nova Scotia (Specific to CN)
L117
Billed/Rated-as Quantity
CRMIN 1 MAX 11ID: 220

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

L118
Billed/Rated-as Qualifier
CIDMIN 2 MAX 2ID: 221

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

PI

Price Authority Identification

OMax: 30Area: 1Seq: 480

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

PI01
Reference Identification Qualifier
MIDMIN 2 MAX 3ID: 128

Code qualifying the Reference Identification

TSTariff Number
PI02
Reference Identification
MANMIN 1 MAX 30ID: 127

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

PI05
Tariff Agency Code
OIDMIN 1 MAX 4ID: 168

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

PI08
Tariff Item Number
OANMIN 1 MAX 16ID: 169

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

L3

Total Weight and Charges

MMax: 1Area: 1Seq: 540

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

L301
Weight
CRMIN 1 MAX 10ID: 81

Numeric value of weight

L302
Weight Qualifier
CIDMIN 1 MAX 2ID: 187

Code defining the type of weight

NActual Net Weight
L303
Freight Rate
CRMIN 1 MAX 9ID: 60

Rate that applies to the specific commodity

L304
Rate/Value Qualifier
CIDMIN 2 MAX 2ID: 122

Code qualifying how to extend charges or interpret value

L305
Charge
ON2MIN 1 MAX 12ID: 58

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

L306
Advances
ON2MIN 1 MAX 9ID: 191

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

L308
Special Charge or Allowance Code
OIDMIN 3 MAX 3ID: 150

Code identifying type of special charge or allowance

150Canadian Currency Exchange
295Discount-Special
730Terminal Service Fee
BLCBill of Lading Charge
BRDBridge Charge (PEI Confederation)
CSECustoms Entry
CUSCustoms Charge
DELDelivery Charge
DIVDiversion and Re-consignment
DRCDrayage
DSCDiscount Special
ENSFuel Surcharge
FLTFerry Service
GSTGoods and Services Tax Charge
HAZHazardous Cargo Charge
HDFHeavy Duty Flat Car Charge
HDTHeavy Duty Flat Car Charge
HETHeat in Transit Charges
HSTHarmonized Sales Tax
LDGLoading
NHBN.H.D Wharfage
PADPremium Charge
PUDPick-Up and Delivery
REFRefrigeration
SAJSurcharge - Dollar Value
SOCStop-Off Charge
STCState Surcharge
STRStorage in Transit
SWCSwitching Charge
TERTerminal Charge
TTSState Tax
USFUse - Special Type Flat Car
TADCarbon Tax – BC (Also available as default for all Carbon Tax)
ENCCarbon Tax – Alberta (Specific to CN)
CSKCarbon Tax – Saskatchewan (Specific to CN)
CMBCarbon Tax – Manitoba (Specific to CN)
CONCarbon Tax – Ontario (Specific to CN)
COQCarbon Tax – Quebec (Specific to CN)
CNBCarbon Tact – New Brunswick (Specific to CN)
CNSCarbon Tax – Nova Scotia (Specific to CN)
SE

Transaction Set Trailer

MMax: 1Area: 1Seq: 570

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

SE01
Number of Included Segments
MN0MIN 1 MAX 10ID: 96

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

SE02
Transaction Set Control Number
MANMIN 4 MAX 9ID: 329

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