838Trading Partner Profile

This Draft Standard for Trial Use contains the format and establishes the data contents of the Trading Partner Profile Transaction Set (838) for use within the context of an Electronic Data Interchange (EDI) environment. This transaction set can be used to request, change, verify or transmit business profile information to or from a trading partner. This information can be used by the receiver to facilitate the processing of the sender's business transactions. The transaction set may be used to convey government survey information, business classification, general survey information, summary supplier ratings, changes in the EDI environment information, tax information, entity relationships, and general business profile information to update automated information data bases between trading partners.

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

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

  • BTP
    Beginning Segment For Trading Partner Profile
    M必须(Mandatory)
    Repeat 1

    To indicate the type and purpose of the profile data

  • REQ
    Request Information
    O可选(Optional)
    Repeat 1

    To identify the requested limitations and the corresponding response actions of an inquiry

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

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

  • SPI
    Specification Identifier
    O可选(Optional)
    Repeat > 1

    To provide a description of the included specification or technical data items

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

    To specify pertinent dates and times

  • LXLoop1Assigned Number LOOPO可选(Optional)Repeat > 1
    LXPLALCDLINN1Loop1ENELoop1
    • LX
      Assigned Number
      M必须(Mandatory)
      Repeat 1

      To reference a line number in a transaction set

    • PLA
      Place or Location
      O可选(Optional)
      Repeat 1

      To indicate action to be taken for the location specified and to qualify the location specified

    • LCD
      Place/Location Description
      O可选(Optional)
      Repeat > 1

      To further define and describe a place or location

    • LIN
      Item Identification
      O可选(Optional)
      Repeat > 1

      To specify basic item identification data

    • N1Loop1Name LOOPO可选(Optional)Repeat > 1
      N1N2N3N4N9PERCURTAXFOBITDTD5SPIFBBDTMMEALCDLoop1TPDLoop1PAMLoop1TXNLoop1LMLoop1
      • N1
        Name
        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 or those longer than 35 characters in length

      • N3
        Address Information
        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

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

        To transmit identifying information as specified by the Reference Identification Qualifier

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

        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

      • TAX
        Tax Reference
        O可选(Optional)
        Repeat > 1

        To provide data required for proper notification/determination of applicable taxes applying to the transaction or business described in the transaction

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

        To specify transportation instructions relating to shipment

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

        To specify terms of sale

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

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

      • SPI
        Specification Identifier
        O可选(Optional)
        Repeat > 1

        To provide a description of the included specification or technical data items

      • FBB
        Foreign and Industry Business
        O可选(Optional)
        Repeat > 1

        To specify amount or percentage of foreign and/or industry business by the trading partner

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

        To specify pertinent dates and times

      • MEA
        Measurements
        O可选(Optional)
        Repeat > 1

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

      • LCDLoop1Place/Location Description LOOPO可选(Optional)Repeat > 1
        LCDN2N4DMGMEA
        • LCD
          Place/Location Description
          M必须(Mandatory)
          Repeat 1

          To further define and describe a place or location

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

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

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

          To specify the geographic place of the named party

        • DMG
          Demographic Information
          O可选(Optional)
          Repeat > 1

          To supply demographic information

        • MEA
          Measurements
          O可选(Optional)
          Repeat > 1

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

      • TPDLoop1Trading Partner Detail LOOPO可选(Optional)Repeat > 1
        TPDN9PIDDTMLSLoop1SPRLoop1
        • TPD
          Trading Partner Detail
          M必须(Mandatory)
          Repeat 1

          To describe attribute of a trading partner

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

          To transmit identifying information as specified by the Reference Identification Qualifier

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

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

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

          To specify pertinent dates and times

        • LSLoop1Loop Header LOOPO可选(Optional)Repeat 1
          LSTUDLoop1LE
          • LS
            Loop Header
            M必须(Mandatory)
            Repeat 1

            To indicate that the next segment begins a loop

          • TUDLoop1Trade Union Data LOOPO可选(Optional)Repeat > 1
            TUDDTMN1N2N3N4PER
            • TUD
              Trade Union Data
              M必须(Mandatory)
              Repeat 1

              To allow for the identification of trade union data related to a specific location or product line

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

              To specify pertinent dates and times

            • N1
              Name
              O可选(Optional)
              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 or those longer than 35 characters in length

            • N3
              Address Information
              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

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

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

          • LE
            Loop Trailer
            M必须(Mandatory)
            Repeat 1

            To indicate that the loop immediately preceding this segment is complete

        • SPRLoop1Supplier Rating LOOPO可选(Optional)Repeat > 1
          SPRN9DTM
          • SPR
            Supplier Rating
            M必须(Mandatory)
            Repeat 1

            To convey a rating value or score of a trading partner

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

            To transmit identifying information as specified by the Reference Identification Qualifier

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

            To specify pertinent dates and times

      • PAMLoop1Period Amount LOOPO可选(Optional)Repeat > 1
        PAMDTMTAXCUR
        • PAM
          Period Amount
          M必须(Mandatory)
          Repeat 1

          To indicate a quantity, and/or amount for an identified period

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

          To specify pertinent dates and times

        • TAX
          Tax Reference
          O可选(Optional)
          Repeat > 1

          To provide data required for proper notification/determination of applicable taxes applying to the transaction or business described in the transaction

        • CUR
          Currency
          O可选(Optional)
          Repeat > 1

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

      • TXNLoop1Transaction Capabilities LOOPO可选(Optional)Repeat > 1
        TXNN9DTM
        • TXN
          Transaction Capabilities
          M必须(Mandatory)
          Repeat 1

          To indicate EDI transaction capabilities

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

          To transmit identifying information as specified by the Reference Identification Qualifier

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

          To specify pertinent dates and times

      • 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
          M必须(Mandatory)
          Repeat > 1

          Code to transmit standard industry codes

    • ENELoop1Electronic Systems Environment LOOPO可选(Optional)Repeat > 1
      ENEN1Loop2TXNLoop2
      • ENE
        Electronic Systems Environment
        M必须(Mandatory)
        Repeat 1

        To specify electronic systems environment

      • N1Loop2Name LOOPO可选(Optional)Repeat > 1
        N1N2N3N4TPDPIDN9PER
        • N1
          Name
          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 or those longer than 35 characters in length

        • N3
          Address Information
          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

        • TPD
          Trading Partner Detail
          O可选(Optional)
          Repeat > 1

          To describe attribute of a trading partner

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

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

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

          To transmit identifying information as specified by the Reference Identification Qualifier

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

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

      • TXNLoop2Transaction Capabilities LOOPO可选(Optional)Repeat > 1
        TXNN9DTM
        • TXN
          Transaction Capabilities
          M必须(Mandatory)
          Repeat 1

          To indicate EDI transaction capabilities

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

          To transmit identifying information as specified by the Reference Identification Qualifier

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

          To specify pertinent dates and times

  • ERI
    Entity Relationship
    O可选(Optional)
    Repeat > 1

    To identify the explicit relationship between entities, i.e., parent, child, peer

  • AMT
    Monetary Amount
    O可选(Optional)
    Repeat > 1

    To indicate the total monetary amount

  • 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 00401
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