You are on page 1of 36

BNSF 322 Implementation Guideline

ELECTRONIC DATA INTERCHANGE (EDI)

322 TERMINAL OPERATIONS AND INTERMODAL RAMP ACTIVITY


USING ASC X12 TRANSACTION SET 322 VERSION 004010 07/01/04

2
BNSF 322 Implementation Guideline

Table of Contents
Introduction.............................................................................................................. 3 Sample 322............................................................................................................... 4 The Transaction........................................................................................................ 5 Data Element Type................................................................................................... 5 Date Element Requirement Designator ................................................................... 5 Data Element Length ............................................................................................... 5 ISA Interchange Control Header.................................................................. 6 GS Functional Group Header ..................................................................... 7 ST Transaction Set Header......................................................................... 8 ZC1 Beginning Segment For Data Correction Or Change........................... 9 Q5 Status Details ...................................................................................... 10 N7 Equipment Details (N7 Loop)............................................................. 12 V4 Cargo Location Reference .................................................................. 13 DTM Date/Time Reference.......................................................................... 14 M7 Seal Numbers...................................................................................... 15 W09 Equipment and Temperature .............................................................. 16 W2 Equipment Identification .................................................................... 17 NA Cross-Reference Equipment ............................................................... 18 GR5 Loading Details................................................................................... 19 Y7 Priority ................................................................................................ 20 V1 Vessel Information ............................................................................. 21 R4 Port or Terminal (N7/R4 Loop) .......................................................... 22 DTM Date/Time Reference.......................................................................... 23 H3 Special Handling Instructions............................................................. 24 N1 Name (N7/N1 Loop) ........................................................................... 25 N3 Address ............................................................................................... 26 N4 Geographic Location .......................................................................... 27 K1 Remarks .............................................................................................. 28 N9 Reference Information........................................................................ 29 L0 Line Item, Quantity, and Weight (N7/L0 Loop) ................................. 30 L5 Description, Marks, and Numbers...................................................... 31 H1 Hazardous Material............................................................................. 32 L3 Total Weight and Charges .................................................................. 33 ST Transaction Set Trailer ....................................................................... 34 GE Functional Group Trailer .................................................................... 35 IEA Interchange Control Trailer ................................................................ 36

3
BNSF 322 Implementation Guideline

Introduction
Transaction Set 322: Terminal Operations and Intermodal Ramp Activity Functional Group: SO This 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 railroad, terminal operation, port authority, or Intermodal ramp to communicate rail events (e.g. arrivals, departures), as well as terminal and Intermodal ramp activities (e.g., ingates or outgates), to authorized parties to a shipment. Burlington Northern Santa Fe will transmit and accept the Terminal Operations and Intermodal Ramp Activity transaction published by Data Interchange Standards Association (DISA) for ASC X12. The following guidelines are all-inclusive and identify unique requirements for use of the ASC X12 322 transaction set when transmitting data to, and receiving data from, Burlington Northern Santa Fe. To obtain X12 standards and documentation, contact: Data Interchange Standards Association, Inc. 7600 Leesburg Pike, Suite 430 Falls Church, VA 22043 Phone: 703-970-4480 Fax: 703-970-4488 Web: http://www.disa.org/ Or: Washington Publishing Co. 5740 Industry Lane 2nd Floor Frederick, MD 21704 Phone: 301-696-0050 Fax: 301-696-0024 Web: http://www.wpc-edi.com/

4
BNSF 322 Implementation Guideline

Sample 322
ST*322*1001 Q5*I*20040101*1200*PT**OAKINTGAT*CA N7*ABCD*123456*37071*G*******CC*ABCD***4000***6****U201*ABCD M7*1760553 W2*ABCD*123456**CC*L******NONZ*654321 R4*5*SL*876411*OAKINTGAT****CA R4*6*SL*876411*OAKINTGAT****CA R4*7*SL*261000*NORFOLK****VA R4*D***OAKLAND R4*L***NAGOYA H3*IP N1*SH*SHIPPER N1*CN*CONSIGNEE N1*MC*CARRIER*2*XYZI N9*WY*805700 N9*TN*4321 N9*BN*ABC1234 SE*18*1001

5
BNSF 322 Implementation Guideline

