D&H
/
Vendor Product Transfer and Resale Report
  • Specification
  • EDI Inspector
Import guide into your account
Stedi maintains this guide based on public documentation from D&H . Contact D&H for official EDI specifications. To report any errors in this guide, please contact us.
Go to Stedi Network
D&H  logo

X12 867 Vendor Product Transfer and Resale Report

X12 Release 4010

This Draft Standard for Trial Use contains the format and establishes the data contents of the Product Transfer and Resale Report Transaction Set (867) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to: (1) report information about product that has been transferred from one location to another; (2) report sales of product from one or more locations to an end customer; or (3) report sales of a product from one or more locations to an end customer, and demand beyond actual sales (lost orders). Report may be issued by either buyer or seller.

Delimiters
  • ~ Segment
  • * Element
  • > Component
EDI samples
    View the latest version of this implementation guide as an interactive webpage
    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
    BPT
    020
    Beginning Segment for Product Transfer and Resale
    Max use 1
    Required
    CUR
    040
    Currency
    Max use 1
    Required
    DTM
    050
    Date/Time Reference
    Max use 10
    Required
    N1 Loop
    detail
    PTD Loop
    PTD
    010
    Product Transfer and Resale Detail
    Max use 1
    Required
    REF
    030
    D&H Purchase Order # (for Factory Direct orders)
    Max use 20
    Optional
    REF
    030
    Seller's (D&H) Invoice Number
    Max use 20
    Optional
    REF
    030
    Customer/Reseller Order Number
    Max use 20
    Optional
    QTY Loop
    QTY
    110
    Quantity
    Max use 1
    Required
    LIN
    120
    Item Identification
    Max use 1
    Required
    UIT
    130
    Unit Detail
    Max use 12
    Required
    PID
    150
    Product/Item Description
    Max use 200
    Required
    REF
    190
    D&H Assigned Vendor ID Number
    Max use 1
    Required
    REF
    190
    Serial Number
    Max use 1
    Optional
    DTM
    210
    Invoice
    Max use 10
    Required
    DTM
    210
    Shipped
    Max use 10
    Optional
    LX 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
    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
    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
    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
    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
    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
    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
    Min 9Max 9

    A control number assigned by the interchange sender

    ISA-14
    I13
    Acknowledgment Requested
    Required
    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
    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
    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

    PT
    Product Transfer and Resale Report (867)
    GS-02
    142
    Application Sender's Code
    Required
    Min 2Max 15

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

    GS-03
    124
    Application Receiver's Code
    Required
    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
    Min 1Max 9

    Assigned number originated and maintained by the sender

    GS-07
    455
    Responsible Agency Code
    Required
    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

    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).
    867
    Product Transfer and Resale Report
    ST-02
    329
    Transaction Set Control Number
    Required
    Min 4Max 9

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

    BPT
    020

    Beginning Segment for Product Transfer and Resale

    RequiredMax use 1

    To indicate the beginning of the Product Transfer and Resale Report Transaction Set and transmit identifying data

    Usage notes

    D&H Sample Data:
    BPT00PROD. TRANS. & RESALE - P-O-S2016022602

    Example
    BPT-01
    353
    Transaction Set Purpose Code
    Required

    Code identifying purpose of transaction set

    00
    Original
    BPT-02
    127
    Reference Identification
    Required
    Min 1Max 30

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

    • BPT02 identifies the transfer/resale number.
    BPT-03
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    • BPT03 identifies the transfer/resale date.
    BPT-04
    755
    Report Type Code
    Required

    Code indicating the title or contents of a document, report or supporting item

    02
    Resale
    CUR
    040

    Currency

    RequiredMax use 1

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

    Usage notes

    D&H Sample Data:
    CURDSUSD

    Example
    CUR-01
    98
    Entity Identifier Code
    Required

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

    DS
    Distributor
    CUR-02
    100
    Currency Code
    Required

    Code (Standard ISO) for country in whose currency the charges are specified

    CAD
    Canadian Dollar
    USD
    US Dollar
    DTM
    050

    Date/Time Reference

    RequiredMax use 10

    To specify pertinent dates and times

    Usage notes

    D&H Sample Data:
    DTM09020160129
    DTM09120160205

    Example
    DTM-01
    374
    Date/Time Qualifier
    Required

    Code specifying type of date or time, or both date and time

    090
    Report Start
    091
    Report End
    DTM-02
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    N1 Loop
    RequiredMax >1
    N1
    080

    Name

    RequiredMax use 1

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

    Usage notes

    D&H Usage Notes:
    N1 Segment content will vary, depending on the report format (Consolidated vs By-Branch, see Document Notes).
    N104 Segment is the D&H Warehouse/Branch Code, for By-Branch Reported or "CONSOLIDATED" for Consolidated Reporting.
    The current D&H Warehouse/Branch details can be found on the D&H EDI Documentation Site (www.dandh.com/docs).

    D&H Sample Data:
    Consolidated Example:
    N1DSD&H Distributing92CONSOLIDATED
    By-Branch Example:
    N1DSD&H Harrisburg9201

    Example
    N1-01
    98
    Entity Identifier Code
    Required

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

    DS
    Distributor
    N1-02
    93
    Name
    Required
    Min 1Max 60

    Free-form name

    N1-03
    66
    Identification Code Qualifier
    Required

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

    92
    Assigned by Buyer or Buyer's Agent
    N1-04
    67
    Identification Code
    Required
    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.
    N3
    100

    Address Information

    OptionalMax use 2

    To specify the location of the named party

    Usage notes

    D&H Sample Data:
    N3909 KATIE COURTUNION SQUARE IND PK

    Example
    N3-01
    166
    Address Information
    Required
    Min 1Max 55

    Address information

    N3-02
    166
    Address Information
    Optional
    Min 1Max 55

    Address information

    N4
    110

    Geographic Location

    RequiredMax use 1

    To specify the geographic place of the named party

    Usage notes

    D&H Sample Data:
    N4HARRISBURGPA17109US

    Example
    N4-01
    19
    City Name
    Required
    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
    Required
    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
    Required
    Min 3Max 15

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

    N4-04
    26
    Country Code
    Required
    Min 2Max 3

    Code identifying the country

    PER Loop
    RequiredMax >1
    PER
    130

    Administrative Communications Contact

    RequiredMax use 1

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

    Usage notes

    D&H Sample Data:
    PERSHD&H DistributingEMedi@dandh.comTE7172368001

    Example
    If either Communication Number Qualifier (PER-05) or Communication Number (PER-06) is present, then the other is required
    PER-01
    366
    Contact Function Code
    Required

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

    SH
    Shipper Contact
    PER-02
    93
    Name
    Required
    Min 1Max 60

    Free-form name

    PER-03
    365
    Communication Number Qualifier
    Required

    Code identifying the type of communication number

    EM
    Electronic Mail
    PER-04
    364
    Communication Number
    Required
    Min 1Max 80

    Complete communications number including country or area code when applicable

    PER-05
    365
    Communication Number Qualifier
    Optional

    Code identifying the type of communication number

    TE
    Telephone
    PER-06
    364
    Communication Number
    Optional
    Min 1Max 80

    Complete communications number including country or area code when applicable

    Detail

    PTD Loop
    RequiredMax >1
    PTD
    010

    Product Transfer and Resale Detail

    RequiredMax use 1

    To indicate the start of detail information relating to the transfer/resale of a product and provide identifying data

    Usage notes

    D&H Sample Data:
    PTD*SD

    Example
    PTD-01
    521
    Product Transfer Type Code
    Required

    Code identifying the type of product transfer

    SD
    Ship and Debit Sale
    REF
    030

    D&H Purchase Order # (for Factory Direct orders)

    OptionalMax use 20

    To specify identifying information

    Usage notes

    D&H Sample Data:
    REF1V908704L

    Example
    Variants (all may be used)
    REFSeller's (D&H) Invoice NumberREFCustomer/Reseller Order Number
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    1V
    Related Vendor Order Number

    A vendor's order number that is in addition to a primary order number

    REF-02
    127
    Reference Identification
    Required
    Min 1Max 30

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

    REF
    030

    Seller's (D&H) Invoice Number

    OptionalMax use 20

    To specify identifying information

    Usage notes

    D&H Sample Data:
    REFIV1098765432

    Example
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    IV
    Seller's Invoice Number
    REF-02
    127
    Reference Identification
    Required
    Min 1Max 30

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

    REF
    030

    Customer/Reseller Order Number

    OptionalMax use 20

    To specify identifying information

    Usage notes

    D&H Sample Data:
    REFPOA123456

    Example
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    PO
    Purchase Order Number
    REF-02
    127
    Reference Identification
    Required
    Min 1Max 30

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

    N1 Loop
    RequiredMax >1
    N1
    050

    Name

    RequiredMax use 1

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

    Usage notes

    D&H Usage Notes:

    For N1SF, N104 represents the D&H Branch/Warehouse ID Number
    The current D&H Warehouse/Branch details can be found on the D&H EDI Documentation Site (www.dandh.com/docs).
    For N1
    ST and N1*BT, N104 represents the Reseller ID, if enabledBill To, Ship From, and Ship To address loops are reported in all cases. End User information is available with purchasing management approval and setup.

    D&H Sample Data:

    N1BTXX
    N1STXX
    N1SFHarrisburg9201
    NOTE: Due to security concerns the Bill To/Ship To Customer Names (N102) and IDs (N104) are not provided in the POS report.

    Example
    At least one of Name (N1-02) or Identification Code Qualifier (N1-03) is required
    If either Identification Code Qualifier (N1-03) or Identification Code (N1-04) is present, then the other is required
    N1-01
    98
    Entity Identifier Code
    Required

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

    BT
    Bill-to-Party
    EN
    End User
    SF
    Ship From
    ST
    Ship To
    N1-02
    93
    Name
    Required
    Min 1Max 60

    Free-form name

    N1-03
    66
    Identification Code Qualifier
    Optional

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

    92
    Assigned by Buyer or Buyer's Agent
    N1-04
    67
    Identification Code
    Optional
    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.
    N3
    070

    Address Information

    OptionalMax use 2

    To specify the location of the named party

    Usage notes

    D&H Sample Data:
    N3909 KATIE COURTUNION SQUARE IND PK

    Example
    N3-01
    166
    Address Information
    Required
    Min 1Max 55

    Address information

    N3-02
    166
    Address Information
    Optional
    Min 1Max 55

    Address information

    N4
    080

    Geographic Location

    RequiredMax use 1

    To specify the geographic place of the named party

    Usage notes

    D&H Sample Data:
    N4HARRISBURGPA17109US

    Example
    N4-01
    19
    City Name
    Required
    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
    Required
    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
    Required
    Min 3Max 15

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

    N4-04
    26
    Country Code
    Required
    Min 2Max 3

    Code identifying the country

    QTY Loop
    RequiredMax >1
    QTY
    110

    Quantity

    RequiredMax use 1

    To specify quantity information

    Usage notes

    D&H Sample Data:
    Sales Transaction:
    QTY391
    Return Transaction:
    QTY764

    Example
    QTY-01
    673
    Quantity Qualifier
    Required

    Code specifying the type of quantity

    39
    Shipped Quantity
    76
    Returns
    QTY-02
    380
    Quantity
    Required
    Min 1Max 15

    Numeric value of quantity

    LIN
    120

    Item Identification

    RequiredMax use 1

    To specify basic item identification data

    Usage notes

    D&H Usage Notes:
    VP qualifier identifies D&H SKU
    D&H Sample Data:
    LIN1VPI57552858BLKMGI5755-2858BLKUP047505999999
    LIN
    2VPI57552858WHTMGI5755-2858WHT

    Example
    If either Product/Service ID Qualifier (LIN-06) or Product/Service ID (LIN-07) is present, then the other is required
    LIN-01
    350
    Assigned Identification
    Required
    Min 1Max 20

    Alphanumeric characters assigned for differentiation within a transaction set

    • LIN01 is the line item identification
    LIN-02
    235
    Product/Service ID Qualifier
    Required

    Code identifying the type/source of the descriptive number used in Product/Service ID (234)

    • LIN02 through LIN31 provide for fifteen different product/service IDs for each item. For example: Case, Color, Drawing No., U.P.C. No., ISBN No., Model No., or SKU.
    VP
    Vendor's (Seller's) Part Number
    LIN-03
    234
    Product/Service ID
    Required
    Min 1Max 48

    Identifying number for a product or service

    LIN-04
    235
    Product/Service ID Qualifier
    Required

    Code identifying the type/source of the descriptive number used in Product/Service ID (234)

    MG
    Manufacturer's Part Number
    LIN-05
    234
    Product/Service ID
    Required
    Min 1Max 48

    Identifying number for a product or service

    LIN-06
    235
    Product/Service ID Qualifier
    Optional

    Code identifying the type/source of the descriptive number used in Product/Service ID (234)

    UP
    U.P.C. Consumer Package Code (1-5-5-1)
    LIN-07
    234
    Product/Service ID
    Optional
    Min 1Max 48

    Identifying number for a product or service

    UIT
    130

    Unit Detail

    RequiredMax use 12

    To specify item unit data

    Usage notes

    D&H Usage Notes:
    RS Resale Price (Distributor cost) reflects the standard cost for D&H to purchase the product from the manufacturer
    D&H Sample Data:
    UITEA544.16*RS

    Example
    UIT-01
    C001
    Composite Unit of Measure
    To identify a composite unit of measure (See Figures Appendix for examples of use)
    C001-01
    355
    Unit or Basis for Measurement Code
    Required

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

    EA
    Each
    UIT-02
    212
    Unit Price
    Required
    Min 1Max 15

    Price per unit of product, service, commodity, etc.

    UIT-03
    639
    Basis of Unit Price Code
    Required

    Code identifying the type of unit price for an item

    RS
    Resale Price
    PID
    150

    Product/Item Description

    RequiredMax use 200

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

    Usage notes

    D&H Sample Data:
    PIDF***17.3" AMD A8 7410 8GB 1TB

    Example
    PID-01
    349
    Item Description Type
    Required

    Code indicating the format of a description

    • If PID01 equals "F", then PID05 is used. If PID01 equals "S", then PID04 is used. If PID01 equals "X", then both PID04 and PID05 are used.
    F
    Free-form
    PID-05
    352
    Description
    Required
    Min 1Max 80

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

    REF
    190

    D&H Assigned Vendor ID Number

    RequiredMax use >1

    To specify identifying information

    Usage notes

    D&H Sample Data:
    REFIA99999

    Example
    Variants (all may be used)
    REFSerial Number
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    IA
    Internal Vendor Number
    REF-02
    127
    Reference Identification
    Required
    Min 1Max 30

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

    REF
    190

    Serial Number

    OptionalMax use >1

    To specify identifying information

    Usage notes

    D&H Sample Data:
    REFSESERIAL12345
    REFSESERIAL12347
    REFSESERIAL12987

    Example
    Variants (all may be used)
    REFD&H Assigned Vendor ID Number
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    SE
    Serial Number
    REF-02
    127
    Reference Identification
    Required
    Min 1Max 30

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

    DTM
    210

    Invoice

    RequiredMax use 10

    To specify pertinent dates and times

    Usage notes

    D&H Usage Notes:
    Invoice Date (003) will be included with all transactions.

    D&H Sample Data:
    DTM00320160226

    Example
    Variants (all may be used)
    DTMShipped
    DTM-01
    374
    Date/Time Qualifier
    Required

    Code specifying type of date or time, or both date and time

    003
    Invoice
    DTM-02
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    DTM
    210

    Shipped

    OptionalMax use 10

    To specify pertinent dates and times

    Usage notes

    D&H Usage Notes:
    Shipped Date (011) will be included only when the order has shipped prior to the POS report date.

    D&H Sample Data:
    DTM01120160226

    Example
    Variants (all may be used)
    DTMInvoice
    DTM-01
    374
    Date/Time Qualifier
    Required

    Code specifying type of date or time, or both date and time

    011
    Shipped
    DTM-02
    373
    Date
    Required
    CCYYMMDD format

    Date expressed as CCYYMMDD

    LX Loop
    OptionalMax >1
    LX
    280

    Assigned Number

    RequiredMax use 1

    To reference a line number in a transaction set

    • The LX loop conveys serial number, lot number, and inventory data.
    Usage notes

    D&H Usage Notes:
    For products with vendor rebates

    D&H Sample Data:
    LX*0001

    Example
    LX-01
    554
    Assigned Number
    Required
    Min 1Max 6

    Number assigned for differentiation within a transaction set

    REF
    290

    Promotion/Deal Number

    OptionalMax use >1

    To specify identifying information

    Usage notes

    D&H Usage Notes:
    Rebate Deal IDs (SPA, Big Deal, SOX, DPA, etc.) are reported in the REF02 and REF03 (PD Qualifier) as described below;
    REF02 (PD) - Character length is limited to 30 characters, and displayed whenever PD qualifier is present
    REF03 (PD) - Used only when the Rebate Deal ID character length is longer than 30 characters. When used, REF03 contains the entire Rebate Deal ID # (limited to 80 characters)

    D&H Sample Data:
    Rebate Deal ID length is 30 characters or less
    REFPDSPA125328
    Rebate Deal ID length is greater than 30 characters
    REFPDAAAAAAAAAABBBBBBBBBBCCCCCCCCCC*AAAAAAAAAABBBBBBBBBBCCCCCCCCCCDDDDDDDDDD

    Example
    Variants (all may be used)
    REFRebate Number
    At least one of Reference Identification (REF-02) or Description (REF-03) is required
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    PD
    Promotion/Deal Number
    REF-02
    127
    Reference Identification
    Optional
    Min 1Max 30

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

    REF-03
    352
    Description
    Optional
    Min 1Max 80

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

    REF
    290

    Rebate Number

    OptionalMax use >1

    To specify identifying information

    Usage notes

    D&H Usage Notes:
    Rebate Amount is reported in the REF02 (RY Qualifier) using a 2-digit explicit decimal

    D&H Sample Data:
    REFRY12.43
    REFRY7.5
    REFRY10
    REFRY.78

    Example
    Variants (all may be used)
    REFPromotion/Deal Number
    REF-01
    128
    Reference Identification Qualifier
    Required

    Code qualifying the Reference Identification

    RY
    Rebate Number
    REF-02
    127
    Reference Identification
    Optional
    Min 1Max 30

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

    DTM
    300

    Date/Time Reference

    OptionalMax use 1

    To specify pertinent dates and times

    Usage notes

    D&H Usage Notes:
    DTM06 is a concatenated field, with a hyphen "-" separator as follows; [RebateStartDate]-[RebateEndDate]
    D&H Sample Data:
    DTM007**RD07012019-12312022

    Example
    If either Date Time Period Format Qualifier (DTM-05) or Date Time Period (DTM-06) is present, then the other is required
    DTM-01
    374
    Date/Time Qualifier
    Required

    Code specifying type of date or time, or both date and time

    007
    Effective
    DTM-05
    1250
    Date Time Period Format Qualifier
    Optional

    Code indicating the date format, time format, or date and time format

    RD
    Range of Dates Expressed in Format MMDDCCYY-MMDDCCYY
    DTM-06
    1251
    Date Time Period
    Optional
    Min 1Max 35

    Expression of a date, a time, or range of dates, times or dates and times

    Summary

    CTT Loop
    RequiredMax >1
    CTT
    010

    Transaction Totals

    RequiredMax use 1

    To transmit a hash total for a specific element in the transaction set

    • The number of line items (CTT01) is the accumulation of the number of LIN segments. If used, hash total (CTT02) is the sum of the value of quantities (QTY02) for each QTY segment.
    Usage notes

    D&H Sample Data:
    CTT*163

    Example
    CTT-01
    354
    Number of Line Items
    Required
    Min 1Max 6

    Total number of line items in the transaction set

    SE
    030

    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
    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
    Min 4Max 9

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

    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
    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
    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
    Min 1Max 5

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

    IEA-02
    I12
    Interchange Control Number
    Required
    Min 9Max 9

    A control number assigned by the interchange sender

    EDI Samples

    BY-BRANCH REPORT 1

    ST*867*0001~
    BPT*00*PROD. TRANS. & RESALE - P-O-S*20191117*02~
    CUR*DS*USD~
    DTM*090*20191110~
    DTM*091*20191116~
    N1*DS*HARRISBURG*92*01~
    N3*909 KATIE COURT*UNION SQUARE IND PK~
    N4*Harrisburg*PA*17109*US~
    PER*SH*D&H Distributing*EM*edi@dandh.com*TE*7172368001~
    PTD*SD~
    REF*PO*A123456~
    REF*1V*958704L~
    REF*IV*1234567891~
    N1*BT*XX~
    N4*West Chester*PA*19380*US~
    N1*SF*Harrisburg*92*01~
    N3*909 Katie Court*UNION SQUARE IND PK~
    N4*Harrisburg*PA*17109*US~
    N1*ST*XX~
    N4*MECHANICSBURG*PA*17050*US~
    QTY*39*4~
    LIN*1*VP*VENDSKU1A3*MG*VENDSKU1-A3*UP*123456789012~
    UIT*EA*999.99*RS~
    PID*F****Product Description~
    REF*IA*12345~
    REF*SE*SN12988382764442~
    REF*SE*SN12988382764443~
    REF*SE*SN12988382764444~
    REF*SE*SN12988382764445~
    DTM*003*20191113~
    DTM*011*20191114~
    LX*0001~
    REF*PD*SPA12345678~
    REF*RY*13.54~
    DTM*007****RD*07012019-12312022~
    PTD*SD~
    REF*PO*987654321~
    REF*IV*1234567890~
    N1*BT*XX~
    N4*West Chester*PA*19380*US~
    N1*ST*XX~
    N4*West Chester*PA*19380*US~
    N1*EN*John Smith~
    N3*89 Main Street*Apt C4~
    N4*MECHANICSBURG*PA*17050*US~
    N1*SF*Harrisburg*92*01~
    N3*909 Katie Court*UNION SQUARE IND PK~
    N4*Harrisburg*PA*17109*US~
    QTY*39*2~
    LIN*1*VP*VENDSKU2A6*MG*VENDSKU2-A6*UP*123456789029~
    UIT*EA*999.99*RS~
    PID*F****Product Description~
    REF*IA*53235~
    REF*SE*SN12988382768802~
    REF*SE*SN12988382768803~
    DTM*003*20191114~
    DTM*011*20191115~
    LX*0001~
    REF*PD*SPA12528~
    REF*RY*10~
    DTM*007****RD*01012018-12312020~
    LX*0002~
    REF*PD*SPA111111111122222222223333333*SPA11111111112222222222333333333344444~
    REF*RY*15.8~
    DTM*007****RD*07012019-12312019~
    CTT*2~
    SE*67*0001~

    BY-BRANCH REPORT 2

    ST*867*0002~
    BPT*00*PROD. TRANS. & RESALE - P-O-S*20191117*02~
    CUR*DS*USD~
    DTM*090*20191110~
    DTM*091*20191116~
    N1*DS*DH Distributing Co*92*07~
    N3*500 Terminal Road~
    N4*CAMP HILL*PA*17011*US~
    PER*SH*D&H Distributing*EM*edi@dandh.com*TE*7172368001~
    PTD*SD~
    REF*PO*10499128~
    REF*IV*1234568700~
    N1*BT*XX~
    N4*Saint Petersburg*FL*33729*US~
    N1*ST*XX~
    N4*Saint Petersburg*FL*33729*US~
    N1*SF*DH Distributing Co*92*07~
    N3*500 Terminal Road~
    N4*Camp Hill*PA*17011*US~
    QTY*76*1~
    LIN*1*VP*VENDSKU2A6*MG*VENDSKU2-A6*UP*123456789029~
    UIT*EA*999.99*RS~
    PID*F****Product Description~
    REF*IA*12345~
    DTM*003*20191114~
    CTT*1~
    SE*27*0002~

    CONSOLIDATED REPORT

    ST*867*0001~
    BPT*00*PROD. TRANS. & RESALE - P-O-S*20191117*02~
    CUR*DS*USD~
    DTM*090*20191110~
    DTM*091*20191116~
    N1*DS*D&H Distributing*92*CONSOLIDATED~
    N3*909 KATIE COURT*UNION SQUARE IND PK~
    N4*Harrisburg*PA*17109*US~
    PER*SH*D&H Distributing*EM*edi@dandh.com*TE*7172368001~
    PTD*SD~
    REF*PO*A123456~
    REF*1V*958704L~
    REF*IV*1234567891~
    N1*BT*XX~
    N4*West Chester*PA*19380*US~
    N1*SF*Harrisburg*92*01~
    N3*909 Katie Court*UNION SQUARE IND PK~
    N4*Harrisburg*PA*17109*US~
    N1*ST*XX~
    N4*MECHANICSBURG*PA*17050*US~
    QTY*39*4~
    LIN*1*VP*VENDSKU1A3*MG*VENDSKU1-A3*UP*123456789012~
    UIT*EA*999.99*RS~
    PID*F****Product Description~
    REF*IA*12345~
    REF*SE*SN12988382764442~
    REF*SE*SN12988382764443~
    REF*SE*SN12988382764444~
    REF*SE*SN12988382764445~
    DTM*003*20191113~
    DTM*011*20191114~
    LX*0001~
    REF*PD*SPA12345678~
    REF*RY*13.54~
    DTM*007****RD*07012019-12312022~
    PTD*SD~
    REF*PO*987654321~
    REF*IV*1234567890~
    N1*BT*XX~
    N4*West Chester*PA*19380*US~
    N1*ST*XX~
    N4*West Chester*PA*19380*US~
    N1*EN*John Smith~
    N3*89 Main Street*Apt C4~
    N4*MECHANICSBURG*PA*17050*US~
    N1*SF*Harrisburg*92*01~
    N3*909 Katie Court*UNION SQUARE IND PK~
    N4*Harrisburg*PA*17109*US~
    QTY*39*2~
    LIN*1*VP*VENDSKU2A6*MG*VENDSKU2-A6*UP*123456789029~
    UIT*EA*999.99*RS~
    PID*F****Product Description~
    REF*IA*53235~
    REF*SE*SN12988382768802~
    REF*SE*SN12988382768803~
    DTM*003*20191114~
    DTM*011*20191115~
    LX*0001~
    REF*PD*SPA12528~
    REF*RY*10~
    DTM*007****RD*01012018-12312020~
    LX*0002~
    REF*PD*SPA111111111122222222223333333*SPA11111111112222222222333333333344444~
    REF*RY*15.8~
    DTM*007****RD*07012019-12312019~
    PTD*SD~
    REF*PO*10499128~
    REF*IV*1234568700~
    N1*BT*XX~
    N4*Saint Petersburg*FL*33729*US~
    N1*ST*XX~
    N4*Saint Petersburg*FL*33729*US~
    N1*SF*DH Distributing Co*92*07~
    N3*500 Terminal Road~
    N4*Camp Hill*PA*17011*US~
    QTY*76*1~
    LIN*1*VP*VENDSKU2A6*MG*VENDSKU2-A6*UP*123456789029~
    UIT*EA*999.99*RS~
    PID*F****Product Description~
    REF*IA*12345~
    DTM*003*20191114~
    CTT*3~
    SE*83*0001~

    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.