X12 322 Terminal Operations and Intermodal Ramp Activity
This X12 Transaction Set contains the format and establishes the data contents of the Terminal Operations and Intermodal Ramp Activity Transaction Set (322) for use within the context of an Electronic Data Interchange (EDI) environment.
The transaction set can be used to provide all the information necessary for a terminal operation, port authority or intermodal ramp to communicate terminal and intermodal ramp activities (e.g., "ingates" and "outgates") to authorized parties to a shipment.
- ~ Segment
- * Element
- > Component
- ^ Repetition
- None included
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, the version of the data elements within the control segments, and the code values within those data elements.
- 00803
- 00803 Standards Approved for Publication by ASC X12 Procedures Review Board through December 2021
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 data 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
- SO
- Ocean Shipment Information (304, 311, 317, 319, 322, 323, 324, 325, 326, 361)
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
- 008030
- 008030 Standards Approved for Publication by ASC X12 Procedures Review Board through December 2021
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).
- 322
- Terminal Operations and Intermodal Ramp Activity
Beginning Segment for Data Correction or Change
To transmit identifying numbers, dates, and other basic data relating to the transaction set
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)
Prefix or alphabetic part of an equipment unit's identifying number
- For any rail shipment, ZC102 is required.
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Must be identical to equipment shown in N7 of previous 322 being deleted.
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Must be identical to equipment shown in N7 of previous 322 being deleted.
Sender's assigned number for referenced transaction set
Date of referenced transaction set expressed in format CCYYMMDD where CC represents the first two digits of the calendar year
Code indicating that the transaction set contains information which corrects previous information
- DE
- Delete Event
Code identifying the Standard Carrier Alpha Code
Code specifying the method or type of transportation for the shipment
- If ZC108 is "R" (Rail), then ZC102 is required.
- X
- Intermodal (Piggyback)
Number which designates the check digit applied to a piece of equipment
- ZC109 is the equipment check digit for the equipment number in ZC103.
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Status Details
To specify the status of the shipment in terms of dates, time, reference numbers, and location
Code indicating the status of a shipment
- A
- Arrived
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to BN, CN, or SH. Used to report arrival of flatcar conveyance at final destination.
- AE
- Loaded on Vessel
Used if N901 is equal to BN or OB and/or N101 is equal to SH or SS.
- AI
- Shipment Has Been Reconsigned
- AL
- Loaded on Rail
Used if N901 is equal to BM, BN, CR, OB, or WY and/or N101 is equal to BN or SH. Used to report loading of intermodal unit onto flatcar conveyance. Flatcar number should be reported in accompanying NA segment in the transaction set.
- AO
- Loaded on Barge
- AR
- Rail Arrival at Destination Intermodal Ramp
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to CN, N1 or N2. Used to report placement of flatcar conveyance at Intermodal Ramp.
- B
- Bad Order (Inoperative or Damaged)
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to CN, SH, N1 or N2.
- BO
- Rail Conveying Car Bad Ordered
- CA
- Shipment Cancelled
- CB
- Chassis Tie
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to BN, CN, N1, N2 or SH. Used to report container moving COFC being grounded to a chassis. Chassis number should be reported in accompanying W2 segment in the transaction set.
- CC
- Chassis Un-Tie
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to BN or SH. Used to report container moving COFC being removed from chassis. Chassis number should be reported in accompanying W2 segment in the transaction set.
- CS
- Container Sealed
Used when equipment arrived at rail facility without seals and seal was applied by carrier.
- CT
- Customs Released
Used if N901 is equal to BN, CR or OB and/or N101 is equal to CB, SH, SS, XB, XQ, XR or XU.
- D
- Completed Unloading at Delivery Location
Used if N901 is equal to BM, BN, CR or OB and/or N101 is equal to BN, CN or SH.
- DA
- Repair Authorization Requested
Used if N901 is equal to FI and/or N101 is equal to SS
- DC
- Unit Cleaned
Used if N901 is equal to IV and/or N101 is equal to VN or SS.
- DP
- Unit Pre-Tripped
Used if N901 is equal to IV and/or N101 is equal to SH or SS.
- DR
- Repair Authorization Received
Used if N901 is equal to FR or OW and/or N101 is equal to SS.
- DS
- Damage Survey Requested
Used if N901 is equal to FI and/or N101 is equal to BT, PA or PV.
- DT
- Damage Survey Completed
Used if N901 is equal to FI and/or N101 is equal to PA or PV.
- EA
- Estimate Approved
Used if N901 is equal to FI. Refers to the damage estimate.
- ER
- Estimate Received
Used if N901 is equal to FI and/or N101 is equal to VN. Refers to the damage estimate.
- G
- Repaired and/or Released from Bad Order
Used if N901 is equal to FI or IV and/or N101 is equal to II or VN.
- GI
- Terminal Gate Inspection
- I
- In-Gate
Used if N901 is equal to BM, BN, CR, OB or VT and/or N101 is equal to BN, CN, SH or MC.
- J
- Delivered to Connecting Line
Used to report Rail to Rail (Steel Wheel) interchanges
- K
- Arrived at Customs
Used if N901 is equal to OB and/or N101 is equal to CB, XR, XU or XQ.
- L
- Loading
- LE
- Locked Estimated Time of Notification (ETN)
The estimated time that a unit will be available for pick-up at destination
- MA
- Mexican Customs, Arrival at In-bond Facility
- MD
- Mexican Customs, Departure from In-bond Facility
- ME
- Mexican Customs, De-Ramp at In-bond Facility
- MI
- Mexican Customs, Ingate at In-bond Facility
- MO
- Mexican Customs, Outgate from In-bond Facility
- MR
- Mexican Customs, Ramp at In-bond Facility
- MT
- Empty Committed
Used if N901 is equal to BN and/or N101 is equal to AG, SH or SS.
- N
- No Paperwork Received with Shipment or Equipment
Used if N901 is equal to CR and/or N101 is equal to CN, SF, SH or MC.
- NC
- Confirmation of Notification
- ND
- Technical Charges Due
Used if N901 is equal to FR and/or origin N101 is equal to SF, SH or SS and/or destination N101 is equal to N1, N3, SS or MC.
- NF
- Free Time to Expire
Used if N901 is equal to BM, BN, CR or OB and/or N101 is equal to CN, MC, N1, N2, SS or SH.
- NG
- Non-Gate Inspection
- NH
- No Hazardous Material Document Received
Used if N901 is equal to BM, BN, CR or OB and/or N101 is equal to AG, MC, SF or SH.
- NO
- Ocean Charges Paid
Used if N901 is equal to CK, FR, PB, S4, VV or 01 and/or N101 is equal to PR.
- NP
- Terminal Charges Paid
Used if N901 is equal to CK, FR PB, S4, VV or 01 and/or N101 is equal to PR.
- NS
- No Seal on Load
Used if N901 is equal to CR or TI and/or N101 is equal to OC or OR.
- NT
- Notification
Used if N901 is equal to BM, BN, CR, OB, RE or XC and/or N101 is equal to MC, N1, N2 or RT.
- O
- Paperwork Received- Did Not Receive Shipment or Equipment
Used if N901 is equal to BM, BN, CR or OB and/or N101 is equal to MC, CN or SH.
- OA
- Out-Gate
Used if N901 is equal to BM, BN, CR, OB, IE or VT and/or N101 is equal to MC.
- OH
- On Hand
Used if N901 is equal to BM, BN, CR or OB and/or N101 is equal to CN, SH or SS.
- P
- Departed Terminal Location
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to BN or SH. Used to report departure of flat car conveyance from origin.
- PA
- U.S. Customs and Border Protection (CBP) Hold, Intensive Examination
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PB
- U.S. Customs and Border Protection (CBP) Hold, Insufficient Paperwork
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU, XQ.
- PC
- U.S. Customs and Border Protection (CBP) Hold, Discrepancy in Paperwork
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PD
- U.S. Customs and Border Protection (CBP) Hold, Discrepancy in Piece Count
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PE
- U.S. Customs and Border Protection (CBP) Hold, Hold by Coast Guard
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU, XQ.
- PF
- U.S. Customs and Border Protection (CBP) Hold, Hold by F.B.I.
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PG
- U.S. Customs and Border Protection (CBP) Hold, Hold by Local Law Enforcement
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PH
- U.S. Customs and Border Protection (CBP) Hold, Hold by Court Imposed Lien
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PI
- U.S. Customs and Border Protection (CBP) Hold, Hold by Food and Drug
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PJ
- U.S. Customs and Border Protection (CBP) Hold, Hold by Fish and Wildlife
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PK
- U.S. Customs and Border Protection (CBP) Hold, Hold by Drug Enforcement
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PL
- US Dept. Agr, Hold for Intensive Investigation
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PM
- US Dept. Agr, Hold for Unregistered Producer
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PN
- US Dept. Agr, Hold for Restricted Commodity
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PO
- US Dept. Agr, Hold for Insect Infestation
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- PP
- US Dept. Agr, Hold for Bacterial Contamination
Used if N901 is equal to BM, BN or OB and/or N101 is equal to CB, XR, XU or XQ.
- R
- Received from Prior Carrier
Used to report Rail to Rail (Steel Wheel) interchanges
- RF
- Rail Conveying Car Released from Bad Order
- RL
- Rail Departure from Origin Intermodal Ramp
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to BN or SH. Used to report pull of flatcar conveyance from origin intermodal Ramp.
- RN
- Renotification
- RY
- Movement from Intermodal Facility to Rail Yard
- SC
- Seals Altered
Used when equipment arrived at rail facility with damaged seals and carrier applied new seal.
- SF
- Move off Spot
Indicates that the unit is not available for unloading
- SO
- Move on Spot
Indicates that the unit has been spotted for unloading
- T
- At Terminal; Intra-Terminal Movement
- TE
- Tactical Estimated Time of Notification (ETN)
The revised estimated time that a unit will be available for pick- up at destination
- UR
- Unloaded from a Rail Car
Used if N901 is equal to BM, BN, CR, OB or WY and/or N101 is equal to BN, CN, N1, N2 or SH. Used to report unloading of intermodal unit from flatcar conveyance. Flatcar number should be reported in accompanying NA segment in the transaction set.
- UV
- Unloaded From Vessel
Used if N901 is equal to BN or OB and N101 is equal to CB, XR, XU, XQ or BN.
- WH
- Weight Too Heavy - Highway
Used if N901 is equal to OB or WY.
- WR
- Weight Too Heavy - Rail
Used if N901 is equal to BM, BN, CR or OB and/or N101 is equal to SH or SS.
- YR
- Movement from Rail Yard to Intermodal Facility
Date expressed as CCYYMMDD where CC represents the first two digits of the calendar year
- Q502 is the date of the status reported in Q501.
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)
- Q503 is the time of the status reported in Q501.
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
- CT
- Central Time
- ET
- Eastern Time
- LT
- Local Time
- MT
- Mountain Time
- NT
- Newfoundland Time
- PT
- Pacific Time
- TT
- Atlantic Time
- UT
- Universal Time Coordinate
Equipment Details
To identify the equipment
Prefix or alphabetic part of an equipment unit's identifying number
- N701 is mandatory for rail transactions.
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Numeric value of weight
If N717 is blank, weight is assumed to be expressed in pounds.
Must include dunnage weight
Code specifying the type of weight
- E
- Estimated Net Weight
- G
- Gross Weight
- N
- Actual Net Weight
Code identifying type of equipment used for shipment
- CC
- Container resting on a Chassis
- CH
- Chassis
- CJ
- Container, Insulated/Ventilated
- CN
- Container
- CZ
- Refrigerated Container
- TL
- Trailer (not otherwise specified)
- TW
- Trailer, Refrigerated
Code identifying the Standard Carrier Alpha Code
- N712 is the owner of the equipment.
SCAC of the Equipment Owner
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)
Outside length of equipment
Number which designates the check digit applied to a piece of equipment
Check digit for the Container
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Vertical dimension of an object measured when the object is in the upright position
- N720 and N721 are expressed in inches.
Expressed in inches
Shorter measurement of the two horizontal dimensions measured with the object in the upright position
Expressed in inches
Code identifying equipment type
ISO size and type code, a four digit code for container type based on the ISO standard.
Date/Time Reference
To specify pertinent dates and times
Code specifying type of date or time, or both date and time
- 017
- Estimated Delivery
If used, this is intended to identify the estimated date and time of grounding at the destination carrier’s ramp facility.
- 371
- Estimated Arrival Date
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
- AT
- Alaska Time
- CT
- Central Time
- ET
- Eastern Time
- LT
- Local Time
- MT
- Mountain Time
- NT
- Newfoundland Time
- PT
- Pacific Time
- TT
- Atlantic Time
Seal Numbers
To record seal numbers used and the organization that applied the seals
Equipment and Temperature
To relate equipment type and required temperatures
Code identifying type of equipment used for shipment
- CJ
- Container, Insulated/Ventilated
- CZ
- Refrigerated Container
- TW
- Trailer, Refrigerated
Temperature
- W0902 is the minimum allowable temperature condition for shipment; (the qualifying temperature scale is specified in W0903).
Actual setting of the container temperature*-
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
Temperature
- W0904 is the maximum allowable temperature condition for shipment; (the qualifying temperature scale is specified in W0905).
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
Free-form text
- W0906 is used to describe the environment required within an ocean-type, refrigerated container when other than normal air is required.
Special use as per the following:
+KF Keep From Freezing
+VF Vents Open, Fans Running
+NT No Temperature, Dry Load
Y Live Reefer
Code specifying the setting on the air vents on ocean-type containers
- A
- Vent 25% Open
- B
- Vent 50% Open
- C
- Vent 75% Open
- D
- Vent 100% Open
- E
- Closed
- F
- Vent 10% Open
- Z
- Carrier to Set Based on Commodity Type
Equipment Identification
To identify equipment and the commodity being carried
Used to report load/empty status of equipment specified in the preceding N7 segment and associated chassis if applicable.
Prefix or alphabetic part of an equipment unit's identifying number
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
This should match the N701 initial
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
This should match the N702 Number
Code identifying type of equipment used for shipment
- CC
- Container resting on a Chassis
- CH
- Chassis
Used only if chassis moving alone or bundle of banded chassis
- CJ
- Container, Insulated/Ventilated
- CN
- Container
- CZ
- Refrigerated Container
- TL
- Trailer (not otherwise specified)
- TW
- Trailer, Refrigerated
Code indicating status of equipment
Used to report status of equipment in preceding N701 and N702
- AK
- Out of Service
- E
- Empty
- L
- Load
Code identifying the Intermodal Service Plan
See Rail Data Element Dictionary
Prefix or alphabetic part of an equipment unit's identifying number
- W211 (when available) is the chassis initial if W204 equals "CC". If unknown, use NONZ for chassis initial.
Chassis Initial
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
- W212 (when available) is the chassis number if W204 equals "CC".
Chassis Number
Number which designates the check digit applied to a piece of equipment
Chassis Check Digit
Code indicating a Yes or No condition or response
- W216 indicates if equipment needs repair. A "Y" indicates equipment needs repair; an "N" indicates equipment does not need repair.
- N
- No
- Y
- Yes
Code indicating the status of an Automatic Equipment Identification Tag
Cross-Reference Equipment
To cross-reference additional equipment to a primary piece of equipment
Used to report conveying flat car
Prefix or alphabetic part of an equipment unit's identifying number
- NA03 contains the equipment initial of an associated shipment and is required by rail. If unknown, use NONZ for van or NONU for container.
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Sequencing or serial part of an equipment unit's identifying number (pure numeric form for equipment number is preferred)
- NA04 contains the equipment number of an associated shipment.
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Code specifying relationship of equipment to equipment cross-referenced
- B
- Basket Attached to Chassis (to hold generator set)
- F
- Conveying Flat Car
- H
- Generator Set
- K
- Clip-on Front-Mounted Generator Unit For Container
- S
- Saddle to Conveying Flatcar
Relative position of shipment in car, trailer, or container (mutually defined)
See Rail Data Element Dictionary for explanation of position code
Code indicating a Yes or No condition or response
- NA11 indicates the equipment damage status. A "Y" indicates equipment is damaged; an "N" indicates equipment is not damaged.
- N
- No
- Y
- Yes
Number which designates the check digit applied to a piece of equipment
- NA12 is the check digit for the equipment number in NA04.
See guideline for Equipment Initials and Numbers in the Standards Conventions chapter of the Rail Front Matter section 4.8
Vessel Identification
To provide vessel details and voyage number
Code identifying vessel
Lloyd’s Code or Radio Call Sign as qualified in V108
Name of ship as documented in "Lloyd's Register of Ships"
Identifying designator for the particular flight or voyage on which the cargo travels
Port or Terminal
Contractual or operational port or point relevant to the movement of the cargo
Code specifying function performed at the port or terminal with respect to a shipment
- 1
- Final Port of Discharge (Operational)
- 5
- Activity Location (Operational)
Qualifies the location of the Q5 event. One occurrence of this code is mandatory for all rail use and only one occurrence per transaction is allowed.
- 6
- Origin Rail Intermodal Terminal
Waybill Origin
- 7
- Destination Rail Intermodal Terminal
Waybill Destination
- D
- Port of Discharge (Operational)
- E
- Place of Delivery (Contractual)
- I
- Interim Point (Operational)
- L
- Port of Loading (Operational)
- M
- Destination (Operational)
- P
- Dispatching Pool (Operational)
- R
- Place of Receipt (Contractual)
Code identifying type of location
- CS
- Canadian SPLC
- D
- Census Schedule D
- K
- Census Schedule K
- OL
- Open and Prepay Station List Code(SCAC & Number)
- SL
- U.S. SPLC
- UN
- United Nations Location Code (UNLOCODE)
Free-form name for the place at which an offshore carrier originates or terminates (by transshipment or otherwise) its actual ocean carriage of property
Limited to the Rail 19 character station name as defined in the AAR Centralized Station Master
Special Handling Instructions
To specify special handling instructions in coded or free-form format
Code specifying special transportation handling instructions
- DM
- Domestic
- HM
- Endorsed as Hazardous Material
Used to specify hazardous materials shipments if full hazardous billing information (LH1 loop) is not available. H1 information should be provided if available.
- IP
- Import Shipment
- XP
- Export
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
- AG
- Agent/Agency
- BN
- Beneficial Owner
- BT
- Bill-to-Party
- CB
- Customs Broker
- CN
- Consignee
- II
- Issuer of Invoice
- MC
- Motor Carrier
- N1
- Notify Party no. 1
- N2
- Notify Party no. 2
- PA
- Party to Receive Inspection Report
- PR
- Payer
- PV
- Party performing certification
- RT
- Returned to
- SF
- Ship From
- SH
- Shipper
- SS
- Steamship Company
- ST
- Ship To
- VN
- Vendor
- XB
- In-land Mexican Broker
- XQ
- Canadian Customs Broker
- XR
- Mexican Customs Broker
- XU
- United States Customs Broker
Code specifying the system/method of code structure used for Identification Code (67)
- 2
- Standard Carrier Alpha Code (SCAC)
- 12
- Telephone Number (Phone)
- 17
- Automated Broker Interface (ABI) Routing Code
Only used to report Customs ABI Routing Code if N101 equals ‘CB’ or ‘XU’
- 93
- Code assigned by the organization originating the transaction set
- 94
- Code assigned by the organization that is the ultimate destination of the transaction set
- BF
- Broker Filer ID
Used to pass the Mexican Customs Patente Number. Only used when N101 equals ‘CB’, ‘XB’ or ‘XR’
- C5
- Customer Identification File
- ZZ
- Mutually Defined
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.
When qualified by ‘C5’ this field should contain the full 13 character CIF format including leading zeros. This format is defined as either 9 character alphanumeric (CIF ID) or 9 digit numeric (DUNS number) plus the 4 digit sub-location number. When conveying a primary location the sub-location will be zeros. For example: ‘0123456780000’ where DUNS = 012345678 and the + 4 = 0000. ‘A222222220000’ where CIF ID = A22222222 and the + 4 = 0000.
When qualified by a value = 12, Telephone number provided must contain area code; or where applicable for international dialing, the international access code or the plus ‘+’ sign and the country and city code as required in addition to the telephone number
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.
Code identifying the country
US, CA, MX
- CA
- Canada
- MX
- Mexico
- US
- United States of America (the)
Extended Reference Information
To transmit identifying information as specified by the Reference Identification Qualifier
Code identifying the Reference Identification
- 01
- American Bankers Assoc. (ABA) Transit/Routing Number (Including Check Digit, 9 Digits)
- 5J
- Driver's License
- 7W
- Interchange Train Identification
Used to convey train ID associated with the status reported in the Q501
- BL
- Government Bill of Lading
- BM
- Bill of Lading Number
- BN
- Booking Number
- BO
- Bin Location Number
- CK
- Check Number
- CR
- Customer Reference Number
- CT
- Contract Number
- FI
- File Identifier
- FR
- Freight Bill Number
- HW
- High/Wide File Number
- IE
- Interchange Agreement Number
- IV
- Seller's Invoice Number
- LO
- Load Planning Number
- M0
- Mexican Pedimento Number
- OB
- Ocean Bill of Lading
- ON
- Dealer Order Number
- OR
- Order/Paragraph Number
- OW
- Service Order Number
- PB
- Payer's Financial Institution Account Number for Check, Draft, or Wire Payments; Originating Company Account Number for ACH Transfers
- PO
- Purchase Order Number
- RE
- Release Number
- S4
- Shippers Bond Number
- SI
- Shipper's Identifying Number for Shipment (SID)
- TI
- TIR Number
- VT
- Motor Vehicle ID Number
- VV
- Voucher
- WY
- Waybill Number
- X3
- Defect Code Number
Used to pass roadability component defect code.
- XC
- Cargo Control Number
- YS
- Yard Position
Location where equipment has been placed in a yard, parking lot, etc.; defined by sender
- ZB
- Ultimate Consignee
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Codes to be used with the code of ‘HW’ in N901 are: OH Overheight
OLF## Over length fore ## inches OLA Over length aft ## inches OWR## Over width right ## inches OWL## Over width left ## inches
If N901 equals ‘X3’ send the roadability component defect (RCD) code as prescribed by Federal Motor Carrier Safety Administration (FMCSA) law.
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)
Code identifying the time. In accordance with International Standards Organization standard 8601, time can be specified by a + or - and an indication in hours in relation to Universal Time Coordinate (UTC) time; since + is a restricted character, + and - are substituted by P and M in the codes that follow
- N906 reflects the time zone which the time reflects.
- CT
- Central Time
- ET
- Eastern Time
- LT
- Local Time
- MT
- Mountain Time
- NT
- Newfoundland Time
- PT
- Pacific Time
- TT
- Atlantic Time
- UT
- Universal Time Coordinate
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
Basis for rating (miles, value, volume, etc.); Note: Weight may be defined by either data element 220 or 81
Code identifying the type of quantity or value on which the rate or item pricing is based
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
Code specifying extent of transportation service requested
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.
Code specifying the packaging form of the lading quantity
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.
- N
- No
- Y
- Yes
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
Start with 1 and increment by 1 for each new commodity
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
Code identifying the commodity coding system used for Commodity Code
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
Marks and numbers used to identify a shipment or parts of a shipment
Used to report VIN numbers
Code specifying the application or source of Marks and Numbers (87)
Code identifying the commodity coding system used for Commodity Code
Code describing a commodity or group of commodities
Hazardous Material
To specify information relative to hazardous material
Use of the LH loop is preferred when reporting Hazardous Materials/Dangerous Goods
Code relating to hazardous material code qualifier for regulated hazardous materials
United Nations Number
Code specifying the kind of hazard for a material
IMO Class
Code identifying the source of the Hazardous Material Class Code (209)
- I
- Intergovernmental Maritime Organization (IMO) Code
Material name, special instructions, and phone number if any
Proper Shipping Name
Phone number and name of person or department to contact in case of emergency
The United Nations page number as required for the international transport of hazardous materials
IMO Page Number
The flashpoint temperature for hazardous material
- H107 is the lowest temperature for hazardous materials.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- CE
- Centigrade, Celsius
- FA
- Fahrenheit
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
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.
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 identifying the compartment in a compartmentalized tank car
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.
Code indicating degree of danger in terms of Roman number I, II or III
Identifies the current regulatory version number used for hazardous materials shipments
Hazardous Classification Information
To specify the hazardous notation and endorsement information
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
Code specifying the hazardous classification corresponding to the shipping name of the hazardous commodity
Code identifying the placard notation corresponding to the hazard class of the hazardous commodity
Code specifying the placard endorsement that is to be shown on the shipping papers for the hazardous commodity
Code identifying presence of hazardous substance
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LH206 and LH207 indicate the flashpoint temperature.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LH208 and LH209 indicate the control temperature.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
- LH210 and LH211 indicate the emergency temperature.
Code specifying the weight unit
- LH212 and LH213 indicate the net explosive weight.
Hazardous Material Shipping Name Information
To specify the hazardous material shipping name and additional descriptive requirements
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
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
Code indicating the source (regulatory) of the proper shipping name
Code indicating the type of regulatory requirements that apply to a description; N.O.S. stands for Not Otherwise Specified
Code indicating a Yes or No condition or response
- If LH304 is "Y", then this is an Association of American Railroads Operations and Transportation Bulletin 55 commodity. If "N", it is not an Association of American Railroads Operations and Transportation Bulletin 55 commodity.
- N
- No
- Y
- Yes
Free-form Hazardous Material Information
To uniquely identify the variable information required by government regulation covering the transportation of hazardous material shipments
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
Code indicating the type of information being passed so that a receiver may format a description of hazardous commodity movements that meets regulatory requirements
Specific information required by law for hazardous material shipments
Specific information required by law for hazardous material shipments
Code specifying the Department of Transportation assigned zone designating the Inhalation Toxicity Hazard Zone
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Numeric value of quantity
- LFH06 indicates activity of the radioactive material.
Numeric value of quantity
- LFH07 indicates transport index of the radioactive material.
EPA Required Data
To specify the Environmental Protection Agency (EPA) information relating to shipments of hazardous material
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
Code specifying the waste stream number applicable to the movement of hazardous waste as determined by government regulations
Code indicating the waste characteristics as defined by regulatory requirements
Code specifying the Standard State/Province as defined by appropriate government agency
- LEP03 is used to identify the state or province responsible for the hazardous waste number contained in LEP04.
Canadian Dangerous Requirements
To specify additional Transport Canada requirements covering transportation of dangerous goods in Canada
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
The identity number of a specific hazardous emergency response plan that is assigned by the Director General of Canada
Complete communications number including country or area code when applicable
- LH402 is used for the emergency response plan telephone number.
Code indicating degree of danger in terms of Roman number I, II or III
Code indicating the classification of dangerous goods, other than the primary classification, that is associated with a number or a set of numbers
- LH404 is for the first subsidiary classification.
Code indicating the classification of dangerous goods, other than the primary classification, that is associated with a number or a set of numbers
- LH405 is for the second subsidiary classification.
Code indicating the classification of dangerous goods, other than the primary classification, that is associated with a number or a set of numbers
- LH406 is for the third subsidiary classification.
Code identifying the type of subsidiary risk
Net weight of the explosive quantity of the hazardous commodity
Notation required by Canadian regulatory agencies
Code indicating 'Special Commodity' notation on operational waybill as identified by the Transportation of Dangerous Goods Act and Regulation (TDG)
Complete communications number including country or area code when applicable
- LH411 is an additional telephone number.
Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken
Code indicating the type of information being passed so that a receiver may format a description of hazardous commodity movements that meets regulatory requirements
- Valid UOM Codes for LH413 code LQI are KG (Kilogram) or LT (Liter)
Transborder Hazardous Requirements
To specify the placard information required by the second government agency when shipment is to cross into another country
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
Code specifying the hazardous classification corresponding to the shipping name of the hazardous commodity
Code identifying the placard notation corresponding to the hazard class of the hazardous commodity
Hazardous Material Identifying Reference Numbers
To transmit specific hazardous material reference numbers
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
Code identifying the Reference Identification
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
For detailed usage see Hazardous Materials/Dangerous Goods Looping Structure guidelines in Rail Front Matter section 5.5
Code identifying the major duty or responsibility of the person or group named
Code identifying the type of communication number
Complete communications number including country or area code when applicable
Code identifying the type of communication number
Complete communications number including country or area code when applicable
Code identifying the type of communication number
Complete communications number including country or area code when applicable
Total Weight and Charges
To specify the total shipment in terms of weight, volume, rates, charges, advances, and prepaid amounts applicable to one or more line items
Used to communicate accrual or payment of Terminal Charges
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.
Money paid at point of origin (usually by shipper) expressed in the standard monetary denomination for the currency specified
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
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.