The Transaction
The transaction set is used to describe the electronic transmission of a single document between one companys computer and another companys computer. EDI transactions are defined by segments, and each item within the segment becomes a data element. Data element type, requirement designator, and length are described below. These identifiers are listed for each data element throughout the remainder of this guide.

Data Element Type


Specifies the characters that may be used. Nn R ID AN DT TM Numeric Decimal Identifier String Date Time N indicates that it is numeric; n indicates a decimal place. R indicates an optional decimal point for integer values or a required decimal for decimal values. BNSF can accept positive and decimal values. A specific code taken from a table defined in the Data Element Dictionary, such as unit of measure. A series of alpha/numeric characters. YYYMMDD (ISO standard date). HHMM expressed in a 24-hr clock format.

Date Element Requirement Designator


Indicates when this element must be included in an electronic document. M C O Mandatory Conditional Optional The data element must be used in the segment. The data element may be required in the segment, based on whether another element is used. The data element may or may not be used in the segment at the option of the user.

Data Element Length


The minimum and maximum length of the characters in the data element. 1/15 Indicates the 1 is the minimum acceptable value and 15 is the maximum acceptable value.

6
BNSF 322 Implementation Guideline

SEGMENT ISA Interchange Control Header MANDATORY


Maximum User: 1 Example:
ISA*00*..........*00*..........*02*BNSF..........*ZZ*CUSTOMERID.....*981231*0034*U*00401*123456789*1*P *~

# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Name Authorization Information Qualifier Authorization Information Security Information Qualifier Security Information Interchange Sender ID Qualifier Interchange Sender ID Interchange Receiver ID Qualifier Interchange Receiver ID Interchange Date Interchange Time Interchange Control Standards Identifier Interchange Control Version Number Interchange Control Number Acknowledgement Requested Usage Indicator Component Element Separator

Data Element # / Type I01 / ID I02 / AN I03 / ID I04 / AN I05 / ID I06 / AN I05 / ID I07 / AN I08 / DT I09 / TM I10 / ID I11 / ID I12 / N0 I13 / ID I14 / ID I15 /

Min/Max 02 / 02 10 / 10 02 / 02 10 / 10 02 / 02 15 / 15 02 / 02 15 / 15 06 / 06 04 / 04 01 / 01 05 / 05 09 / 09 01 / 01 01 / 01 01 / 01

REQ M M M M M M M M M M M M M M M M 00 00

Contents

Senders ID qualifier Senders ID Receivers ID qualifier Receivers ID YYMMDD HHMM U = US EDI Community of ASC X12, TDCC, and UCS 00401 = X12 version 4010 Senders interchange control number 0 = No acknowledgement needed 1 = Acknowledgement requested P = Production T = Test BNSF uses a tilde ~

NOTE: Spaces must be used when the maximum length requirement is not met by the contents of the data element. Spaces are shown above in the example ISA by periods ( . ). These are not part of the ISA, but used here to illustrate that spaces are required even if no data is supplied within the position. The ISA segment must be exactly 106 positions long, including the ISA, all delimiters and mandatory fields, plus a Hex 15 immediately following the ISA16 to indicate a carriage return/line feed.

7
BNSF 322 Implementation Guideline

SEGMENT GS Functional Group Header MANDATORY


Maximum Use: 1 Example: GS*SO*SENDERID*RECEIVERID*20040101*1200*1001*X*004010
# 1 2 3 4 5 6 7 8 Name Functional Identifier Code Application Sender ID Application Receiver ID Group Date Group Time Group Control Number Agency Code Version Data Element # / Type 479 / ID 142 / AN 124 / AN 373 / DT 337 / TM 28 / N0 455 / ID 480 / AN Min/Max 02 / 02 02 / 15 02 / 15 08 / 08 04 / 04 01 / 09 01 / 02 01 / 12 REQ M M M M M M M M SO = 322 Senders ID Receivers ID YYYYMMDD of transmission HHMM of transmission Senders message control number X = ASC X12 004010 = Senders transmission standard version. Contents

8
BNSF 322 Implementation Guideline

SEGMENT ST Transaction Set Header MANDATORY


Maximum Use: 1 per transaction set Example: ST*322*10010001
# 1 2 Name Transaction Set Identifier Code Transaction Set Control Number Data Element # / Type 143 / ID 329 / AN Min/Max 03 / 03 04 / 09 REQ M M 322 Senders message control number Contents

