X12 867 Vendor Product Transfer and Resale Report
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.
- ~ Segment
- * Element
- > Component
Interchange Control Header
To start and identify an interchange of zero or more functional groups and interchange-related control segments
Code to identify the type of information in the Authorization Information
- 00
- No Authorization Information Present (No Meaningful Information in I02)
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)
Code to identify the type of information in the Security Information
- 00
- No Security Information Present (No Meaningful Information in I04)
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)
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
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
Qualifier to designate the system/method of code structure used to designate the sender or receiver ID element being qualified
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
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
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
A control number assigned by the interchange sender
Code sent by the sender to request an interchange acknowledgment (TA1)
- 0
- No Acknowledgment Requested
- 1
- Interchange Acknowledgment Requested
Code to indicate whether data enclosed by this interchange envelope is test, production or information
- I
- Information
- P
- Production Data
- T
- Test Data
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
To indicate the beginning of a functional group and to provide control information
Code identifying a group of application related transaction sets
- PT
- Product Transfer and Resale Report (867)
Code identifying party sending transmission; codes agreed to by trading partners
Code identifying party receiving transmission. Codes agreed to by trading partners
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)
Assigned number originated and maintained by the sender
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
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
Transaction Set Header
To indicate the start of a transaction set and to assign a control number
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
Beginning Segment for Product Transfer and Resale
To indicate the beginning of the Product Transfer and Resale Report Transaction Set and transmit identifying data
D&H Sample Data:
BPT00PROD. TRANS. & RESALE - P-O-S2016022602
Code identifying purpose of transaction set
- 00
- Original
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
- BPT02 identifies the transfer/resale number.
Date expressed as CCYYMMDD
- BPT03 identifies the transfer/resale date.
Currency
To specify the currency (dollars, pounds, francs, etc.) used in a transaction
D&H Sample Data:
CURDSUSD
Code identifying an organizational entity, a physical location, property or an individual
- DS
- Distributor
Date/Time Reference
To specify pertinent dates and times
D&H Sample Data:
DTM09020160129
DTM09120160205
Name
To identify a party by type of organization, name, and code
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
Code identifying an organizational entity, a physical location, property or an individual
- DS
- Distributor
Code designating the system/method of code structure used for Identification Code (67)
- 92
- Assigned by Buyer or Buyer's Agent
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.
Address Information
To specify the location of the named party
D&H Sample Data:
N3909 KATIE COURTUNION SQUARE IND PK
Geographic Location
To specify the geographic place of the named party
D&H Sample Data:
N4HARRISBURGPA17109US
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
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.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Administrative Communications Contact
To identify a person or office to whom administrative communications should be directed
D&H Sample Data:
PERSHD&H DistributingEMedi@dandh.comTE7172368001
Code identifying the major duty or responsibility of the person or group named
- SH
- Shipper Contact
Code identifying the type of communication number
- EM
- Electronic Mail
Complete communications number including country or area code when applicable
Code identifying the type of communication number
- TE
- Telephone
Detail
Product Transfer and Resale Detail
To indicate the start of detail information relating to the transfer/resale of a product and provide identifying data
D&H Sample Data:
PTD*SD
Customer/Reseller Order Number
To specify identifying information
D&H Sample Data:
REFPOA123456
Code qualifying the Reference Identification
- PO
- Purchase Order Number
D&H Purchase Order # (for Factory Direct orders)
To specify identifying information
D&H Sample Data:
REF1V908704L
Code qualifying the Reference Identification
- 1V
- Related Vendor Order Number
A vendor's order number that is in addition to a primary order number
Seller's (D&H) Invoice Number
To specify identifying information
D&H Sample Data:
REFIV1098765432
Code qualifying the Reference Identification
- IV
- Seller's Invoice Number
Name
To identify a party by type of organization, name, and code
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 N1ST 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.
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
Code designating the system/method of code structure used for Identification Code (67)
- 92
- Assigned by Buyer or Buyer's Agent
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.
Address Information
To specify the location of the named party
D&H Sample Data:
N3909 KATIE COURTUNION SQUARE IND PK
Geographic Location
To specify the geographic place of the named party
D&H Sample Data:
N4HARRISBURGPA17109US
Free-form text for city name
- A combination of either N401 through N404, or N405 and N406 may be adequate to specify a location.
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.
Code defining international postal zone code excluding punctuation and blanks (zip code for United States)
Quantity
To specify quantity information
D&H Sample Data:
Sales Transaction:
QTY391
Return Transaction:
QTY764
Item Identification
To specify basic item identification data
D&H Usage Notes:
VP qualifier identifies D&H SKU
D&H Sample Data:
LIN1VPI57552858BLKMGI5755-2858BLKUP047505999999
LIN2VPI57552858WHTMGI5755-2858WHT
Alphanumeric characters assigned for differentiation within a transaction set
- LIN01 is the line item identification
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
Identifying number for a product or service
Code identifying the type/source of the descriptive number used in Product/Service ID (234)
- MG
- Manufacturer's Part Number
Identifying number for a product or service
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)
Unit Detail
To specify item unit data
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
Price per unit of product, service, commodity, etc.
Product/Item Description
To describe a product or process in coded or free-form format
D&H Sample Data:
PIDF***17.3" AMD A8 7410 8GB 1TB
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
D&H Assigned Vendor ID Number
To specify identifying information
D&H Sample Data:
REFIA99999
Code qualifying the Reference Identification
- IA
- Internal Vendor Number
Serial Number
To specify identifying information
D&H Sample Data:
REFSESERIAL12345
REFSESERIAL12347
REFSESERIAL12987
Code qualifying the Reference Identification
- SE
- Serial Number
Invoice
To specify pertinent dates and times
D&H Usage Notes:
Invoice Date (003) will be included with all transactions.
D&H Sample Data:
DTM00320160226
Shipped
To specify pertinent dates and times
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
Assigned Number
To reference a line number in a transaction set
- The LX loop conveys serial number, lot number, and inventory data.
D&H Usage Notes:
For products with vendor rebates
D&H Sample Data:
LX*0001
Promotion/Deal Number
To specify identifying information
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
Code qualifying the Reference Identification
- PD
- Promotion/Deal Number
Reference information as defined for a particular Transaction Set or as specified by the Reference Identification Qualifier
Rebate Number
To specify identifying information
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
Code qualifying the Reference Identification
- RY
- Rebate Number
Date/Time Reference
To specify pertinent dates and times
D&H Usage Notes:
DTM06 is a concatenated field, with a hyphen "-" separator as follows; [RebateStartDate]-[RebateEndDate]
D&H Sample Data:
DTM007**RD07012019-12312022
Code specifying type of date or time, or both date and time
- 007
- Effective
Code indicating the date format, time format, or date and time format
- RD
- Range of Dates Expressed in Format MMDDCCYY-MMDDCCYY
Summary
Transaction Totals
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.
D&H Sample Data:
CTT*163
Transaction Set Trailer
To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)
Total number of segments included in a transaction set including ST and SE segments
Functional Group Trailer
To indicate the end of a functional group and to provide control information
Total number of transaction sets included in the functional group or interchange (transmission) group terminated by the trailer containing this data element
Interchange Control Trailer
To define the end of an interchange of zero or more functional groups and interchange-related control segments
BY-BRANCH REPORT 1
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
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
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.