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

X12 204 Motor Carrier Load Tender

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Motor Carrier Load Tender Transaction Set (204) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set can be used to allow shippers or other interested parties to offer (tender) a shipment to a full load (truckload) motor carrier including detailed scheduling, equipment requirements, commodities, and shipping instructions pertinent to a load tender. It is not to be used to provide a motor carrier with data relative to a Less-than-Truckload bill of lading, pick-up notification, or manifest.

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/lg/motor-carrier-load-tender/01HATC3YG27MY093XC1MRJKCK6
    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
    B2
    020
    Beginning Segment for Shipment Information Transaction
    Max use 1
    Required
    B2A
    030
    Set Purpose
    Max use 1
    Required
    L11
    080
    Business Instructions and Reference Number
    Max use 50
    Required
    L11
    080
    Business Instructions and Reference Number
    Max use 50
    Required
    L11
    080
    Business Instructions and Reference Number
    Max use 50
    Optional
    L11
    080
    Business Instructions and Reference Number
    Max use 50
    Required
    L11
    080
    Business Instructions and Reference Number
    Max use 50
    Required
    G62
    090
    Date/Time
    Max use 1
    Required
    NTE
    130
    Note/Special Instruction
    Max use 10
    Optional
    0200 Loop
    detail
    0300 Loop
    S5
    010
    Stop Off Details
    Max use 1
    Required
    L11
    020
    Business Instructions and Reference Number
    Max use 50
    Optional
    L11
    020
    Business Instructions and Reference Number
    Max use 50
    Optional
    L11
    020
    Business Instructions and Reference Number
    Max use 50
    Optional
    L11
    020
    Business Instructions and Reference Number
    Max use 50
    Optional
    G62
    030
    Date/Time
    Max use 2
    Required
    AT8
    040
    Shipment Weight, Packaging and Quantity Data
    Max use 1
    Optional
    0350 Loop
    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

    SM
    Motor Carrier Load Tender (204)
    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).
    204
    Motor Carrier Load Tender
    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

    B2
    020
    Heading > B2

    Beginning Segment for Shipment Information Transaction

    RequiredMax use 1

    To transmit basic data relating to shipment information

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

    Standard Carrier Alpha Code

    • B202 contains the Standard Carrier Alpha Code (SCAC) of the carrier that will receive the bill of lading.
    • B202 is mandatory for transaction set 204.
    Usage notes

    SCAC Code of carrier

    B2-04
    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)

    Usage notes

    Load id for the Tender

    B2-06
    146
    Shipment Method of Payment
    Required

    Code identifying payment terms for transportation charges

    Usage notes

    Method of Payment, always PP for this transaction

    PP
    Prepaid (by Seller)
    B2A
    030
    Heading > B2A

    Set Purpose

    RequiredMax use 1

    To allow for positive identification of transaction set purpose

    Example
    B2A-01
    353
    Transaction Set Purpose Code
    Required

    Code identifying purpose of transaction set

    Usage notes

    This field determines the original/confirmation of tender

    00
    Original
    01
    Cancellation
    06
    Confirmation
    B2A-02
    346
    Application Type
    Required

    Code identifying an application

    LT
    Load Tender - Truckload (TL) Carrier Only
    L11-01
    127
    Reference Identification
    Required
    String (AN)
    Min 1Max 30

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

    Usage notes

    Service Type:
    TL - Truck Load
    LTL - Less Than Truck Load

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    QY
    Service Performed Code
    L11
    080
    Heading > L11

    Business Instructions and Reference Number

    RequiredMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Transaction Type: Either INVO or OTWT
    INVO stands for Invoice and OTWT stands for Warehouse transfer.
    This value should be returned as S5/L1101 with ST/L1102='TDT' in Carrier Invoice

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    TDT
    Technical Documentation Type
    L11
    080
    Heading > L11

    Business Instructions and Reference Number

    OptionalMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Carrier Pro Number. This is an optional field and will be sent out to those
    carriers for which pro-number generation logic is with TMS

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    Usage notes

    Transaction Type: Either INVO or OTWT
    INVO stands for Invoice and OTWT stands for Ware house transfer.
    This value should be returned as S5/L1101 with ST/L1102='TDT' in Carrier Invoice

    TN
    Transaction Reference Number
    L11
    080
    Heading > L11

    Business Instructions and Reference Number

    RequiredMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    SCAC Code of the carrier.
    This should be sent back in L1101 with L1101='VE' at Header Level in Carrier Invoice

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    VE
    Vendor Abbreviation Code
    L11
    080
    Heading > L11

    Business Instructions and Reference Number

    RequiredMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Tender Sequence.
    This should be sent back in N9 in the Tender Response (Only in case this is not auto
    accept)

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    ZZ
    Mutually Defined
    G62
    090
    Heading > G62

    Date/Time

    RequiredMax use 1

    To specify pertinent dates and times

    • Segment G62 in header is used to convey the must-respond-by date and time when responding to a 204 transaction.
    Example
    G62-01
    432
    Date Qualifier
    Required

    Code specifying type of date

    64
    Must Respond By
    G62-02
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    Usage notes

    Response Date: Carrier must respond to the tender by this date, else tender would be considered as Rejected

    G62-03
    176
    Time Qualifier
    Required

    Code specifying the reported time

    1
    Must Respond By
    G62-04
    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)

    Usage notes

    Response Time: Carrier must respond to the tender by this time, else tenderwould be considered as Rejected

    G62-05
    623
    Time Code
    Required

    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

    ES
    Eastern Standard Time
    NTE
    130
    Heading > NTE

    Note/Special Instruction

    OptionalMax use 10

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

    Example
    NTE-01
    363
    Note Reference Code
    Optional

    Code identifying the functional area or purpose for which the note applies

    ZZZ
    Mutually Defined
    NTE-02
    352
    Description
    Required
    String (AN)
    Min 1Max 80

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

    Usage notes

    Special Remarks

    0200 Loop
    RequiredMax 10
    N7
    200
    Heading > 0200 Loop > N7

    Equipment Details

    RequiredMax use 1

    To identify the equipment

    Example
    N7-02
    207
    Equipment Number
    Required
    String (AN)
    Min 1Max 10

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

    N7-11
    40
    Equipment Description Code
    Required

    Code identifying type of equipment used for shipment

    TV
    Truck, Van
    0200 Loop end
    Heading end

    Detail

    0300 Loop
    RequiredMax 999
    S5
    010
    Detail > 0300 Loop > S5

    Stop Off Details

    RequiredMax use 1

    To specify stop-off detail reference numbers and stop reason

    Example
    S5-01
    165
    Stop Sequence Number
    Required
    Numeric (N0)
    Min 1Max 3

    Identifying number for the specific stop and the sequence in which the stop is to be performed

    Usage notes

    Stop sequence 1 indicates pick-up details (first S5 loop)
    Stop sequence number from '2' indicates the drop off details (subsequent S5 loops)

    S5-02
    163
    Stop Reason Code
    Required

    Code specifying the reason for the stop

    Usage notes

    LD for Stop sequence 1
    UL for Stop sequence 2 with only one stop
    PU for Stop sequence 2 with more than 1 stop

    LD
    Load
    PU
    Part Unload
    UL
    Unload
    L11
    020
    Detail > 0300 Loop > L11

    Business Instructions and Reference Number

    OptionalMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Appointment number needed for delivery. This is an optional value provided if
    the end customer provides appointment number for delivery.

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    AO
    Appointment Number
    L11
    020
    Detail > 0300 Loop > L11

    Business Instructions and Reference Number

    OptionalMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Bill of Lading is only sent when this is a Confirm Tender. Original Tender does
    not have BL.
    When B2A01=''06' BL will be present.
    This should be returned back at S5/L11 with L1102='BL' on Carrier Invoice

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    BL
    Government Bill of Lading
    L11
    020
    Detail > 0300 Loop > L11

    Business Instructions and Reference Number

    OptionalMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Consignee Ship to code

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    CG
    Consignee's Order Number
    L11
    020
    Detail > 0300 Loop > L11

    Business Instructions and Reference Number

    OptionalMax use 50

    To specify instructions in this business relationship or a reference number

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

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

    Usage notes

    Customer code

    L11-02
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    CR
    Customer Reference Number
    G62
    030
    Detail > 0300 Loop > G62

    Date/Time

    RequiredMax use 2

    To specify pertinent dates and times

    • Use G62 segment either in loop 0300 or loop 0350, but not both.
    Example
    G62-01
    432
    Date Qualifier
    Required

    Code specifying type of date

    Usage notes

    10 for Stop sequence 1
    68 for Stop sequence 2 and on

    10
    Requested Ship Date/Pick-up Date
    68
    Requested Delivery Date
    78
    Delivery Appointment Scheduled Date
    G62-02
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    Usage notes

    For Stop sequence 1, only Pick up date and Time would be provided
    For Stop sequence 2 and further, appointment and delivery dates would be provided if available

    G62-03
    176
    Time Qualifier
    Required

    Code specifying the reported time

    Usage notes

    4 for Stop sequence 1
    5 for Stop sequence 2 and on

    3
    Delivery Appointment Scheduled Time
    4
    Pickup Requested Scheduled Time
    5
    Delivery Requested Scheduled Time
    G62-04
    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)

    G62-05
    623
    Time Code
    Required

    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

    ES
    Eastern Standard Time
    AT8
    040
    Detail > 0300 Loop > AT8

    Shipment Weight, Packaging and Quantity Data

    OptionalMax use 1

    To specify shipment details in terms of weight, and quantity of handling units

    • Segment AT8 in loop 0300 is intended for the transmitting of total weight, quantity, and volume relative to the specific stop-off. Should weight, quantity, and volume also be sent in segment AT8 in loop 0320 and tied to commodity detail, then the accumulated amounts of weight, quantity, and volume in the AT8 segment in loop 0320 should equal the amounts in the single AT8 occurrence in loop 0300.
    Example
    AT8-01
    187
    Weight Qualifier
    Required

    Code defining the type of weight

    G
    Gross Weight
    AT8-02
    188
    Weight Unit Code
    Required

    Code specifying the weight unit

    L
    Pounds
    AT8-03
    81
    Weight
    Required
    Decimal number (R)
    Min 1Max 10

    Numeric value of weight

    AT8-04
    80
    Lading Quantity
    Required
    Numeric (N0)
    Min 1Max 7

    Number of units (pieces) of the lading commodity

    • AT804 is the quantity of handling units that are not unitized (for example a carton). When added to the quantity in AT805, it is the total quantity of handling units in the shipment.
    AT8-06
    184
    Volume Unit Qualifier
    Required

    Code identifying the volume unit

    E
    Cubic Feet
    AT8-07
    183
    Volume
    Required
    Decimal number (R)
    Min 1Max 8

    Value of volumetric measure

    0310 Loop
    RequiredMax 1
    N1
    070
    Detail > 0300 Loop > 0310 Loop > N1

    Name

    RequiredMax use 1

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

    Example
    N1-01
    98
    Entity Identifier Code
    Required

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

    SF
    Ship From
    ST
    Ship To
    N1-02
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    Usage notes

    Ship From/To Name based on N101

    N1-03
    66
    Identification Code Qualifier
    Required

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

    54
    Warehouse
    92
    Assigned by Buyer or Buyer's Agent
    N1-04
    67
    Identification Code
    Required
    String (AN)
    Min 2Max 80

    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.
    Usage notes

    LG Warehouse Code in case of ship from and location code in case of ship-to

    N3
    090
    Detail > 0300 Loop > 0310 Loop > N3

    Address Information

    RequiredMax use 2

    To specify the location of the named party

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

    Address information

    Usage notes

    Ship from/to address based on N101 being 'ST' or 'SF' (1~55)

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

    Address information

    Usage notes

    Ship from/to address based on N101 being 'ST' or 'SF' (56~110)

    N4
    100
    Detail > 0300 Loop > 0310 Loop > N4

    Geographic Location

    RequiredMax use 1

    To specify the geographic place of the named party

    Example
    N4-01
    19
    City Name
    Required
    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.
    Usage notes

    Ship From/To City

    N4-02
    156
    State or Province Code
    Required
    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.
    Usage notes

    Ship To/From State

    N4-03
    116
    Postal Code
    Required
    Identifier (ID)
    Min 3Max 15

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

    Usage notes

    Ship from/to zip

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

    Code identifying the country

    Usage notes

    Ship From/To Country

    G61
    120
    Detail > 0300 Loop > 0310 Loop > G61

    Contact

    OptionalMax use 3

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

    Example
    G61-01
    366
    Contact Function Code
    Required

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

    CN
    General Contact
    G61-02
    93
    Name
    Required
    String (AN)
    Min 1Max 60

    Free-form name

    Usage notes

    Consignee Name

    G61-03
    365
    Communication Number Qualifier
    Required

    Code identifying the type of communication number

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

    Complete communications number including country or area code when applicable

    Usage notes

    Telephone/Fax/Email based on the code in G6103

    0310 Loop end
    0350 Loop
    OptionalMax 999
    OID
    150
    Detail > 0300 Loop > 0350 Loop > OID

    Order Identification Detail

    RequiredMax use 1

    To specify order identification detail

    • Use loop 0350 for conveying seller's order/invoice level detail or buyer's purchase order level detail. If not using order level detail, this loop should not be used.
    Example
    If either Unit or Basis for Measurement Code (OID-04) or Quantity (OID-05) is present, then the other is required
    If either Weight Unit Code (OID-06) or Weight (OID-07) is present, then the other is required
    If either Volume Unit Qualifier (OID-08) or Volume (OID-09) is present, then the other is required
    OID-01
    127
    Reference Identification
    Required
    String (AN)
    Min 1Max 30

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

    • OID01 is the seller's order identification number.
    Usage notes

    LG Order Number

    OID-02
    324
    Purchase Order Number
    Required
    String (AN)
    Min 1Max 22

    Identifying number for Purchase Order assigned by the orderer/purchaser

    Usage notes

    Customer Order Number

    OID-03
    127
    Reference Identification
    Required
    String (AN)
    Min 1Max 30

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

    • OID03 is the number assigned by the consignee to further define the purchase order number.
    Usage notes

    GERP Order Number

    OID-04
    355
    Unit or Basis for Measurement Code
    Optional

    Code specifying the units in which a value is being expressed, or manner in which a measurement has been taken

    EA
    Each
    OID-05
    380
    Quantity
    Optional
    Decimal number (R)
    Min 1Max 15

    Numeric value of quantity

    Usage notes

    LG Order Quantity

    OID-06
    188
    Weight Unit Code
    Optional

    Code specifying the weight unit

    L
    Pounds
    OID-07
    81
    Weight
    Optional
    Decimal number (R)
    Min 1Max 10

    Numeric value of weight

    Usage notes

    Total order WEIGHT for this stop

    OID-08
    184
    Volume Unit Qualifier
    Optional

    Code identifying the volume unit

    E
    Cubic Feet
    OID-09
    183
    Volume
    Optional
    Decimal number (R)
    Min 1Max 8

    Value of volumetric measure

    Usage notes

    Total order volume for this stop

    0360 Loop
    RequiredMax 99
    L5
    190
    Detail > 0300 Loop > 0350 Loop > 0360 Loop > L5

    Description, Marks and Numbers

    RequiredMax use 1

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

    • If sending order level detail within the 0350 loop, then use L5 and AT8 segments in loop 0360 to relay commodity detail. Otherwise, use L5 and AT8 segments within the 0320 loop to relay commodity detail. Use either loop 0320 or loop 0360, but not both.
    Example
    If either Commodity Code (L5-03) or Commodity Code Qualifier (L5-04) is present, then the other is required
    L5-02
    79
    Lading Description
    Required
    String (AN)
    Min 1Max 50

    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.
    Usage notes

    Shipment Description. Multiple L5 segments provided limiting each L502 to 50 characters

    L5-03
    22
    Commodity Code
    Optional

    Code describing a commodity or group of commodities

    AC
    Air Conditioner
    BU
    BUILDER GROUP
    CONSGDS
    CONSUMER GOODS
    LO
    LOWES DELIVERY
    SK
    SKS
    L5-04
    23
    Commodity Code Qualifier
    Optional

    Code identifying the commodity coding system used for Commodity Code

    Z
    Mutually defined
    0360 Loop end
    0350 Loop end
    0300 Loop end
    Detail end

    Summary

    L3
    010
    Summary > L3

    Total Weight and Charges

    RequiredMax use 1

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

    Example
    If either Declared Value (L3-14) or Rate/Value Qualifier (L3-15) is present, then the other is required
    L3-01
    81
    Weight
    Required
    Decimal number (R)
    Min 1Max 10

    Numeric value of weight

    Usage notes

    Total Weight for all stops

    L3-02
    187
    Weight Qualifier
    Required

    Code defining the type of weight

    G
    Gross Weight
    L3-09
    183
    Volume
    Required
    Decimal number (R)
    Min 1Max 8

    Value of volumetric measure

    L3-10
    184
    Volume Unit Qualifier
    Required

    Code identifying the volume unit

    E
    Cubic Feet
    L3-11
    80
    Lading Quantity
    Required
    Numeric (N0)
    Min 1Max 7

    Number of units (pieces) of the lading commodity

    L3-14
    74
    Declared Value
    Optional
    Numeric (N2)
    Min 2Max 12

    Monetary assigned value expressed in the standard monetary denomination for the currency specified

    Usage notes

    Total order value or dollar amount of the order

    L3-15
    122
    Rate/Value Qualifier
    Optional

    Code qualifying how to extend charges or interpret value

    Usage notes

    Per shipment cost

    PS
    Per Shipment
    SE
    020
    Summary > 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

    Summary 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 for LG

    ISA*00**00**01*070094818 *ZZ*SCAC *140505*1535*U*00401*100036025*0*P*>~
    GS*SM*070094818*SCAC*20140505*1535*100036025*X*004010~
    ST*204*1000~
    B2**SCAC**6940866**PP~
    B2A*00*LT~
    L11*INVO*TDT~
    L11*SCAC*VE~
    L11*1*ZZ~
    L11*TL*QY~
    G62*64*20140505*1*1833*ES~
    NTE*ZZZ* TRUCK MUST HAVE LIFTGATE ~
    N7**DFT*********TV~
    S5*1*LD~
    G62*10*20140505*4*1532*ES~
    N1*SF*LGE US DC FONTANA, CA*54*LGC2~
    N3*9415 KAISER WAY~
    N4*FONTANA*CA*92335~
    S5*2*UL~
    L11*TEST DATA*CG~
    L11*US06590601111*CR~
    L11*pallets on liftgate*AO~
    G62*68*20140509*5*1100*ES~
    AT8*G*L*11583.15*21**E*1259.83~
    N1*ST*SHIP TO LOCATION*54*CODE~
    N3*location~
    N4*CITY*ST*12345*USA~
    G61*CN*N/A*TE*206-456-1234~
    G61*CN*N/A*EM*.~
    OID*3200711101*10448*N1F14042800428*EA*21*L*11583.15*E*1259.83~
    L5** SEE JAMES FOR DETAILS CALL 24 HRS B4 ~
    L5**DLVRY SEE JAMES FOR DETAIL*AC*Z~
    L5**S DLVRY BETWEEN 11AM 12PM*AC*Z~
    L3*11583.15*G*******1259.83*E*21***12987900*PS~
    SE*32*1000~
    GE*1*100036025~
    IEA*1*100036025

    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.