9
BNSF 322 Implementation Guideline

SEGMENT ZC1 Beginning Segment For Data Correction Or Change OPTIONAL


Maximum Use: 1 per transaction set NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 7 8 Name Shipment ID Number Equipment Initial Equipment Number Transaction Reference Number Transaction Reference Date Correction Indicator Standard Carrier Alpha Code Transport Type Code Data Element # / Type 145 / AN 206 / AN 207 / AN 244 / AN 243 / DT 202 / ID 140 / ID 91 / ID Min/Max 01 / 30 01 / 04 01 / 10 01 / 15 08 / 08 02 / 02 02 / 04 01 / 02 REQ O O M M M M M M Contents

10
BNSF 322 Implementation Guideline

SEGMENT Q5 Status Details MANDATORY


Maximum Use: 1 per transaction set Example: Q5*AR*20040101*1200*CT**FTMADISON*IA
# 1 Name Status Code Data Element # / Type 157 / ID Min/Max 01 / 02 REQ O Contents A = Arrived B = Bad order G = Released from bad order I = In gate J = Delivered to connecting line P = Departed terminal location R = Received from prior carrier AL = Loaded on rail AR = Rail arrival at destination NF = Free time to expire NT = Notification OA = Out gate RL = Rail departure from origin UR = Unloaded from rail YYYYMMDD of status HHMM of status AT = Alaskan CT = Central ET = Eastern LT = Local MT = Mountain NT = Newfoundland PT = Pacific TT = Atlantic Not used Rail location for status update State or Province for status update Not used Not used Not used Not used Not used Not used Not used Not used Not used

2 3 4

Date Time Time Code

373 / DT 337 / TM 623 / ID

08 / 08 04 / 04 02 / 02

O C C

5 6 7 8 9 10 11 12 13 14 15 16

Status Reason Code City Name State or Province Code Country Code Equipment Initial Equipment Number Reference Number Qualifier Reference Number Direction ID Code Reference Number Qualifier Reference Number Direction ID Code

641 / ID 19 / AN 156 / ID 26 / ID 206 / AN 207 / AN 128 / ID 127 / AN 1280 / ID 128 / ID 127 / AN 1280 / ID

03 / 03 02 / 30 02 / 02 02 / 03 01 / 04 01 / 10 02 / 03 01 / 30 01 / 01 02 / 03 01 / 30 01 / 01

O C O O O O C C O C C O

11
BNSF 322 Implementation Guideline

17 18

Percent Pick-up Delivery Code

954 / R 108 / ID

01 / 10 01 / 02

O O

Not used Not used

12
BNSF 322 Implementation Guideline

SEGMENT N7 Equipment Details MANDATORY


Maximum Use: 1 loop per transaction set Example: N7*BNSF*123456*43459*G*******CN*BNSF***4000***7****U203*BNSF
# 1 2 3 4 Name Equipment Initial Equipment Number Weight Weight Qualifier Data Element # / Type 206 / AN 207 / AN 81 / R 187 / ID Min/Max 01 / 04 01 / 06 01 / 10 01 / 02 REQ M M O C Contents Equipments identifying initial Equipments identifying number Numeric value of the weight E = Estimated weight G = Gross weight N = Net weight CE = Certified weight Not used Not used Not used Not used Not used Not used CC = Container on chassis CH = Chassis CN = Container RR = Railcar TL = Trailer SCAC Not used Not used Format is feet/inches: 40 ft. = 4000 Not used L = Pounds Check digit for equipment Not used Not used Not used Code identifying equipments ISO size & type SCAC Not used

5 6 7 8 9 10 11

Tare Weight Weight Allowance Dunnage Volume Volume Unit Qualifier Ownership Code Equipment Description Code

167 / N0 232 / N0 205 / N0 183 / R 184 / ID 102 / ID 40 / ID

03 / 08 02 / 06 01 / 06 01 / 08 01 / 01 01 / 01 02 / 02

C O O C C O O

12 13 14 15 16 17 18 19 20 21 22 23 24

Standard Carrier Alpha Code Temperature Control Position Equipment Length Tare Qualifier Code Weight Unit Code Equipment Check Digit Type of Service Code Height Width Equipment Type Standard Carrier Alpha Code Car Type Code

