Pilot Freight
/
Motor Carrier Bill of Lading
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from Pilot Freight. Contact Pilot Freight for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
Pilot Freight logo

X12 211 Motor Carrier Bill of Lading

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Motor Carrier Bill of Lading Transaction Set (211) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set can be used to allow shippers or other parties, responsible for contracting with a motor carrier, to provide a legal bill of lading for a shipment. It is not to be used to provide a motor carrier with data relative to a load tender, pick-up manifest, or appointment scheduling.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI sample
    View the latest version of this implementation guide as an interactive webpage
    https://www.stedi.com/app/guides/view/pilot-freight/motor-carrier-bill-of-lading/01HD98E7K2M33R6Y449M3JCQKH
    Powered by
    Build EDI implementation guides at stedi.com
    Overview
    ISA
    -
    Interchange Control Header
    Max use 1
    Required
    GS
    -
    Functional Group Header
    Max use 1
    Required
    heading
    ST
    010
    Transaction Set Header
    Max use 1
    Required
    BOL
    020
    Beginning Segment for the Motor Carrier Bill of Lading
    Max use 1
    Required
    B2A
    030
    Set Purpose
    Max use 1
    Required
    L11
    060
    Business Instructions and Reference Number
    Max use 100
    Optional
    G62
    070
    Requested Delivery Date
    Max use 6
    Optional
    G62
    070
    Requested Ship Date/Pick-up Date
    Max use 6
    Optional
    AT5
    080
    Bill of Lading Handling Requirements
    Max use 50
    Optional
    K1
    090
    Remarks
    Max use 10
    Optional
    Bill-to-Party
    detail
    0200 Loop
    SE
    220
    Transaction Set Trailer
    Max use 1
    Required
    GE
    -
    Functional Group Trailer
    Max use 1
    Required
    IEA
    -
    Interchange Control Trailer
    Max use 1
    Required
    ISA

    Interchange Control Header

    RequiredMax use 1

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

    Example
    ISA-01
    I01
    Authorization Information Qualifier
    Required

    Code to identify the type of information in the Authorization Information

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

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

    ISA-03
    I03
    Security Information Qualifier
    Required

    Code to identify the type of information in the Security Information

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

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

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

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

    Codes
    ISA-06
    I06
    Interchange Sender ID
    Required
    String (AN)
    Min 15Max 15

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

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

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

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

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

    ISA-09
    I08
    Interchange Date
    Required
    YYMMDD format

    Date of the interchange

    ISA-10
    I09
    Interchange Time
    Required
    HHMM format

    Time of the interchange

    ISA-11
    I10
    Interchange Control Standards Identifier
    Required

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

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

    This version number covers the interchange control segments

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

    A control number assigned by the interchange sender

    ISA-14
    I13
    Acknowledgment Requested
    Required
    Identifier (ID)
    Min 1Max 1

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

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

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

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

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

    >
    Component Element Separator

    Functional Group Header

    RequiredMax use 1

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

    Example
    GS-01
    479
    Functional Identifier Code
    Required

    Code identifying a group of application related transaction sets

    BL
    Motor Carrier Bill of Lading (211)
    GS-02
    142
    Application Sender's Code
    Required
    String (AN)
    Min 2Max 15

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

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

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

    GS-04
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    GS-05
    337
    Time
    Required
    HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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

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

    Assigned number originated and maintained by the sender

    GS-07
    455
    Responsible Agency Code
    Required
    Identifier (ID)
    Min 1Max 2

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

    T
    Transportation Data Coordinating Committee (TDCC)
    X
    Accredited Standards Committee X12
    GS-08
    480
    Version / Release / Industry Identifier Code
    Required

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

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

    Heading

    ST
    010
    Heading > ST

    Transaction Set Header

    RequiredMax use 1

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

    Example
    ST-01
    143
    Transaction Set Identifier Code
    Required

    Code uniquely identifying a Transaction Set

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

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

    BOL
    020
    Heading > BOL

    Beginning Segment for the Motor Carrier Bill of Lading

    RequiredMax use 1

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

    Usage notes

    Example: BOLPAAFPP064325176201401090930074100*DTW~

    Example
    BOL-01
    140
    Standard Carrier Alpha Code
    Required
    Identifier (ID)
    Min 2Max 4

    Standard Carrier Alpha Code

    • BOL01 is the Standard Carrier Alpha Code (SCAC) of the carrier that is to provide transportation services.
    BOL-02
    146
    Shipment Method of Payment
    Required

    Code identifying payment terms for transportation charges

    • BOL02 is the method of payment for the freight charges.
    CC
    Collect
    PP
    Prepaid (by Seller)
    TP
    Third Party Pay
    BOL-03
    145
    Shipment Identification Number
    Required
    String (AN)
    Min 1Max 30

    Identification number assigned to the shipment by the shipper that uniquely identifies the shipment from origin to ultimate destination and is not subject to modification; (Does not contain blanks or special characters)

    • BOL03 is the identification number assigned by the shipper, usually the Bill of Lading number.
    Usage notes

    Always sent. Pilot HAWB

    BOL-04
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    • BOL04 is the date the carrier picked up the freight.
    BOL-05
    337
    Time
    Required
    HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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

    • BOL05 is the actual time the carrier picked up the freight.
    BOL-06
    127
    Reference Identification
    Optional
    String (AN)
    Min 1Max 30

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

    • BOL06 is the number assigned by the carrier to the shipment, usually the PRO number.
    B2A
    030
    Heading > B2A

    Set Purpose

    RequiredMax use 1

    To allow for positive identification of transaction set purpose

    Usage notes

    Example: B2A*00~

    Example
    B2A-01
    353
    Transaction Set Purpose Code
    Required

    Code identifying purpose of transaction set

    00
    Original
    01
    Cancellation
    04
    Change
    L11
    060
    Heading > L11

    Business Instructions and Reference Number

    OptionalMax use 100

    To specify instructions in this business relationship or a reference number

    Usage notes

    Example: L11064325176BM~

    Example
    At least one of Reference Identification (L11-01) or Description (L11-03) is required
    L11-01
    127
    Reference Identification
    Optional
    String (AN)
    Min 1Max 30

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

    L11-02
    128
    Reference Identification Qualifier
    Optional

    Code qualifying the Reference Identification

    BM
    Bill of Lading Number
    CS
    Pilot controlling station
    DT
    Destination terminal (Delivery)
    MB
    Master Bill of Lading
    OT
    Origin terminal (Pick-up)
    SI
    Special instructions
    SS
    Special services
    L11-03
    352
    Description
    Optional
    String (AN)
    Min 1Max 80

    A free-form description to clarify the related data elements and their content

    G62-01
    432
    Date Qualifier
    Required

    Code specifying type of date

    68
    Requested Delivery Date
    G62-02
    373
    Date
    Optional
    CCYYMMDD format

    Date expressed as CCYYMMDD

    G62-03
    176
    Time Qualifier
    Optional

    Code specifying the reported time

    3
    Delivery Appointment Scheduled Time

    Delivery Appointment No Earlier Then

    L
    Latest Requested Delivery Time

    No Later Then

    X
    Scheduled Delivery Time

    No Earlier Then

    Y
    Requested Pick Up Time

    Requested Time

    G62-04
    337
    Time
    Optional
    HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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

    G62-05
    623
    Time Code
    Optional

    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

    ET
    Eastern Time
    LT
    Local Time

    Time Zone of the event.

    G62
    070
    Heading > G62

    Requested Ship Date/Pick-up Date

    OptionalMax use 6

    To specify pertinent dates and times

    Usage notes

    Example: G621020140109X080000*ET~

    Example
    Variants (all may be used)
    G62Requested Delivery Date
    If either Time Qualifier (G62-03) or Time (G62-04) is present, then the other is required
    G62-01
    432
    Date Qualifier
    Required

    Code specifying type of date

    10
    Requested Ship Date/Pick-up Date
    G62-02
    373
    Date
    Optional
    CCYYMMDD format

    Date expressed as CCYYMMDD

    G62-03
    176
    Time Qualifier
    Optional

    Code specifying the reported time

    3
    Delivery Appointment Scheduled Time

    Delivery Appointment No Earlier Then

    L
    Latest Requested Delivery Time

    No Later Then

    X
    Scheduled Delivery Time

    No Earlier Then

    Y
    Requested Pick Up Time

    Requested Time

    G62-04
    337
    Time
    Optional
    HHMM, HHMMSS, HHMMSSD, or HHMMSSDD format

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

    G62-05
    623
    Time Code
    Optional

    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

    ET
    Eastern Time
    LT
    Local Time

    Time Zone of the event.

    AT5
    080
    Heading > AT5

    Bill of Lading Handling Requirements

    OptionalMax use 50

    To identify Bill of Lading handling and service requirements

    Usage notes

    Example: AT5DELEC~

    Example
    Only one of Special Handling Code (AT5-01) or Special Handling Description (AT5-03) may be present
    Only one of Special Services Code (AT5-02) or Special Handling Description (AT5-03) may be present
    AT5-01
    152
    Special Handling Code
    Optional

    Code specifying special transportation handling instructions

    PUC
    Pickup
    PUD
    Pickup and Delivery

    Delivery

    AT5-02
    560
    Special Services Code
    Optional

    Code identifying the special service

    2D
    Second Day
    3D
    Third Day
    AM
    Next Day AM
    EC
    Economy
    FF
    First Flight
    PM
    Next Day PM
    AT5-03
    153
    Special Handling Description
    Optional
    String (AN)
    Min 2Max 30

    Free-form additional description of special handling instructions to appear on printed bill if special handling code is not adequate

    K1
    090
    Heading > K1

    Remarks

    OptionalMax use 10

    To transmit information in a free-form format for comment or special instruction

    Usage notes

    Example: K1*APPOINTMENT REQUIRED~

    Example
    K1-01
    61
    Free-Form Message
    Required
    String (AN)
    Min 1Max 30

    Free-form information

    K1-02
    61
    Free-Form Message
    Optional
    String (AN)
    Min 1Max 30

    Free-form information

    0100 Bill-to-Party
    OptionalMax >1
    Variants (all may be used)
    ConsigneeShipper
    N1
    100
    Heading > Bill-to-Party > N1

    Name

    RequiredMax use 1

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

    • Loop 0100 is used to specify the parties to the Bill of Lading, including but not limited to, the ship-from, ship-to, or bill-to parties.
    Example
    N1-01
    98
    Entity Identifier Code
    Required

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

    BT
    Bill-to-Party
    N1-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N2
    110
    Heading > Bill-to-Party > N2

    Additional Name Information

    OptionalMax use 1

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

    Usage notes

    Example: N2*C/O PILOT FREIGHT SERVICES~

    Example
    N2-01
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    N2-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N3
    120
    Heading > Bill-to-Party > N3

    Address Information

    OptionalMax use 2

    To specify the location of the named party

    Usage notes

    Example: N311400 METRO AIRPORT CENTER SUITE 200~

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

    Address information

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

    Address information

    N4
    130
    Heading > Bill-to-Party > N4

    Geographic Location

    OptionalMax use 1

    To specify the geographic place of the named party

    Usage notes

    Example: N4ROMULUSMI48174US~

    Example
    N4-01
    19
    City Name
    Optional
    String (AN)
    Min 2Max 30

    Free-form text for city name

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

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

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

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

    N4-04
    26
    Country Code
    Optional
    Identifier (ID)
    Min 2Max 3

    Code identifying the country

    G61
    140
    Heading > Bill-to-Party > G61

    Contact

    OptionalMax use 3

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

    Usage notes

    Example: G61ICPILOTTE734-941-4090~

    Example
    If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
    G61-01
    366
    Contact Function Code
    Required

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

    DC
    Delivery Contact
    G61-02
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    G61-03
    365
    Communication Number Qualifier
    Optional

    Code identifying the type of communication number

    • G6103 qualifies G6104.
    EM
    Electronic Mail
    FX
    Facsimile
    TE
    Telephone
    G61-04
    364
    Communication Number
    Optional
    String (AN)
    Min 1Max 80

    Complete communications number including country or area code when applicable

    0100 Bill-to-Party end
    0100 Consignee
    OptionalMax >1
    Variants (all may be used)
    Bill-to-PartyShipper
    N1
    100
    Heading > Consignee > N1

    Name

    RequiredMax use 1

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

    • Loop 0100 is used to specify the parties to the Bill of Lading, including but not limited to, the ship-from, ship-to, or bill-to parties.
    Example
    N1-01
    98
    Entity Identifier Code
    Required

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

    CN
    Consignee
    N1-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N2
    110
    Heading > Consignee > N2

    Additional Name Information

    OptionalMax use 1

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

    Usage notes

    Example: N2*C/O PILOT FREIGHT SERVICES~

    Example
    N2-01
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    N2-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N3
    120
    Heading > Consignee > N3

    Address Information

    OptionalMax use 2

    To specify the location of the named party

    Usage notes

    Example: N311400 METRO AIRPORT CENTER SUITE 200~

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

    Address information

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

    Address information

    N4
    130
    Heading > Consignee > N4

    Geographic Location

    OptionalMax use 1

    To specify the geographic place of the named party

    Usage notes

    Example: N4ROMULUSMI48174US~

    Example
    N4-01
    19
    City Name
    Optional
    String (AN)
    Min 2Max 30

    Free-form text for city name

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

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

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

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

    N4-04
    26
    Country Code
    Optional
    Identifier (ID)
    Min 2Max 3

    Code identifying the country

    G61
    140
    Heading > Consignee > G61

    Contact

    OptionalMax use 3

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

    Usage notes

    Example: G61ICPILOTTE734-941-4090~

    Example
    If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
    G61-01
    366
    Contact Function Code
    Required

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

    DC
    Delivery Contact
    G61-02
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    G61-03
    365
    Communication Number Qualifier
    Optional

    Code identifying the type of communication number

    • G6103 qualifies G6104.
    EM
    Electronic Mail
    FX
    Facsimile
    TE
    Telephone
    G61-04
    364
    Communication Number
    Optional
    String (AN)
    Min 1Max 80

    Complete communications number including country or area code when applicable

    0100 Consignee end
    0100 Shipper
    OptionalMax >1
    Variants (all may be used)
    Bill-to-PartyConsignee
    N1
    100
    Heading > Shipper > N1

    Name

    RequiredMax use 1

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

    • Loop 0100 is used to specify the parties to the Bill of Lading, including but not limited to, the ship-from, ship-to, or bill-to parties.
    Usage notes

    Example: N1SHPILOT AIR FREIGHT - DTW~

    Example
    N1-01
    98
    Entity Identifier Code
    Required

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

    SH
    Shipper
    N1-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N2
    110
    Heading > Shipper > N2

    Additional Name Information

    OptionalMax use 1

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

    Usage notes

    Example: N2*C/O PILOT FREIGHT SERVICES~

    Example
    N2-01
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    N2-02
    93
    Name
    Optional
    String (AN)
    Min 1Max 60

    Free-form name

    N3
    120
    Heading > Shipper > N3

    Address Information

    OptionalMax use 2

    To specify the location of the named party

    Usage notes

    Example: N311400 METRO AIRPORT CENTER SUITE 200~

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

    Address information

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

    Address information

    N4
    130
    Heading > Shipper > N4

    Geographic Location

    OptionalMax use 1

    To specify the geographic place of the named party

    Usage notes

    Example: N4ROMULUSMI48174US~

    Example
    N4-01
    19
    City Name
    Optional
    String (AN)
    Min 2Max 30

    Free-form text for city name

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

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

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

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

    N4-04
    26
    Country Code
    Optional
    Identifier (ID)
    Min 2Max 3

    Code identifying the country

    G61
    140
    Heading > Shipper > G61

    Contact

    OptionalMax use 3

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

    Usage notes

    Example: G61ICPILOTTE734-941-4090~

    Example
    If either Communication Number Qualifier (G61-03) or Communication Number (G61-04) is present, then the other is required
    G61-01
    366
    Contact Function Code
    Required

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

    DC
    Delivery Contact
    G61-02
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    G61-03
    365
    Communication Number Qualifier
    Optional

    Code identifying the type of communication number

    • G6103 qualifies G6104.
    EM
    Electronic Mail
    FX
    Facsimile
    TE
    Telephone
    G61-04
    364
    Communication Number
    Optional
    String (AN)
    Min 1Max 80

    Complete communications number including country or area code when applicable

    0100 Shipper end
    Heading end

    Detail

    0200 Loop
    RequiredMax >1
    AT1
    010
    Detail > 0200 Loop > AT1

    Bill of Lading Line Item Number

    RequiredMax use 1

    To reference a Bill of Lading line number

    • The AT1 segment provides the line number for all of the related items included.
      It may include reference numbers, rates and charges, descriptions, and or line item details. Any data included within a single loop is related to the other data included in that loop. Any reference numbers included in a loop with line item details are related to that line item only. Any reference numbers included in its own line item are related to the entire shipment and can not be broken out by line item detail.
    Usage notes

    Example: AT1*1~

    Example
    AT1-01
    213
    Lading Line Item Number
    Required
    Numeric (N0)
    Min 1Max 3

    Sequential line number for a lading item

    L11
    020
    Detail > 0200 Loop > L11

    Business Instructions and Reference Number

    RequiredMax use 100

    To specify instructions in this business relationship or a reference number

    Usage notes

    Example: L11L086W036H043DM~

    Example
    L11-01
    127
    Reference Identification
    Optional
    String (AN)
    Min 1Max 30

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

    Usage notes

    Format: LxxxWxxxHxxx – length, width & height with 3 digits each representing inches.

    L11-02
    128
    Reference Identification Qualifier
    Optional

    Code qualifying the Reference Identification

    DM
    Associated Product Number

    Dimensions

    AT4
    040
    Detail > 0200 Loop > AT4

    Bill of Lading Description

    RequiredMax use 99

    To specify the lading description

    • Segment AT4 provides a means for the shipper to provide a text description of the line item. The National Motor Freight Classification and the freight class shall be included in the AT2 segment if applicable.
    Usage notes

    Example: AT4*TREADMILL~

    Example
    AT4-01
    79
    Lading Description
    Required
    String (AN)
    Min 1Max 50

    Description of an item as required for rating and billing purposes

    0210 Loop
    RequiredMax >1
    AT2
    050
    Detail > 0200 Loop > 0210 Loop > AT2

    Bill of Lading Line Item Detail

    RequiredMax use 1

    To specify Bill of Lading quantity, weight, and commodity classification

    • The AT2 segment is used to provide the carrier with the appropriate data to rate the shipment. It is included per line item when the line item includes an item of freight.
    Usage notes

    Example: AT21PLTGL*570~

    Example
    AT2-01
    80
    Lading Quantity
    Required
    Numeric (N0)
    Min 1Max 7

    Number of units (pieces) of the lading commodity

    • AT201 is the number of carrier handling units for the line item.
    AT2-02
    211
    Packaging Form Code
    Required

    Code for packaging form of the lading quantity

    • AT202 is the packaging form of the lading quantity in AT201.
    BDL
    Bundle
    BIN
    Bin
    BOX
    Box
    CAS
    Case
    CRT
    Crate
    CTN
    Carton
    DRM
    Drum
    ECH
    Each
    ENV
    Envelope
    LTR
    Letter
    PAL
    Pail
    PCS
    Pieces
    PLT
    Pallet
    ROL
    Roll
    TBE
    Tube
    TLB
    Tool Box
    TRK
    Trunk and Chest

    Truckload

    AT2-03
    187
    Weight Qualifier
    Required

    Code defining the type of weight

    • AT203 and AT204 qualify AT205.
    G
    Gross Weight
    AT2-04
    188
    Weight Unit Code
    Required

    Code specifying the weight unit

    K
    Kilograms
    L
    Pounds
    AT2-05
    81
    Weight
    Required
    Decimal number (R)
    Min 1Max 10

    Numeric value of weight

    • AT205 is the weight of the lading quantity identified in AT201.
    0210 Loop end
    0200 Loop end
    SE
    220
    Detail > SE

    Transaction Set Trailer

    RequiredMax use 1

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

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

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

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

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

    Detail end

    Functional Group Trailer

    RequiredMax use 1

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

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

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

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

    Assigned number originated and maintained by the sender

    Interchange Control Trailer

    RequiredMax use 1

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

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

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

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

    A control number assigned by the interchange sender

    EDI Samples

    Sample 1

    ST*211*0860~
    BOL*PAAF*PP*064325176*20140109*074100*DTW~
    B2A*00~
    L11*064325176*BM~
    L11*472000045621105*MB~
    L11*ELP*CS~
    L11*DTW*DT~
    L11**SI*DEL ON 1/9 BY 1700 OR EARLIEST POSSIBLE. CALL CUSTOMER AHEAD TO SET UP. DEL~
    L11**SI*REQUIRES, INSIDE, L/G TRUCK, 2 MAN DEBRIS REM. PILOT ELP MUST BE NOTIFIED~
    L11**SI*RIGHT AWAY IF ANY SPCL SVCS ARE REFUSED WHILE DRIVERS ARE STILL ON SITE.~
    L11**SI*2ND CTC MIKE JONES @ 555-123-0152 DEL TO STE 107-MUST USE IMAGING ENTRANCE~
    L11**SI*TOOLS NEEDED KNIFE, SCISSORS, SCREWDRIVER, WORK GLOVES~
    G62*10*20140109*X*080000*ET~
    G62*68*20140109*X*120000*ET~
    G62*68*20140109*L*170000*ET~
    AT5*PUD*3D~
    AT5***SPECIAL SERVICES~
    N1*SH*PILOT AIR FREIGHT - DTW~
    N3*11400 METRO AIRPORT CENTER*SUITE 200~
    N4*ROMULUS*MI*48174*US~
    G61*DC*PILOT*TE*734-941-4090~
    G61*DC*PILOT*FX*734-941-3677~
    N1*CN*IMAGING CENTER~
    N3*1540 LAKE LANSING RD*STE 107/LG RQD~
    N4*LANSING*MI*48912*US~
    G61*DC*TRACY SMITH*TE*555-123-6570~
    N1*BT*PILOT AIR FREIGHT - CORPORATE~
    N3*314 N. MIDDLETOWN RD~
    N4*LIMA*PA*19037*US~
    AT1*1~
    L11*L086W036H043~
    AT4*TREADMILL~
    AT2*1*PLT*G*L*570~
    AT1*2~
    L11*L035W032H059~
    AT4*CASE/MONITOR~
    AT2*1*PLT*G*L*245~
    SE*38*0860~

    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.