| | | | 231013092545697 Specifications for EANCOM orders DOCU182 12.2.A EANCOM D96A ORDERS EANCOM Specs 6342_20231013092541_12.2.A orders ean.doc 6342_20231013092541_12.2.A orders ean.doc 12.2.A EANCOM D96A ORDERS Interchange Header Seg Element Element Description Req Data length Example data Notes UNB Interchange header M +S001 Syntax identifier M 0001 Syntax identifier M an4 UNOA :0002 Syntax version number M n1 3 +S002 Interchange sender M 0004 Sender identification M an35 5023949000004 John Lewis ANA no. :0007 Partner Identification code qualifier M an4 14 John Lewis qualifier :0008 Address for reverse routing n Not used +S003 Interchange recipient M 0010 Recipient identification M an35 ANA no. Supplier's ANA no. :0007 Partner Identification code qualifier M an4 ZZ, 01, 08, 12, 14 Supplier's qualifier :0014 Routing address n Not used +S004 Date/time of preparation M 0017 Date M n6 In format YYMMDD :0019 Time M n4 In format HHMM +0020 Interchange control ref. M an14 Unique no. +S005 Recipient’s reference password M 0022 Recipient’s reference/password M an14 Network password. Can be obtained from your network provider :0025 Recipient’s reference/password qualifier n Not used +0026 Application reference M an14 ORDTES For test transmission ORDERS For live transmission +0029 Processing priority code n Not used +0031 Acknowledgement request n Not used +0032 Communications agreement identification n Not used +0035 Test indicator n Not used Message Header Seg Element Element Description Req Data length Example data Notes UNH Message header M +0062 Message ref. no. M an14 Unique no. +S009 Message identifier M 0065 Message type identifier M an6 ORDERS :0052 Message type version no. M an3 D :0054 Message type release M an3 96A Version of software :0051 Controlling agency M an2 UN :0057 Association assigned code M an6 EAN008 +0068 Common access ref. n Not used +S010 Status of transfer n Not used Beginning of Message Seg Element Element Description Req Data length Example data Notes BGM Beginning of message M +C002 Document/message name M 1001 Document/message name M an3 220 = Orders 224 = Rush Order (for branch customer special orders) 226 = Call-off order from Bulk 50E = Cross-docked orders :1131 Code list qualifier n :3055 Code list agency M an3 9 for cross docked orders only :1000 Document/message name n +1004 Document/message no. M an35 123456 John Lewis 6 digit order no. +1225 Message function M an3 9 = Original order 31 = Copy (for OPD agents and carriers only) +4343 Response type n Not used +3453 Language n Not used Date / Time Period Seg Element Element Description Req Data length Example data Notes DTM Date/time period M +C057 Date/time period M 2005 Date/time period qualifier M an3 2 = Delivery date requested 137 = Document date/time 11 = Despatch date (OPD orders only) 61 = Cancel if not delivered by this date (optional) :2380 Date/time period M an35 :2379 Date/time format qualifier M an3 102 = CCYYMMDD 203 = CCYYMMDDHHMM (if 137 is sent) Additional Information Seg Element Element Description Req Data length Example data Notes ALI Additional information For Sale or Return initial orders only. +3239 Country of origin, coded n Not used +9213 Type of duty regime, coded n . Not used +4183 Special conditions, coded M an3 64E For Sale or Return Goods only +4183 Special conditions, coded n Not used +4183 Special conditions, coded n Not used +4183 Special conditions, coded n Not used +4183 Special conditions, coded n Not used Free Text Seg Element Element Description Req Data length Example data Notes FTX Free text Optional +4451 Text subject qualifier M an3 PUR = Purchasing information +4453 Text function, coded n Not used +C107 Text ref. n Not used +C108 Text literal M 4440 Free text M an70 Narrative (up to 28 characters, optional). :4440 Free text M an70 Narrative (up to 28 characters, optional). :4440 Free text M an70 Narrative (up to 28 characters, optional). :4440 Free text M an70 Narrative (up to 28 characters, optional). :4440 Free text M an70 Narrative (up to 28 characters, optional). +3453 Language n Reference Seg Element Element Description Req Data length Example data Notes RFF Reference +C506 Reference M 1153 Reference qualifier n an3 CT Not used O CR = Customer ref. no. (for perfumery promotions only) :1154 Reference no. n an35 Bulk order no. Not used Perfumery promotion For perfumery promotions. In format nnnnn. :1156 Line no. n Not used :4000 Reference version n Not used Name and Address Seg Element Element Description Req Data length Example data Notes NAD Name and address M +3035 Party qualifier M an3 BY = Buyer. John Lewis ANA no. - always sent FW = Freight Forwarder. OPD only. Only sent on Freight Forwarder's copy. CA = Carrier. Only sent on Carrier's copy. SR = Supplier's Agent. OPD only. Sent if Agent receives on EDI or paper. Sent before SU on agent's copy and after SU on supplier's copy. SU = Supplier. Supplier's ANA no. Always sent. DP = Delivery Party - always sent. UD = Ultimate Delivery. For OPD orders sent via a third party only. SN = Store Number. For non-warehouse orders only. IV = Invoice address. Not sent if live on EDI invoices. +C082 Party identification details M 3039 Party identifier M an35 13-digit ANA no. ANA no. for party specified in 3035 :1131 Code list qualifier n Not used :3055 Code list agency M an3 9 = EAN +C058 Name and address (freeform) n Not used +C080 Party name M 3036 Party name M an35 Name :3036 Party name n Not used :3036 Party name n Not used :3036 Party name n Not used :3036 Party name n Not used :3045 Party name format n Not used +C059 Street M 3042 Street and no. M an35 Address line 1 Only sent on DP, UD and IV records. :3042 Street and no. M an35 Address line 2 :3042 Street and no. M an35 Address line 3 :3042 Street and no. M an35 Address line 4 +3164 City name M an35 Address line 5 +3229 Country n Not used +3251 Postcode M an9 Location Seg Element Element Description Req Data length Example data Notes LOC Location M For cross-docked orders only. Sent after DP record. +3227 Place/location qualifier M an3 83 = Onward delivery to +C517 Location identification M 3225 Location identifier M an25 13-digit ANA no. for store John Lewis location code :1131 Code list qualifier n Not used :3055 Code list agency n Not used :3224 Location M an70 Store code for cross-docking labels In format ccccc +C519 Related location one n Not used +C553 Related location two n Not used +5479 Relation n Not used Reference Seg Element Element Description Req Data length Example data Notes RFF Reference M Sent after NAD(BY). +C506 Reference M 1153 Reference qualifier M an3 IA = Internal vendor no. :1154 Reference no. M an35 John Lewis dept. no. In format ddd :1156 Line no. n Not used :4000 Reference version n Not used Contact information Seg Element Element Description Req Data length Example data Notes CTA Contact information M Only sent on orders for non-UK suppliers. Only sent on the Buying Agent’s copy. +3139 Contact function, coded M an3 PD = Purchasing contact. +C056 Department or employee details M 3413 Department or employee identification n Not used :3412 Department or employee M an35 A. Buyer This is the name of the John Lewis buyer for the department specified in the preceding RFF segment. Reference Seg Element Element Description Req Data length Example data Notes RFF Reference Sent after NAD(SN) +C506 Reference M 1153 Reference qualifier M an3 VA Customer VAT number :1154 Reference no. M an35 GB232457280 :1156 Line no. n Not used :4000 Reference version n Not used Currency Seg Element Element Description Req Data length Example data Notes CUX Currency M +C504 Currency details M 6347 Currency details qualifier M an3 2 = Reference currency :6345 Currency M an3 ISO4217 currency code :6343 Currency qualifier M an3 9 = Order currency :6348 Currency rate base n Not used +C504 Currency details n Not used +5402 Rate of exchange n Not used +6341 Currency market exchange n Not used Transport Details Seg Element Element Description Req Data length Example data Notes TDT Details of transport Only sent for non-UK suppliers +8051 Transport stage qualifier M an3 20 = Main carriage transport +8028 Conveyance reference n Not used +C220 Mode of transport M 8067 Mode of transport, coded M an3 10 = Maritime 20 = Rail 30 = Road 40 = Air :8066 Mode of transport n Not used +C228 Transport means n Not used +C040 Carrier n Not used +8101 Transit direction n Not used +C401 Excess transportation n Not used +C222 Transport identification n Not used +8281 Transport ownership, coded n Not used Terms of Delivery Seg Element Element Description Req Data length Example data Notes TOD Terms of delivery Only sent for non-UK suppliers +4055 Terms of delivery function M an3 3 = Price and despatch condition +4215 Transport charges payment n +C100 Terms of delivery or transport M 4053 Terms of delivery, coded M an3 INCOTERMS 1990 :1131 Code list qualifier n Not used :3055 Code list agency n Not used :4052 Terms of delivery or transport M an70 Delivery message text :4052 Terms of delivery or transport n Not used Line Item Seg Element Element Description Req Data length Example data Notes LIN Line items M +1082 Line item no. M n6 Line item no. +1229 Action request n +C212 Item number identification M 7140 Item no. M an35 EAN8, UPC12 or EAN13 code :7143 Item no. type M an3 EN = EAN code UP = UPC12 code :1131 Code list qualifier n Not used :3055 Code list agency n Not used +C829 Sub-line information n Not used +1222 Configuration level n Not used +7083 Configuration, coded n Not used Additional Product ID Seg Element Element Description Req Data length Example data Notes PIA Additional product id M +4347 Product id function M an3 5 = Product identification 1 = Additional identification +C212 Item number identification M 7140 Item no. M an35 Used when Data Element 4347 is 5. Supplier's product code. 12345678 Used when Data Element 4347 is 1. John Lewis dissection/stock number. :7143 Item no. type M an3 SA = Supplier's article no. IN = Buyer's item no. :1131 Code list qualifier n Not used :3055 Code list agency n Not used +C212 Item no. identification n Not used +C212 Item no. identification n Not used +C212 Item no. identification n Not used +C212 Item no. identification n Not used Item Description Seg Element Element Description Req Data length Example data Notes IMD Item description M +7077 Item description type M an3 F = Free form +7081 Item characteristic n Not used +C273 Item description M 7009 Item description identification M an17 TU = Traded unit :1131 Code list qualifier n Not used :3055 Code list agency M an3 9 = EAN :7008 Item description M an35 Item description Maximum 28 characters :7008 Item description n Not used :3453 Language n Not used +7383 Surface/layer indicator n Not used Measurements Seg Element Element Description Req Data length Example data Notes MEA Measurements For measured and square-metred stock only +6311 Measurement qualifier M an3 PD = Physical dimensions +C502 Measurement details M 6313 Measurement dimension M an3 LN = Length WD = Width (square-metred only) :6321 Measurement significance n Not used :6155 Measurement attribute, coded n Not used :6154 Measurement attribute n Not used +C174 Value/range M 6411 Measure unit qualifier M an3 MTR = Metre :6314 Measurement value M n18 Piece length For measured and square-metred stock. Up to 3 decimal places Piece width For square-metred stock. Up to 3 decimal places :6162 Range minimum n Not used :6152 Range maximum n Not used :6432 Significant digits n Not used +7383 Surface/layer indicator n Not used Quantity Seg Element Element Description Req Data length Example data Notes QTY Quantity M For unit stock, if the pack size (number of consumer units in a traded unit) is 1, then one QTY segment will be sent. This will have quantity qualifier ‘21’, and will contain the order quantity (in traded units). The number of consumer units ordered will have the same value.
For unit stock with a pack size greater than 1, two QTY segments will be sent. The first segment will have quantity qualifier ‘21’, and will contain the order quantity (in traded units). The second segment will have quantity qualifier ‘59’, and will contain the pack size. The number of consumer units ordered can be calculated by multiplying the number of traded units ordered by the pack size. +C186 Quantity details M 6063 Quantity qualifier M an3 21 = Order quantity (no. of traded units) 59 = No. of consumer units in a traded unit. Optional, if pack size > 1. :6060 Quantity M n15 :6411 Measure unit qualifier n Not used Free Text Seg Element Element Description Req Data length Example data Notes FTX Free text +4451 Text subject qualifier M an3 PUR = Purchasing information +4453 Text function n +C107 Text reference n +C108 Text literal M 4440 Free text M an70 Narrative, up to 28 characters. Optional. :4440 Free text M an70 Narrative, up to 28 characters. Optional. :4440 Free text M an70 Narrative, up to 28 characters. Optional. :4440 Free text M an70 Narrative, up to 28 characters. Optional. :4440 Free text M an70 Narrative, up to 28 characters. Optional. +3453 Language n Not used Price Seg Element Element Description Req Data length Example data Notes PRI Price M +C509 Price information M 5125 Price qualifier M an3 AAA = Calculation net of line discounts (first record) AAB = Calculation gross of line discounts (second record) :5118 Price M n15 Up to 4 decimal places :5375 Price type, coded n Not used :5387 Price type qualifier n Not used :5284 Unit price basis n Not used :6411 Measure unit qualifier M n3 MTR = Metre (measured stock) MTK = Square metre (square-metred stock) +5213 Sub-line price change n Not used Tax Seg Element Element Description Req Data length Example data Notes TAX Tax Not sent for OPD orders +5283 Tax qualifier M an3 7 = Tax +C241 Duty/tax/fee type M 5153 Tax type, coded M an3 VAT = Value Added Tax :1131 Code list qualifier n Not used :3055 Code list agency n Not used :5152 Tax type n Not used +C533 Tax account details n Not used +5286 Tax assessment basis n Not used +C243 Duty/tax/fee detail M 5279 Tax rate identification n Not used :1131 Code list qualifier n Not used :3055 Code list agency n Not used :5278 Tax rate M an17 17.50 In format nn.nn% :5273 Tax rate basis identification n Not used :1131 Code list qualifier n Not used :3055 Code list agency n Not used +5305 Tax category, coded M an3 Z = Zero rated tax S = Standard rate tax +3446 Party tax identification n Not used Allowance or Charge Seg Element Element Description Req Data length Example data Notes ALC Allowance or charge M +5463 Allowance qualifier M an3 A = Allowance +C552 Allowance information n Not used +4471 Settlement n Not used +1227 Calculation sequence M an3 1 = First step 2 = Second step +C214 Special services identification M 7161 Special services coded M an3 TD = Trade Discount QD = Quantity Discount :1131 Code list qualifier n Not used :3055 Code list agency n Not used :7160 Special service n Not used :7160 Special service n Not used Percentage Details PCD Percentage details M +C501 Percentage details M 5245 Percentage qualifier M an3 3 = Allowance :5482 Percentage M n10 Up to 2 decimal places :5249 Percentage basis n Not used :1131 Code list qualifier n Not used :3055 Code list agency n Not used Section Control Seg Element Element Description Req Data length Example data Notes UNS Section control M +0081 Section identification M an1 S = Detail/summary separation Control Total CNT Control total M +C270 Control M 6069 Control qualifier M an3 2 = No. of line items in message :6066 Control value M n18 Count of LIN items :6411 Measure unit qualifier n Not used Message Trailer UNT Message trailer M +0074 No. of segments M n6 No. of segments in message +0062 Message ref. no. M an14 = UNH segment Interchange Trailer UNZ Interchange trailer M +0036 Interchange control count M n6 No. of messages in interchange +0020 Interchange control ref. M an14 = UNB segment Page 12 of 16 |
|