140 / ID 319 / AN 219 / AN 567 / N0 571 / ID 188 / ID 761 / N0 56 / ID 65 / R 189 / R 24 / ID 140 / ID 301 / ID

02 / 04 03 / 06 01 / 03 04 / 05 01 / 01 01 / 01 01 / 01 02 / 02 01 / 08 01 / 08 04 / 04 02 / 04 01 / 04

O O O O C O O O O O O O O

13
BNSF 322 Implementation Guideline

SEGMENT V4 Cargo Location Reference OPTIONAL


Maximum Use: 1 per N7 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 Name Vessel Stowage Location Data Element # / Type 877 / AN Min/Max 01 / 12 REQ M Contents

14
BNSF 322 Implementation Guideline

SEGMENT DTM Date/Time Reference OPTIONAL


Maximum Use: 2 per N7 loop Example: DTM*017*20040101*1200*LT
# 1 2 3 4 Name Date/Time Qualifier Date Time Time Code Data Element # / Type 374 / ID 373 / DT 337 / TM 623 / ID Min/Max 03 / 03 08 / 08 04 / 04 02 / 02 REQ M C C C Contents 017 = Estimated delivery 069 = Promised for delivery YYYYMMDD HHMM AT = Alaskan CT = Central ET = Eastern LT = Local MT = Mountain NT = Newfoundland PT = Pacific TT = Atlantic Not used Not used

5 6

Date/Time Format Qualifier Date/Time Period

1250 / ID 1251 / AN

02 / 02 01 / 35

O C

15
BNSF 322 Implementation Guideline

SEGMENT M7 Seal Numbers OPTIONAL


Maximum Use: 1 per N7 loop Example: M7*SN1234567*SN1234568
# 1 2 3 4 5 Name Seal Number Seal Number Seal Number Seal Number Entity ID Code Data Element # / Type 225 / AN 225 / AN 225 / AN 225 / AN 98 / ID Min/Max 02 / 15 02 / 15 02 / 15 02 / 15 02 / 03 REQ M O O O O Contents Unique number on seal used to close a shipment Unique number on seal used to close a shipment Not used Not used Not used

16
BNSF 322 Implementation Guideline

SEGMENT W09 Equipment and Temperature OPTIONAL


Maximum Use: 1 per N7 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 7 8 9 Name Equipment Description Code Temperature Unit/Basis For Measurement Code Temperature Unit/Basis For Measurement Code Free-Form Message Vent Set Code Percent Quantity Data Element # / Type 40 / ID 408 / R 355 / ID 408 / R 355 / ID 3 / AN 1122 / ID 488 / N0 380 / R Min/Max 02 / 02 01 / 04 02 / 02 01 / 04 02 / 02 01 / 60 01 / 01 01 / 03 01 / 15 REQ M C C C C O O O O Contents

17
BNSF 322 Implementation Guideline

SEGMENT W2 Equipment Identification OPTIONAL


Maximum Use: 1 per N7 loop Example: W2*BNSF*123456**CN*L
# 1 2 3 4 Name Equipment Initial Equipment Number Commodity Code Equipment Description Code Data Element # / Type 206 / AN 207 / AN 22 / AN 40 / ID Min/Max 01 / 04 01 / 06 01 / 30 02 / 02 REQ M M O M Contents Equipments identifying initial Equipments identifying number Not used CC = Container on chassis CH = Chassis CN = Container RR = Railcar TL = Trailer E = Empty L = Load Not used Not used Not used Not used Not used Used when W204 = CC. This will be the chassis initial, NONZ will be used when initial is unknown Used when W204 = CC. This will be the chassis number Not used Not used Not used Not used Not used Not used

5 6 7 8 9 10 11

Equipment Status Code Net Tons Intermodal Service Code Car Service Order Code Date Type of Locomotive Maintenance Code Equipment Initial

578 / ID 577 / N0 177 / ID 240 / ID 373 / DT 502 / AN 206 / AN

01 / 02 01 / 03 01 / 02 03 / 05 08 / 08 02 / 02 01 / 04

M O O O C C C

12 13 14 15 16 17 18

Equipment Number Equipment Check Digit Position Car Type Code Yes/No Condition or Response Code AEI Tag Status Code Equipment Orientation

207 / AN 761 / N0 219 / AN 301 / ID 1073 / ID 1554 / ID 1543 / ID

