X12 404 Intermodal Shipper Rail Carrier Shipment Information
This X12 Transaction Set 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.
- Segment
- * Element
- > Component
- ^ Repetition
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code identifying the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in 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)
Code identifying the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in 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)
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
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
Code indicating the system/method of code structure used to designate the sender or receiver ID element being qualified
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
Type is not applicable; the repetition separator is a delimiter and not a data element; this field provides the delimiter used to separate repeated occurrences of a simple data element or a composite data structure; this value must be different than the data element separator, component element separator, and the segment terminator
- ^
- Repetition Separator
Code specifying the version number of the interchange control segments
- 00701
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2013
A control number assigned by the interchange sender
Code indicating sender's request for an interchange acknowledgment
- 0
- No Interchange Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested (TA1)
- 2
- Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors"
- 3
- Interchange Acknowledgment Requested only when Interchange is "Rejected Because Of Errors" or "Accepted but Errors are Noted"
Code indicating whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
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
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- SR
- Rail Carrier Shipment Information (404, 419)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission; codes agreed to by trading partners
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
Assigned number originated and maintained by the sender
Code identifying the issuer of the standard; this code is used in conjunction with Data Element 480
- T
- Transportation Data Coordinating Committee (TDCC)
- X
- Accredited Standards Committee X12
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
- 007010
- Standards Approved for Publication by ASC X12 Procedures Review Board through October 2013
Heading
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
Code identifying a Transaction Set
- 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).
- 404
- Rail Carrier Shipment Information
General Shipment Information
To transmit identification numbers and other basic shipment data
- BX05 contains the Standard Carrier Alpha Code (SCAC) of the original roadhaul carrier receiving the shipment.
Code identifying purpose of transaction set
- 00
- Original
Code specifying the method or type of transportation for the shipment
- X
- Intermodal (Piggyback)
Code identifying payment terms for transportation charges
- CC
- Collect
- PP
- Prepaid (by Seller)
Code identifying the Standard Carrier Alpha Code
- CN
Code specifying relationship of this shipment with respect to other shipments given to the carrier at the same time
- B
- Bill of Lading for Individual Shipment
Code specifying method of handling for documentation
- 30
- Proforma with Broker Port of Exit/B13 Not Required
Rail Shipment Information
To transmit rail-specific shipment data
Release
To indicate that the equipment is or is not to be released
Code signifying whether or not the shipment information transaction set includes instructions for pickup 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)
- 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.
- R
- Released with Billing Data
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
Extended Reference Information
To transmit identifying information as specified by the Reference Identification Qualifier
Code identifying the Reference Identification
- BM
- Bill of Lading Number
- FRC
- U.S. Customs and Border Protection (CBP) Facility Information Resource Management System (FIRMS) CODE
- HS
- Harmonized Code System (Canada)
- PO
- Purchase Order Number
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
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)
Prefix or alphabetic part of an equipment unit's identifying number
- N701 is mandatory for rail transactions.
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
Code specifying the type of weight
- A3
- Shippers Weight
- N
- Actual Net Weight
Code identifying type of equipment used for shipment
- CN
- Container
- TL
- Trailer (not otherwise specified)
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)
Number which designates the check digit applied to a piece of equipment
Seal Numbers
To record seal numbers used and the organization that applied the seals
In-bond Identifying Information
To transmit in-bond information
Code specifying the type of entry assigned by U.S. Customs and Border Protection (CBP)
- 61
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".
Quantity and Description
To indicate line item quantity, description, marks and numbers, commodity code, weight, and customs value
Marks and numbers used to identify a shipment or parts of a shipment
Code identifying the commodity coding system used for Commodity Code
- J
- Harmonized System-Based Schedule B
Code describing a commodity or group of commodities
Customs value in whole dollars
- If N1013 is not used, the default currency of N1006 is USD (US Dollar).
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
- N1009 is the U.S. Customs and Border Protection (CBP) bar code number for line release.
Code specifying the smallest package unit for the bill of lading
Code identifying the country
- N1011 is the country of the manufacturer of the goods.
Code identifying the country
- N1012 is the country of the final destination of the goods.
Origin Station
To identify the rail origin of the shipment
Destination Station
To identify the rail destination of the shipment
Party Identification
To identify a party by type of organization, name, and code
Code identifying an organizational entity, a physical location, property or an individual
- BN
- Beneficial Owner
- C1
- In Care Of Party no. 1
- CN
- Consignee
- N1
- Notify Party no. 1
- SF
- Ship From
- SH
- Shipper
- UC
- Ultimate Consignee
- XQ
- Canadian Customs Broker
- XU
- United States Customs Broker
Party Location
To specify the location of the named party
Geographic Location
To specify the geographic place of the named party
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Code specifying the Standard State/Province as defined by appropriate government agency
Code specifying international postal zone code excluding punctuation and blanks (zip code for United States)
- N403 contains the postal code in an unstructured format. N408 contains the postal code in a structured format. When a postal code data field is used, the parties shall agree as to which data element (N403 or N408) shall be used in the transaction set.
Identifying number for the specific stop and the sequence in which the stop is to be performed
Stop-off Address
To specify the address of the stop-off party
Identifying number for the specific stop and the sequence in which the stop is to be performed
- S201 contains the same stop sequence number used on a corresponding S1 Segment.
Stop-off Station
To specify location details for a stop-off
Identifying number for the specific stop and the sequence in which the stop is to be performed
- S901 contains the same number used on a corresponding S1 Segment.
Code specifying the Standard State/Province as defined by appropriate government agency
Route Information
To specify carrier and routing sequences and details
Code identifying the Standard Carrier Alpha Code
- CN
Code specifying the relationship of a carrier to a specific shipment movement
- S
- Origin Carrier, Shipper's Routing (Rail)
Code identifying the Intermodal Service Plan
Special Handling Instructions
To specify special handling instructions in coded or free-form format
Transaction Set Line Number
To reference a line number in a transaction set
Description, Marks and Numbers
To specify the line item in terms of description, quantity, packaging, and marks and numbers
Sequential line number for a lading item
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.
Code describing a commodity or group of commodities
Line Item - Quantity and Weight
To specify quantity, weight, volume, and type of service for a line item including applicable "quantity/rate-as" data
Sequential line number for a lading item
Code specifying the type of weight
- A3
- Shippers Weight
- N
- Actual Net Weight
Number of units (pieces) of the lading commodity
- L008 is the number of handling units of the line item tendered to the carrier.
Code specifying the packaging form of the lading quantity
- BDL
- Bundle
- CAS
- Case
- PCS
- Pieces
Price Authority Identification
To communicate basis of pricing, such as contract number, quote number, or tariff number
Code identifying the Reference Identification
- CT
- Contract Number
- PR
- Price Quote Number
Loop Header
To indicate that the next segment begins a loop
Hazardous Identification Information
To specify the hazardous commodity identification reference number and quantity
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LH101 and LH102 are used to convey the number and type of packages for bulk and nonbulk movements.
- BX
- Box
Number of units (pieces) of the lading commodity
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
The United Nations page number as required for the international transport of hazardous materials
Code describing a commodity or group of commodities
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LH106 and LH107 are used to convey the quantity or volume and unit of measure for shipments.
Code indicating that the material being described is that which remains in a packaging (including a tank car) after it has been unloaded
- 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.
Hazardous Classification Information
To specify the hazardous notation and endorsement information
- 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.
Hazardous Material Shipping Name Information
To specify the hazardous material shipping name and additional descriptive requirements
The proper shipping name of the hazardous commodity as specified by Title 49 Code of Federal Regulations, or the shipping name of the dangerous good as defined in the Canadian Transportation of Dangerous Goods Act and Regulations, or the international regulations as promulgated by the United Nations
Canadian Dangerous Requirements
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
Code identifying the major duty or responsibility of the person or group named
- CN
- General Contact
- HM
- Hazardous Material Contact
Code identifying the type of communication number
- TE
- Telephone
Party Identification
To identify a party by type of organization, name, and code
Party Location
To specify the location of the named party
Geographic Location
To specify the geographic place of the named party
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
Code specifying the Standard State/Province as defined by appropriate government agency
Code specifying international postal zone code excluding punctuation and blanks (zip code for United States)
- N403 contains the postal code in an unstructured format. N408 contains the postal code in a structured format. When a postal code data field is used, the parties shall agree as to which data element (N403 or N408) shall be used in the transaction set.
Loop Trailer
To indicate that the loop immediately preceding this segment is complete
Hazardous Certification
To specify the name of the person certifying that the shipment complies with the regulations and/or the actual certification
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
CN_404_1.txt
GS*SR*INTERMSHIP*CN*20180116*1454*0092*X*007010
ST*404*00920001
BX*00*X*PP**CN*K*B
BNX*N**S
M3*R*20180116*1454
N9*BM*495033230**20180116*1454
N9*PO*445927**20180116*1454
N7*CNRU*220411*0020000*A3*******CN****4800
F9**MONTREAL TASCH YARD*PQ
D9**BRAMPTON INTER TER*ON
N1*SH*INTERMODAL SHIPPER INC
N3*123 ROAD
N4*MONTREAL*PQ*H4T 1T1
N1*CN*INTERMODAL SHIPPER INC
N3*12 SMITH STREET
N4*TORONTO*ON*M9W 1R6
N1*N1*INTERMODAL SHIPPER INC
R2*CN*S***25*X
H3*SLC
LX*1
L5*1*FAK*4611110*T
L0*1***0020000*N***0000600*PCS**K
PI*CT*C-05555
SE*23*00920001
GE*1*0092
IEA*1*000054913
CN_404_2.txt
GS*SR*INTERMSHIP*CN*20180116*0040*00001*X*007010
ST*404*00001
BX*00*X*PP**CN*L*B****30**2
BNX*N**S
M3*R*20180116*1454
N9*BM*12050853**20180116*1454
N9*PO*445927**20180116*1454
N7*ABCU*627464*13887*N*******CN****4000
M7*961766
F9**MONTREAL TASCH YAR*PQ
D9**CHICAGO INTER TERM*IL
N1*SH*INTERMODAL SHIPPER INC
N3*123 ROAD
N4*MONTREAL*PQ*H4T 1T1
N1*CN*INTERMODAL SHIPPER INC
N3*12 SMITH STREET
N4*CHICAGO*IL*12345
N1*XU*BROKER NAME INC
N3*123 ROAD
N4*PORT HURON*MI*12345
N1*N1*INTERMODAL SHIPPER
N4*CHICAGO*IL*12345
N1*UC*MACHINE SERVICES
N3*745 DILLON DRIVE
N4*WOOD DALE*IL*12345
N1*BN*SMITH MACHINE INC
N3*ONE STATION GATE
N4*ROMFORD*ON*M9W 1R6
R2*CN*S***15*X
H3*SLC
LX*1
L5*1*VARIABLE SPEED DRIVES*3599990*T
L0*1***13887*N***530*PCS**L
PI*CT*112112
SE*34*00001
GE*1*00001
IEA*1*000054913
CN_404_3.txt
GS*SR*INTERMSHIP*CN*20180116*0040*00001*X*007010
ST*404*00001
BX*00*X*PP**CN*L*B****30**2
BNX*N**S
M3*R*20180116*1454
N9*BM*12050853**20180116*1454
N9*PO*445927**20180116*1454
N9*HS*123456
N9*FRC*A123
N7*ABCU*627464*13887*N*******CN****4000
M7*961766
M12*61**1234***********A123
N10*18***J*382490*405707*****BE**USD
F9**MONTREAL TASCH YAR*PQ
D9**CHICAGO INTER TERM*IL
N1*SH*INTERMODAL SHIPPER INC
N3*123 ROAD
N4*MONTREAL*PQ*H4T 1T1
N1*CN*INTERMODAL SHIPPER INC
N3*12 SMITH STREET
N4*CHICAGO*IL*12345
N1*XU*BROKER NAME INC
N3*123 ROAD
N4*PORT HURON*MI*12345
N1*N1*INTERMODAL SHIPPER
N4*CHICAGO*IL*12345
N1*UC*MACHINE SERVICES
N3*745 DILLON DRIVE
N4*WOOD DALE*IL*12345
N1*BN*SMITH MACHINE INC
N3*ONE STATION GATE
N4*ROMFORD*ON*M9W 1R6
R2*CN*S***15*X
H3*SLC
LX*1
L5*1*VARIABLE SPEED DRIVES*3599990*T
L0*1***13887*N***530*PCS**L
PI*CT*112112
SE*38*00001
GE*1*00001
IEA*1*000054913
CN_404_4.txt
GS*SR*INTERMSHIP*CN*20180116*1454*0092*X*007010
ST*404*00920001
BX*00*X*PP**CN*K*B
BNX*M**S
M3*R*20130125*0728
N9*BM*495033230**20180116*1454
N9*PO*445927**20180116*1454
N7*ABCU*620411*0020000*A3*******CN****4000
F9**BRAMPTON INTER TER*ON
D9**MONTREAL TASCH YARD*PQ
N1*SH*INTERMODAL SHIPPER INC
N3*123 ROAD
N4*TORONTO*ON
N1*CN*INTERMODAL SHIPPER INC
N3*12 SMITH STREET
N4*MONTREAL*PQ
N1*N1*INTERMODAL SHIPPER INC
N4*MONTREAL*PQ
R2*CN*S***15*X
H3*SLC
LX*1
L5*1*FAK-HAZARDOUS GOODS*4950150*T
L0*1***20000*N***200*PCS**L
PI*CT*C-05555
LS*LH1
LH1*BX*42*UN2211**4941144*KG*470***III
LH2*9.1*P
LH3*POLYMERIC BEADS,*C
LH3*EXPANDABLE*C
LH3*POLYMERIC BEADS,*D
LH3*EXPANDABLE*D
LH4***III
PER*HM*service provider offerer or contract number*TE*1-613-996-6666
N1*SH*Canadian hazardous materials consignor
N3*165 HARWOOD AVENUE NORTH
N4*AJAX*ON*L1Z1L9
N1*CN*Canadian hazardous materials consignor
N3*5685 RUE CYPIHOT
N4*ST LAURENT*PQ*H4S 1R3
LE*LH1
LH6*JOHN Q. SHIPPER
SE*41*00920001
GE*1*0092
IEA*1*000054913
CN_404_5.txt
GS*SR*INTERMSHIP*CN*20180116*1454*0092*X*007010
ST*404*00920001
BX*00*X*PP**CN*K*B
BNX*N**S
M3*R*20180116*1454
N9*BM*495033230**20180116*1454
N9*PO*445927**20180116*1454
N7*CNRU*220411*22162*A3*******CN****4800
F9**MONTREAL*PQ
D9**CALGARY*AB
N1*SH*INTERMODAL SHIPPER INC
N3*123 ROAD
N4*MONTREAL*PQ*H4T 1T1
N1*CN*INTERMODAL SHIPPER INC
N3*123 SMITH STREET
N4*CALGARY*AB* T2G 5S2
N1*N1*INTERMODAL SHIPPER INC
S1*1*Intermodal first delivery****A
S2*1*8030 EXQUESING LINE
S9*1**CALGARY*AB**PU
R2*CN*S***20*X
LX*1
L5*1*FAK*4611110*T
L0*1***22162*N***1738*CAS
LX*2
L5*2*DELY: 1 # PCS: 511 WEIGHT: 8453 POUNDS
L0*1***22162*N***1738*CAS
PI*CT*C-05555
LX*3
L5*3*DELY: 2 # PCS: 1227 WEIGHT: 13709 POUNDS
SE*30*00920001
GE*1*0092
IEA*1*000054913
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.