Updated 810 Mapping document

advertisement
®
EDI
INVOICE
810 - Version 4010
Technical Requirements
September 20, 2000
Document Version 4010.4
Revised August, 2012
® - Registered Trade Mark of the Hudson’s Bay Company
DATA MAPPING: HBC INVOICE 810
TRANSACTION SET SUMMARY ..................................................................................1
TRANSACTION SET SUMMARY CONT.......................................................................2
TRANSACTION SET REQUIREMENTS .......................................................................3
ST Segment ................................................................................................................3
SE Segment ................................................................................................................3
BIG Segment ...............................................................................................................4
CUR Segment .............................................................................................................5
N1 Segment ................................................................................................................6
ITD Segment ...............................................................................................................7
DTM Segment .............................................................................................................8
IT1 Segment ................................................................................................................9
SDQ Segment .............................................................................................................9
TDS Segment ............................................................................................................11
CAD Segment ...........................................................................................................12
SAC Segment ............................................................................................................13
ISS Segment .............................................................................................................14
CTT Segment ............................................................................................................15
DATA MAPPING: FUNCTIONAL ACKNOWLEDGEMENT (997) ................................16
FUNCTIONAL GROUP ENVELOPE ...........................................................................16
GS Segment ..............................................................................................................16
GE Segment ..............................................................................................................16
TRANSACTION SET SUMMARY ................................................................................17
TRANSACTION SET REQUIREMENTS .....................................................................18
ST Segment ...............................................................................................................18
SE Segment ..............................................................................................................18
AK1 Segment ............................................................................................................19
AK9 Segment ............................................................................................................19
AK2 Segment ............................................................................................................20
AK5 Segment ............................................................................................................20
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
Transaction Set Summary
Individual descriptions of each segment follow.
Segment
Id
Segment
Name
HBC HBC
Reqt Usage
. Header Area
. ST
010
. BIG
020
. CUR
040
. REF
050
. PER
060
. N1
070
. N2
080
. N3
090
. N4
100
. ITD
130
. DTM
140
. FOB
150
. PID
160
Transaction Set header
Begin IN segment
Currency
Reference Numbers
Admin Contact
Name Reference 1
Name Reference 2
Name Reference 3
Name Reference 4
Terms of Sale
Date Reference
F.O.B. Related Instructions
Production / Item Desc
M
M
M
-
1 occurrence
1 occurrence
1 occurrence
not used
not used
2 occurrences
not used
not used
not used
1 occurrence
1 occurrence
not used
not used
. Detail Area
. IT1
010
. IT3
030
. CTP
050
. MEA
059
. PID
060
. MEA
070
. PKG
090
. PO4
100
. REF
120
. SDQ
140
. CAD
160
. SAC
180
. SLN
200
. TC2
235
Item Base Data
Additional Item Data
Pricing Information
Measurements
Production / Item Desc
Measurements
Marking, Packaging, Loading
Item details
Reference Identification
Destination Qty
Carrier Detail
Service, Promotion, Allowance
Subline Item Detail
Commodity
M
-
999 occurrences max.
not used
not used
not used
not used
not used
not used
not used
not used
500 occurrences max
not used
not used
not used
not used
HBC EDI 810
POS
Page 1
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
Transaction Set Summary cont.
. Summary Area
. TDS
010
. CAD
030
. SAC
040
. ISS
060
. PID
065
. CTT
070
. SE
080
HBC EDI 810
Total Monetary Val Summary
Carrier Detail
Service, Promotion, Allowance
Invoice Shipment Summary
Production / Item Desc
Transaction totals
Transaction Set trailer
M
O
M
M
M
M
1 occurrence
1 occurrence
more than 1 occurrence
1 occurrence
not used
1 occurrence
1 occurrence
Page 2
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
Transaction Set Requirements
ST Segment
Purpose: To indicate the start of a transaction set and to assign a control number.
Element
Value
Length Comment
. ST01
. ST02
810
control Nbr
X(3)
X(9)
SE Segment
Purpose: To indicate the end of the transaction set and provide the count of the
transmitted segments.
Element
Value
Length Comment
. SE01
Nbr. of segments
included
Control Nbr.
9(6)
. SE02
HBC EDI 810
X(9)
same as ST02
Page 3
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
BIG Segment
Purpose: To indicate the beginning of the invoice and transmit identifying dates.
Element
Value
Length Comment
. BIG01
. BIG02
. BIG03
. BIG04
. BIG05
. BIG06
. BIG07
. BIG08
. BIG09
. BIG10
Invoice Date
Invoice Nbr.
Purchase Order Date
Purchase Order Nbr.
X(8)
X(15)
X(8)
9(11)
Consolidated Nbr.
X(10)
format ccyymmdd
format ccyymmdd
Purchase Order Number (Notes)
not used
not used
not used
not used
not used
ASN Shipment Nbr. (Notes)
Important Notes:
1. BIG04 Purchase order number is used as part of 3 Way Match it
must match what was sent on the EDI850.
Example: 12345670596 11 bytes 7 for PO# 4 for location DC
Example: 12345679999 11 bytes 7 for PO # 4 location DTS
2. BIG10 must be exactly what was sent on the ASN 856 BSN02.
3. The ASN number is verified as part of the 3 Way Match on
vendor Invoice.
HBC EDI 810
Page 4
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
CUR Segment
Purpose: To indicate the currency used in the invoice.
Element
Value
Length Comment
. CUR01
. CUR02
. CUR03
. CUR04
. CUR05
. CUR06
. CUR07
. CUR08
. CUR09
. CUR10
. CUR11
. CUR12
. CUR13
. CUR14
. CUR15
. CUR16
. CUR17
. CUR18
. CUR19
. CUR20
. CUR21
Entity ID Code
Currency Code
X(2)
X(3)
‘BY’
‘USD’ or ‘CAD’ (Note)
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
Important Notes:
1. CUR02 must be exactly what was sent on the PO 850.
2. The Currency Code is verified as part of the 3 Way Match on
vendor Invoice.
HBC EDI 810
Page 5
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
N1 Segment
Purpose: To identify the Vendor Name, Number and Store / DC information.
Element
Value
Length Comment
‘BY’
X(2)
‘92’
Store /DC Number
X(2)
X(6)
. Segment 1
. N101
. N102
. N103
. N104
. N105
. N106
Buying Party (Purchaser0
not used
Assigned by Buyer
Truncated to the left (Notes)
not used
not used
Important Notes:
1. N104: Bulk and or Pre-Disturbed orders use the DC#.
Example: DC# 0596 000596
2. N104: DTS (Direct to Store) use the Store #.
Example: Store# 640 000640
. Segment 2
. N101
. N102
. N103
. N104
. N105
. N106
HBC EDI 810
‘SU’
Vendor Name
‘92’
Vendor Nbr
X(2)
X(35)
X(2)
X(9)
Supplier / Manufacturer
Assigned by Buyer
not used
not used
Page 6
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
ITD Segment
Purpose: Terms of Sale / Deferred Terms of Sale
Element
Value
Length Comment
. ITD01
. ITD02
. ITD03
. ITD04
. ITD05
. ITD06
. ITD07
. ITD08
. ITD09
. ITD10
. ITD11
. ITD12
. ITD13
. ITD14
. ITD15
Terms Type Code
Terms Basis Date Code
Discount Percent
Terms Disc Due Date
Terms Disc Days Due
X(2)
X(2)
9(6)
X(8)
X(3)
Terms Net Days
X(2)
‘05’, ‘02’, ‘12’, ‘08’
‘15’
Terms Discount Percent (Notes)
format ccyymmdd
not used
not used
not used
not used
not used
not used
Day of Month
X(2)
not used
not used
Important Notes:
1. ITD segments are not used for HBC 3 Way Match.
2. Terms and Discounts are calculated based on Vendor MMVA
terms (Off PO Adjustment). Refer to EDI820 to review
adjustments.
HBC EDI 810
Page 7
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
DTM Segment
Purpose: Date Reference
Element
Value
Length Comment
. DTM01
. DTM02
. DTM03
. DTM04
. DTM05
. DTM06
Date Qualifier
Date
X(3)
X(8)
HBC EDI 810
‘011’ Shipped Date
Format ccyymmdd
not used
not used
not used
not used
Page 8
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
IT1 Segment
Purpose:
Specify invoice line item data. One occurrence, for each line item.
One of either UPC # or Item # is mandatory
Element
Value
Length Comment
. IT101
. IT102
. IT103
. IT104
. IT105
. IT106
. IT107
. IT108
. IT109
. IT110
. IT111
. IT112
. IT113
. IT114
. IT115
. IT116
. IT117
. IT118
. IT119
. IT120
. IT121
. IT122
. IT123
. IT124
. IT125
Assigned Id nbr
Item Qty Invoiced
Unit of Measure
Unit Price
Basis of Unit Price Code
‘UP’ or ‘EN’
UPC or EAN #
‘VA’
Vendor Style Nbr.
9(6)
S9(10)
X(2)
9(12)v99
X(2)
X(2)
9(13)
X(2)
X(20)
‘EA’ or ‘CA’
(Notes)
‘WE’ Wholesale cost / each
‘UPC’ or ‘EAN’ ID Qual
* (Notes)
optional (Notes)
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
not used
Important Notes:
1. UPC and Item number must be left justified.
2. Vendor Style optional if UPC is present.
3. Item Price must have a decimal point
The decimal point is only required if there are decimals greater than zero
Example: $ 29.00 would be sent as 29
$12.95 would be sent as 12.95
HBC EDI 810
Page 9
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
SDQ Segment: Optional (Note)
Purpose: To describe Destination Quantity information.
Element
Value
Length Comment
. SDQ01
. SDQ02
. SDQ03
. SDQ 04
. SDQ 05
. SDQ 06
. SDQ 07
. SDQ 08
. SDQ 09
. SDQ 10
. SDQ 11
. SDQ 12
. SDQ 13
. SDQ 14
. SDQ 15
. SDQ 16
. SDQ 17
. SDQ 18
. SDQ 19
. SDQ 20
. SDQ 21
. SDQ 22
Unit of Measure Code
Identification Code Qual
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
Identification Code
Quantity Invoiced
X(2)
X(2)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
X(6)
9(10)
‘EA’
‘92’ assigned by Buyer
Store Number
Store Number
Store Number
Store Number
Store Number
Store Number
Store Number
Store Number
Store Number
Store Number
Important Notes:
1. SDQ segments currently not used by HBC for 3 Way Match.
HBC EDI 810
Page 10
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
TDS Segment
Purpose: To provide Total Monetary Value Summary.
Element
Value
Length
. TDS01
Total Amt. of Invoice
S9(9)v99
Comment
Invoice Gross Amount
Including all applicable Taxes
. TDS02
. TDS03
. TDS04
Amount Subject to terms S9(9)v99
Amount Due if paid by
Terms date
S9(9)v99
Amount of Terms
discount
S9(9)v99
Important Notes:
1. TDS01 segments are used for HBC 3 Way Match must be gross
amount including all applicable taxes.
2. TDS01 The decimal point is assumed.
Example: $5000.00 would be sent as 500000
$6000.95 would be sent as600095
3. Terms and Discounts are calculated based on Vendor MMVA
terms (Off PO Adjustment) Refer to EDI820 to review
adjustments.
HBC EDI 810
Page 11
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
CAD Segment
Purpose: To provide Carrier Transportation Details
Element
Value
Length Comment
. CAD01
Transportation Method
type code
X(2)
A, AE, C, L, M, U
not used
not used
Standard Carrier
Alpha Code
Routing
X(4)
X(35)
Reference ID Qual
Reference ID
X(2)
X(17)
SCAC Code
Free form carrier name
not used
‘BM’ for BOL Number
BOL Number (Note)
.CAD02
.CAD03
.CAD04
.CAD05
. CAD06
. CAD07
. CAD08
Important Notes:
1. CAD08 BOL number must match what’s on ASN856
HBC EDI 810
Page 12
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
SAC Segment
Purpose: To convey information relative to order allowances and charges.
Occurrences: possible 2
Element
Value
Length Comment
. SAC01
. SAC02
Charge
Tax Charge Code
X(1)
X(4)
. SAC03
. SAC04
. SAC05
. SAC06
. SAC07
. SAC08
. SAC09
. SAC10
. SAC11
. SAC12
. SAC13
. SAC14
. SAC15
. SAC16
Charge Amt.
Description
X(10)
‘C’
‘D360’ GST or HST
‘H770’ QST
not used
not used
9(9)v99 (Note)
not used
not used
not used
not used
not used
not used
not used
not used
not used
GST, HST or QST (Note)
not used
Important Notes:
1. SAC02 Tax Charge Cod must match SAC15.
2. SAC05 segment assumes the decimal point.
Example: $135.75 would be sent as 13575
$100.00 would be sent as 10000
3. SAC15 segment must state GST, HST or QST for description.
HBC EDI 810
Page 13
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
ISS Segment
Purpose: To convey Invoice Shipment Summary.
Element
Value
Length Comment
. ISS01
. ISS02
. ISS03
. ISS04
Nbr of units shipped
Unit of Measure
Weight
Weight Unit of Measure
Code
9(10)
X(2)
X(10)
‘EA’
in ‘lbs or oz optional
X(2)
‘LB’, ‘OZ’
HBC EDI 810
optional
Page 14
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
CTT Segment
Purpose: To provide a hash total.
Element
Value
Length Comment
. CTT01
. CTT02
. CTT03
. CTT04
. CTT05
. CTT06
. CTT07
Nbr. of IT1 segments
9(6)
HBC EDI 810
not used
not used
not used
not used
not used
not used
Page 15
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
Data Mapping: Functional Acknowledgement (997)
Functional Group Envelope
GS Segment
Purpose: To indicate the beginning of a functional (997) group and provide control
information. HBC transmit the following format for Functional Acknowledgements
from their business partners:
Element
Value
Length
Comment
. GS01
. GS02
. GS03
. GS04
. GS05
. GS06
. GS07
. GS08
FA
X(2)
X(12)
X(12)
X(8)
X(4)
9(9)
X(1)
X(12)
Functional Acknowledgement (997)
Sender Id. (Note)
assigned by receiver
format ccyymmdd
hhmm
Receiver Id.
Interchange Date
Interchange Time
Control #
X
004010VICS
ASC.X12 standards
VICS Version 4010
Important Note:
Please distinguish on your GS02 between The Bay and Zellers
GE Segment
Purpose: To indicate the end of a functional group and provide control information.
Element
. GE01
. GE02
HBC EDI 810
Value
Length
Comment
# of ST segments
control #
9(6)
9(9)
same as GS06
Page 16
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
Transaction Set Summary
HBC return a Functional Acknowledgement for each transmission at the transaction
set level. The table below shows the segments that will be sent.
A detailed description, of each segment follows.
Segment
ID
. ST
. AK1
. AK2
Segment
Name
Transaction Set header
Functional Group header
Transaction Set header
HBC
Req
M
M
M
HBC
Usage
1 occurrence
1 occurrence
1 occurrence for each
Transaction set
. AK3
. AK4
. AK5
Data Segment Note
Data Element Note
Transaction Set trailer
M
. AK9
. SE
Functional Group trailer
Transaction Set trailer
M
M
HBC EDI 810
not used
not used
1 occurrence for each
Transaction set
1 occurrence
1 occurrence
Page 17
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
Transaction Set Requirements
ST Segment
Purpose: To indicate the start of a transaction set and to assign a control number.
Element
Value
Length Comment
. ST01
. ST02
997
Control Nbr.
X(3)
X(9)
Trans ID for acknowledgement
SE Segment
Purpose: To indicate the end of the transaction set and provide the count of the
transmitted segments.
Element
Value
Length Comment
. SE01
. SE02
Nbr. of segments
Control Nbr.
9(6)
X(9)
HBC EDI 810
Same as ST02
Page 18
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI810 - Version 4010
AK1 Segment
Purpose: To start the acknowledgement of a functional group.
Element
Value
Length Comment
. AK101
. AK102
Functional Group ID
control Nbr
X(2)
Z(9)
AK9 Segment
Purpose: To acknowledge acceptance or rejection of a functional group and report the
number of included transaction sets, accepted sets, and received sets within this
functional group.
Element
Value
Length
Comment
. AK901
. AK902
. AK903
. AK904
. AK905
. AK906
. AK907
. AK908
. AK909
Functional Group Ack Cde
Transaction Sets Included 9(6)
Transaction Sets received 9(6)
Transaction Sets accepted 9(6)
Error Code
Error Code
Error Code
Error Code
Error Code
X(1)
eg. 'A" - Accepted
HBC EDI 810
X(1)
X(1)
X(1)
X(1)
X(1)
Page 19
Hudson’s Bay Company
Vendor Reference Manual
August, 2012
EDI 810 - Version 4010
AK2 Segment
Purpose: To start the acknowledgement of a single transaction set.
Element
Value
Length
. AK201
. AK202
Trans. Set ID
Trans. Set Control Nbr.
X(2)
X(9)
Comment
AK5 Segment
Purpose: To acknowledge acceptance or rejection and to report errors in a transaction
set.
Element
Value
Length
Comment
. AK501
. AK502
. AK503
. AK504
. AK505
. AK506
Set Ack Code
Error Code
Error Code
Error Code
Error Code
Error Code
X(1)
X(1)
X(1)
X(1)
X(1)
X(1)
e.g. 'A' - Accepted
HBC EDI 810
Page 20
Download