01 / 06 01 / 01 01 / 03 01 / 04 01 / 01 01 / 01 01 / 01

C O O O O O O

18
BNSF 322 Implementation Guideline

SEGMENT NA Cross-Reference Equipment OPTIONAL


Maximum Use: 1 per N7 loop Example: NA***BNSF*123456*F
# 1 2 3 4 5 6 7 8 9 10 11 Name Reference Number Qualifier Reference Number Equipment Initial Equipment Number Cross Reference Type Code Position Standard Carrier Alpha Code Equipment Length Standard Carrier Alpha Code Chassis Type Yes/No Condition or Response Code Data Element # / Type 128 / ID 127 / AN 206 / AN 207 / AN 231 / ID 219 / AN 140 / ID 567 / N0 140 / ID 845 / ID 1073 / ID Min/Max 02 / 03 01 / 30 01 / 04 01 / 06 01 / 01 01 / 03 02 / 04 04 / 05 02 / 04 02 / 02 01 / 01 REQ O C M M O O O O O O O Not used Not used Equipments identifying initial Equipments identifying number F = Conveying flat car Not used Not used Not used Not used Not used Not used Contents

19
BNSF 322 Implementation Guideline

SEGMENT GR5 Loading Details OPTIONAL


Maximum Use: 10 per N7 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 Name Special Handling Code Surface/Layer or Position Code Measurement Value Unit/Basis For Measurement Code Status Reason Code Data Element # / Type 152 / ID 752 / ID 739 / R 355 / ID 641 / ID Min/Max 02 / 03 02 / 02 01 / 20 02 / 02 03 / 03 REQ M C C C O Contents

20
BNSF 322 Implementation Guideline

SEGMENT Y7 Priority OPTIONAL


Maximum Use: 1 per N7 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 Name Priority Priority Code Priority Code Qualifier Port Call File Number Date Data Element # / Type 467 / N0 470 / N0 471 / AN 468 / N0 373 / DT Min/Max 01 / 01 01 / 01 01 / 01 04 / 04 08 / 08 REQ O C C O O Contents

21
BNSF 322 Implementation Guideline

SEGMENT V1 Vessel Information OPTIONAL


Maximum Use: 1 per N7 loop Example: V1**VESSELNAME**12345
# 1 2 3 4 5 6 7 8 9 Name Vessel Code Vessel Name Country Code Flight / Voyage Number Standard Carrier Alpha Code Vessel Requirement Code Vessel Type Code Vessel Code Qualifier Transport Type Code Data Element # / Type 597 / ID 182 / AN 26 / ID 55 / AN 140 / ID 249 / ID 854 / ID 897 / ID 91 / ID Min/Max 01 / 08 02 / 28 02 / 03 02 / 10 02 / 04 01 / 01 02 / 02 01 / 01 01 / 02 REQ C C O O O O O O O Contents Not used Name of ship as documented in Lloyds Register of Ships Not used Identifying designator for the voyage on which the cargo travels Not used Not used Not used Not used Not used

22
BNSF 322 Implementation Guideline

SEGMENT R4 Port or Terminal MANDATORY


Maximum Use: 6 loops per N7 loop (N7/R4 loop) Example: R4*5*SL*537940*FTMADISON****IA
# 1 Name Port or Terminal Function Code Data Element # / Type 115 / ID Min/Max 01 / 01 REQ M Contents 1 = Final port of discharge 5 = Activity location 6 = Origin rail terminal 7 = Destination rail terminal D = Port of discharge L = Port of loading SL = U.S. SPLC Code which identifies location Port name where ocean carrier originates or terminates its shipments Not used Not used Not used State or Province

2 3 4 5 6 7 8

Location Qualifier Location Identifier Port Name Country Code Terminal Name Pier Number State or Province Code

309 / ID 310 / AN 114 / AN 26 / ID 174 / AN 113 / AN 156 / ID

01 / 02 01 / 30 02 / 24 02 / 03 02 / 30 01 / 04 02 / 02

C C O O O O O

23
BNSF 322 Implementation Guideline

SEGMENT DTM Date/Time Reference OPTIONAL


