838Trading Partner Profile

This standard provides the format and establishes the data contents of the Trading Partner Profile Transaction Set 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 databases 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

  • PLALoop1Place or Location LOOPM必须(Mandatory)Repeat > 1
    PLALCDLINN1Loop1ENELoop1
    • PLA
      Place or Location
      M必须(Mandatory)
      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 LOOPM必须(Mandatory)Repeat > 1
      N1N2N3N4N9PERCURTAXFOBITDTD5FBBTPDLoop1PAMLoop1TXNLoop1
      • 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 Number
        O可选(Optional)
        Repeat > 1

        To transmit identifying numbers and descriptive information as specified by the reference number 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, sequence of routing and to provide transit time information

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

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

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

          To describe attribute of a trading partner

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

          To transmit identifying numbers and descriptive information as specified by the reference number 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

        • 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

        • 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 Number
            O可选(Optional)
            Repeat > 1

            To transmit identifying numbers and descriptive information as specified by the reference number 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 Number
          O可选(Optional)
          Repeat > 1

          To transmit identifying numbers and descriptive information as specified by the reference number qualifier

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

          To specify pertinent dates and times

    • 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 Number
          O可选(Optional)
          Repeat > 1

          To transmit identifying numbers and descriptive information as specified by the reference number 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 Number
          O可选(Optional)
          Repeat > 1

          To transmit identifying numbers and descriptive information as specified by the reference number 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 00303
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