857Shipment and Billing Notice

This X12 Transaction Set contains the format and establishes the data contents of the Shipment and Billing Notice Transaction Set (857) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set provides the recipient of a shipment with data for both receipt planning and payment generation. EDI and telecommunications technologies suggest efficiencies in the way business data is processed. For example, the sender of a shipment may send the recipient's receiving function a Ship Notice/Manifest (856), and the payables function an Invoice (810), even though the contents of these two documents may be largely redundant. In certain business environments, the Shipment and Billing Notice permits the consolidation of these two documents into one. Specifically, this transaction set is appropriate where the shipment data, when it includes terms and item prices, can be used both to plan receipts and to generate payment. In this environment, the exact prices for the items shipped may not be known in advance by both parties. This transaction set is not appropriate in so-called Evaluated Receipts Settlement (ERS) environments, in which the exact prices for the items shipped have been agreed upon by, and are known to, both parties in advance. This transaction set is not to be used to replace the Ship Notice/Manifest (856) or Invoice (810) individually, but only to replace both, together. For example, do not use this transaction set in place of a Ship Notice/Manifest while continuing to send either paper or electronic invoice.

  • ST
    Transaction Set Header
    M必须(Mandatory)
    Repeat 1

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

  • BHT
    Beginning of Hierarchical Transaction
    M必须(Mandatory)
    Repeat 1

    To define the business hierarchical structure of the transaction set and identify the business application purpose and reference data, i.e., number, date, and time

  • HLLoop1Hierarchical Level LOOPM必须(Mandatory)Repeat > 1
    HLG05Loop1TDSLoop1PALLoop1LXLoop1IT1Loop1
    • HL
      Hierarchical Level
      M必须(Mandatory)
      Repeat 1

      To identify dependencies among and the content of hierarchically related groups of data segments

    • G05Loop1Total Shipment Information LOOPO可选(Optional)Repeat 1
      G05TD1TD3TD4TD5FOBDTMN9PERCURN1Loop1LMLoop1
      • G05
        Total Shipment Information
        M必须(Mandatory)
        Repeat 1

        To provide totals relating to the shipment

      • TD1
        Carrier Details (Quantity and Weight)
        O可选(Optional)
        Repeat 5

        To specify the transportation details relative to commodity, weight, and quantity

      • TD3
        Carrier Details (Equipment)
        O可选(Optional)
        Repeat 5

        To specify transportation details relating to the equipment used by the carrier

      • TD4
        Carrier Details (Special Handling, or Hazardous Materials, or Both)
        O可选(Optional)
        Repeat 5

        To specify transportation special handling requirements, or hazardous materials information, or both

      • TD5
        Carrier Details (Routing Sequence/Transit Time)
        O可选(Optional)
        Repeat 10

        To specify the carrier and sequence of routing and provide transit time information

      • FOB
        F.O.B. Related Instructions
        O可选(Optional)
        Repeat 1

        To specify transportation instructions relating to shipment

      • DTM
        Date/Time Reference
        O可选(Optional)
        Repeat 5

        To specify pertinent dates and times

      • N9
        Extended Reference Information
        O可选(Optional)
        Repeat 20

        To transmit identifying information as specified by the Reference Identification Qualifier

      • PER
        Administrative Communications Contact
        O可选(Optional)
        Repeat 5

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

      • CUR
        Currency
        O可选(Optional)
        Repeat 1

        To specify the currency (dollars, pounds, francs, etc.) used in a transaction

      • N1Loop1Party Identification LOOPO可选(Optional)Repeat 10
        N1N2N3N4
        • N1
          Party Identification
          M必须(Mandatory)
          Repeat 1

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

        • N2
          Additional Name Information
          O可选(Optional)
          Repeat 2

          To specify additional names

        • N3
          Party Location
          O可选(Optional)
          Repeat 2

          To specify the location of the named party

        • N4
          Geographic Location
          O可选(Optional)
          Repeat 1

          To specify the geographic place of the named party

      • LMLoop1Code Source Information LOOPO可选(Optional)Repeat > 1
        LMLQ
        • LM
          Code Source Information
          M必须(Mandatory)
          Repeat 1

          To transmit standard code list identification information

        • LQ
          Industry Code Identification
          M必须(Mandatory)
          Repeat > 1

          To identify standard industry codes

    • TDSLoop1Total Monetary Value Summary LOOPO可选(Optional)Repeat 1
      TDSPRFN9DTMMTXITDTXISN1ISSSACLoop1N1Loop2FA1Loop1
      • TDS
        Total Monetary Value Summary
        M必须(Mandatory)
        Repeat 1

        To specify the total invoice discounts and amounts

      • PRF
        Purchase Order Reference
        O可选(Optional)
        Repeat 1

        To provide reference to a specific purchase order

      • N9
        Extended Reference Information
        O可选(Optional)
        Repeat > 1

        To transmit identifying information as specified by the Reference Identification Qualifier

      • DTM
        Date/Time Reference
        O可选(Optional)
        Repeat 10

        To specify pertinent dates and times

      • MTX
        Text
        O可选(Optional)
        Repeat 5

        To specify textual data

      • ITD
        Terms of Sale/Deferred Terms of Sale
        O可选(Optional)
        Repeat > 1

        To specify terms of sale

      • TXI
        Tax Information
        O可选(Optional)
        Repeat 10

        To specify tax information

      • SN1
        Item Detail (Shipment)
        O可选(Optional)
        Repeat 1

        To specify line-item detail relative to shipment

      • ISS
        Invoice Shipment Summary
        O可选(Optional)
        Repeat 1

        To specify summary details of total items shipped in terms of quantity, weight, and volume

      • SACLoop1Service, Promotion, Allowance, or Charge Information LOOPO可选(Optional)Repeat 25
        SACTXI
        • SAC
          Service, Promotion, Allowance, or Charge Information
          M必须(Mandatory)
          Repeat 1

          To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

        • TXI
          Tax Information
          O可选(Optional)
          Repeat 10

          To specify tax information

      • N1Loop2Party Identification LOOPO可选(Optional)Repeat 10
        N1N2N3N4
        • N1
          Party Identification
          M必须(Mandatory)
          Repeat 1

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

        • N2
          Additional Name Information
          O可选(Optional)
          Repeat 2

          To specify additional names

        • N3
          Party Location
          O可选(Optional)
          Repeat 2

          To specify the location of the named party

        • N4
          Geographic Location
          O可选(Optional)
          Repeat 1

          To specify the geographic place of the named party

      • FA1Loop1Type of Financial Accounting Data LOOPO可选(Optional)Repeat > 1
        FA1FA2
        • FA1
          Type of Financial Accounting Data
          M必须(Mandatory)
          Repeat 1

          To specify the organization controlling the content of the accounting citation, and the purpose associated with the accounting citation

        • FA2
          Accounting Data
          M必须(Mandatory)
          Repeat > 1

          To specify the detailed accounting data

    • PALLoop1Pallet Type and Load Characteristics LOOPO可选(Optional)Repeat 1
      PALSN1MAN
      • PAL
        Pallet Type and Load Characteristics
        M必须(Mandatory)
        Repeat 1

        To identify the type and physical attributes of the pallet, and, gross weight, gross volume, and height of the load and the pallet

      • SN1
        Item Detail (Shipment)
        O可选(Optional)
        Repeat 1

        To specify line-item detail relative to shipment

      • MAN
        Marks and Numbers Information
        O可选(Optional)
        Repeat 10

        To indicate identifying marks and numbers for shipping containers

    • LXLoop1Transaction Set Line Number LOOPO可选(Optional)Repeat 1
      LXN9SN1PO4MEAPKGMAN
      • LX
        Transaction Set Line Number
        M必须(Mandatory)
        Repeat 1

        To reference a line number in a transaction set

      • N9
        Extended Reference Information
        O可选(Optional)
        Repeat 15

        To transmit identifying information as specified by the Reference Identification Qualifier

      • SN1
        Item Detail (Shipment)
        O可选(Optional)
        Repeat 1

        To specify line-item detail relative to shipment

      • PO4
        Item Physical Details
        O可选(Optional)
        Repeat 1

        To specify the physical qualities, packaging, weights, and dimensions relating to the item

      • MEA
        Measurements
        O可选(Optional)
        Repeat 10

        To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)

      • PKG
        Marking, Packaging, Loading
        O可选(Optional)
        Repeat 10

        To describe marking, packaging, loading, and unloading requirements

      • MAN
        Marks and Numbers Information
        O可选(Optional)
        Repeat 10

        To indicate identifying marks and numbers for shipping containers

    • IT1Loop1Baseline Item Data (Invoice) LOOPO可选(Optional)Repeat 1
      IT1IT3PO4TD4TC2TXICTPN9MEADTMITDPIDLoop1SLNLoop1SACLoop2LMLoop2FA1Loop2
      • IT1
        Baseline Item Data (Invoice)
        M必须(Mandatory)
        Repeat 1

        To specify the basic and most frequently used line item data for the invoice and related transactions

      • IT3
        Additional Item Data
        O可选(Optional)
        Repeat 1

        To specify additional item details relating to variations between ordered and shipped quantities, or to specify alternate units of measures and quantities

      • PO4
        Item Physical Details
        O可选(Optional)
        Repeat 1

        To specify the physical qualities, packaging, weights, and dimensions relating to the item

      • TD4
        Carrier Details (Special Handling, or Hazardous Materials, or Both)
        O可选(Optional)
        Repeat > 1

        To specify transportation special handling requirements, or hazardous materials information, or both

      • TC2
        Commodity
        O可选(Optional)
        Repeat 5

        To identify a commodity or a group of commodities or a tariff page commodity

      • TXI
        Tax Information
        O可选(Optional)
        Repeat 10

        To specify tax information

      • CTP
        Pricing Information
        O可选(Optional)
        Repeat 10

        To specify pricing information

      • N9
        Extended Reference Information
        O可选(Optional)
        Repeat 10

        To transmit identifying information as specified by the Reference Identification Qualifier

      • MEA
        Measurements
        O可选(Optional)
        Repeat 10

        To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)

      • DTM
        Date/Time Reference
        O可选(Optional)
        Repeat 10

        To specify pertinent dates and times

      • ITD
        Terms of Sale/Deferred Terms of Sale
        O可选(Optional)
        Repeat > 1

        To specify terms of sale

      • PIDLoop1Product/Item Description LOOPO可选(Optional)Repeat 25
        PIDMEA
        • PID
          Product/Item Description
          M必须(Mandatory)
          Repeat 1

          To describe a product or process in coded or free-form format

        • MEA
          Measurements
          O可选(Optional)
          Repeat 10

          To specify physical measurements or counts, including dimensions, tolerances, variances, and weights (See Figures Appendix for example of use of C001)

      • SLNLoop1Subline Item Detail LOOPO可选(Optional)Repeat 1000
        SLNPID
        • SLN
          Subline Item Detail
          M必须(Mandatory)
          Repeat 1

          To specify product subline detail item data

        • PID
          Product/Item Description
          O可选(Optional)
          Repeat 25

          To describe a product or process in coded or free-form format

      • SACLoop2Service, Promotion, Allowance, or Charge Information LOOPO可选(Optional)Repeat 25
        SACTXI
        • SAC
          Service, Promotion, Allowance, or Charge Information
          M必须(Mandatory)
          Repeat 1

          To request or identify a service, promotion, allowance, or charge; to specify the amount or percentage for the service, promotion, allowance, or charge

        • TXI
          Tax Information
          O可选(Optional)
          Repeat 10

          To specify tax information

      • LMLoop2Code Source Information LOOPO可选(Optional)Repeat > 1
        LMLQ
        • LM
          Code Source Information
          M必须(Mandatory)
          Repeat 1

          To transmit standard code list identification information

        • LQ
          Industry Code Identification
          M必须(Mandatory)
          Repeat > 1

          To identify standard industry codes

      • FA1Loop2Type of Financial Accounting Data LOOPO可选(Optional)Repeat > 1
        FA1FA2
        • FA1
          Type of Financial Accounting Data
          M必须(Mandatory)
          Repeat 1

          To specify the organization controlling the content of the accounting citation, and the purpose associated with the accounting citation

        • FA2
          Accounting Data
          M必须(Mandatory)
          Repeat > 1

          To specify the detailed accounting data

  • SE
    Transaction Set Trailer
    M必须(Mandatory)
    Repeat 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)

Segment
X12 EDI Release 00601
To indicate the start of a transaction set and to assign a control number
Elements
  • ST01143Transaction Set Identifier Code
    ID
    M必须(Mandatory)
    Min 3 / Max 3

    Code uniquely identifying a Transaction Set

    Codes (320)
  • ST02329Transaction Set Control Number
    AN
    M必须(Mandatory)
    Min 4 / Max 9

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

  • ST031705Implementation Convention Preference
    AN
    O可选(Optional)
    Min 1 / Max 9

    Reference assigned to identify Implementation Convention