Maximum Use: 15 per N7/R4 loop NOTE: THIS SEGMENT IS NOT USED IN THE R4 LOOP BY BNSF
# 1 2 3 4 5 6 Name Date/Time Qualifier Date Time Time Code Date/Time Format Qualifier Date/Time Period Data Element # / Type 374 / ID 373 / DT 337 / TM 623 / ID 1250 / ID 1251 / AN Min/Max 03 / 03 08 / 08 04 / 04 02 / 02 02 / 02 01 / 35 REQ M C C C O C Contents

24
BNSF 322 Implementation Guideline

SEGMENT H3 Special Handling Instructions OPTIONAL


Maximum Use: 2 per N7 loop Example: H3*IP
# 1 Name Special Handling Code Special Handling Description Protective Service Code Vent Instruction Code Tariff Application Code Data Element # / Type 152 / ID Min/Max 02 / 03 REQ C Contents HM = Hazardous material HW = High/Wide load IP = Import XP = Export Not used Not used Not used Not used

2 3 4 5

153 / AN 241 / ID 242 / ID 257 / ID

02 / 30 01 / 04 01 / 07 01 / 01

C O O O

25
BNSF 322 Implementation Guideline

SEGMENT N1 Name OPTIONAL


Maximum Use: 6 loops per N7 loop (N7/N1 loop) Example: N1*CN*ABCCOMPANY
# 1 2 3 4 5 6 Name Entity ID Code Name ID Code Qualifier ID Code Entity Relationship Code Entity ID Code Data Element # / Type 98 / ID 93 / AN 66 / ID 67 / AN 706 / ID 98 / ID Min/Max 02 / 03 01 / 30 01 / 02 02 / 80 02 / 02 02 / 03 REQ M C C O O O Contents CN = Consignee MC = Motor carrier SH = Shipper Free-form name of party Not used Not used Not used Not used

26
BNSF 322 Implementation Guideline

SEGMENT N3 Address OPTIONAL


Maximum Use: 2 per N7/N1 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 Name Address Information Address Information Data Element # / Type 166 / AN 166 / AN Min/Max 01 / 55 01 / 55 REQ M O Contents

27
BNSF 322 Implementation Guideline

SEGMENT N4 Geographic Location OPTIONAL


Maximum Use: 1 per N7/N1 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 Name City Name State or Province Code Postal Code Country Code Location Qualifier Location Identifier Data Element # / Type 19 / AN 156 / ID 116 / ID 26 / ID 309 / ID 310 / AN Min/Max 02 / 30 02 / 02 03 / 15 02 / 03 01 / 02 01 / 30 REQ O O O O C O Contents

28
BNSF 322 Implementation Guideline

SEGMENT K1 Remarks OPTIONAL


Maximum Use: 2 per N7 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 Name Free-Form Message Free-Form Message Data Element # / Type 61 / AN 61 / AN Min/Max 01 / 30 01 / 30 REQ M O Contents

29
BNSF 322 Implementation Guideline

SEGMENT N9 Reference Information OPTIONAL


Maximum Use: 6 per N7 loop Example: N9*WY*12345678
# 1 Name Reference Number Qualifier Data Element # / Type 128 / ID Min/Max 02 / 03 REQ M Contents BN = Booking number BM = Bill of lading number RE = Pick up number TN = Transaction reference number UT = Unit train ID WY = Waybill number Reference number associated with qualifier sent Not used Not used Not used Not used Not used

2 3 4 5 6 7

Reference Number Free-Form Description Date Time Time Code Reference Number Qualifier

127 / AN 369 / AN 373 / DT 337 / TM 623 / ID 128 / ID

01 / 30 01 / 45 08 / 08 04 / 04 02 / 02 02 / 03

C C O O O O

30
BNSF 322 Implementation Guideline

SEGMENT L0 Line Item, Quantity, and Weight OPTIONAL


Maximum Use: 1 loop per N7 loop (N7/L0 loop) NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Name Lading Line Item Number Billed/Rated-As Quantity Billed/Rated-As Qualifier Weight Weight Qualifier Volume Volume Unit Qualifier Lading Quantity Packaging Form Code Dunnage Description Weight Unit Code Type of Service Code Quantity Packaging Form Code Yes/No Condition or Response Code Data Element # / Type 213 / N0 220 / R 221 / ID 81 / R 187 / ID 183 / R 184 / ID 80 / N0 211 / ID 458 / AN 188 / ID 56 / ID 380 / R 211 / ID 1073 / ID Min/Max 01 / 03 01 / 11 02 / 02 01 / 10 01 / 02 01 / 08 01 / 01 01 / 07 03 / 03 02 / 25 01 / 01 02 / 02 01 / 15 03 / 03 01 / 01 REQ O C C C C C C C C O O O C O C Contents

31
BNSF 322 Implementation Guideline

SEGMENT L5 Description, Marks, and Numbers OPTIONAL


Maximum Use: 1 per N7/L0 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 7 8 9 10 Name Lading Line Item Number Lading Description Commodity Code Commodity Code Qualifier Packaging Code Marks and Numbers Marks and Number Qualifier Commodity Code Qualifier Commodity Code Compartment ID Code Data Element # / Type 213 / N0 79 / AN 22 / AN 23 / ID 103 / AN 87 / AN 88 / ID 23 / ID 22 / AN 595 / ID Min/Max 01 / 03 01 / 50 01 / 30 01 / 01 03 / 35 01 / 48 01 / 02 01 / 01 01 / 30 01 / 01 REQ O O C C O C O C C O Contents

32
BNSF 322 Implementation Guideline

SEGMENT H1 Hazardous Material OPTIONAL


Maximum Use: 3 per N7/L0 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 7 8 9 Name Hazardous Material Code Hazardous Material Class Code Hazardous Material Code Qualifier Hazardous Material Description Hazardous Material Contact Hazardous Material Page Flashpoint Temperature Unit/Basis For Measurement Code Packing Group Code Data Element # / Type 62 / AN 209 / AN 208 / ID 64 / AN 63 / AN 200 / AN 77 / N 355 / ID 254 / ID Min/Max 04 / 10 01 / 04 01 / 01 02 / 30 01 / 24 01 / 06 01 / 03 02 / 02 01 / 03 REQ M O O O O O C C O Contents

33
BNSF 322 Implementation Guideline

SEGMENT L3 Total Weight and Charges OPTIONAL


Maximum Use: 2 per N7 loop NOTE: THIS SEGMENT IS NOT USED BY BNSF
# 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Name Weight Weight Qualifier Freight Rate Rate/Value Qualifier Charge Advances Prepaid Amount Special Charge or Allowance Code Volume Volume Unit Qualifier Lading Quantity Weight Unit Code Tariff Number Declared Value Rate/Value Qualifier Data Element # / Type 81 / R 187 / ID 60 / R 122 / ID 58 / N2 191 / N2 117 / N2 150 / ID 183 / R 184 / ID 80 / N0 188 / ID 171 / AN 74 / N2 122 / ID Min/Max 01 / 10 01 / 02 01 / 09 02 / 02 01 / 12 01 / 09 01 / 09 03 / 03 01 / 08 01 / 01 01 / 07 01 / 01 01 / 07 02 / 12 02 / 02 REQ C C C C O O O O C C O O O C C Contents

34
BNSF 322 Implementation Guideline

SEGMENT SE Transaction Set Trailer MANDATORY


Maximum Use: 1 per transaction set Example: SE*21*10010001
# 1 2 Name Number of Included Segments Transaction Set Control Number Data Element # / Type 96 / ID 329 / AN Min/Max 01 / 10 01 / 09 REQ M M Contents The number of segments sent in the transaction set, including both the ST and SE segments Senders message control number, this number must match the number sent in the ST segment

35
BNSF 322 Implementation Guideline

SEGMENT GE Functional Group Trailer MANDATORY


Maximum Use: 1 Example: GE*1*1001
# 1 2 Name Number of Included Transaction Sets Group Control Number Data Element # / Type 97 / N0 28 / N0 Min/Max 01 / 06 01 / 09 REQ M M Contents This reflects the number of sets transmitted Senders group control number, this number must match the number sent in the GS segment

36
BNSF 322 Implementation Guideline

SEGMENT IEA Interchange Control Trailer MANDATORY


Maximum Use: 1 Example: IEA*1*123456789
# 1 2 Name Number of Included Functional Groups Interchange Control Number Data Element # / Type I16 / N0 I12 / N0 Min/Max 01 / 05 01 / 09 REQ M M Contents This reflects the number of functional groups sent Senders interchange control number, this number must match the number sent in the ISA segment

You might also like