Polska THE INVOIC MESSAGE EAN97/EDIFACT D.96A Issue 1.0, 12.2013 agreed-upon by EDI Working Group of ECR Poland The document contains only these segments and data elements that were agreed and accepted by the members of EDI Working Group of ECR Poland. The segments and data elements are used and required from commerce partners while exchanging EDI messages. This document is compliant to the standard SLSRPT EAN/EDIFACT message. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 1 of 31
Document Summary Document Item Current Value Document Title THE INVOIC MESSAGE EAN97/EDIFACT D.96A Date Last Modified 12.2013 Current Document Issue Issue 1.00 Status Draft Document Description Log of Changes in Issue 1.00 Issue No. Date of Change Changed By Summary of Change 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 2 of 31
Disclaimer Whilst every effort has been made to ensure that the guidelines to use the GS1 standards contained in the document are correct, GS1 and any other party involved in the creation of the document HEREBY STATE that the document is provided without warranty, either expressed or implied, of accuracy or fitness for purpose, AND HEREBY DISCLAIM any liability, direct or indirect, for damages or loss relating to the use of the document. The document may be modified, subject to developments in technology, changes to the standards, or new legal requirements. Several products and company names mentioned herein may be trademarks and/or registered trademarks of their respective companies. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 3 of 31
Table of Contents 1. MESSAGE STRUCTURE CHART... 5 2. SEGMENTS LAYOUT... 8 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 4 of 31
1. MESSAGE STRUCTURE CHART Sales Data Report Heading Section UNH MESSAGE HEADER BGM Beginning of message DTM Document date DTM Report start date DTM Report end date DTM Sales date, time or period SG 1 NAD identification of supplier SG 1 SG2 CTA contact information SG1 SG2 communication contact SG 1 NAD identification of store SG 1 SG2 CTA contact information SG1 SG2 communication contact SG 1 NAD identification of corporate office SG 1 SG2 CTA contact information SG1 SG2 communication contact SG 1 NAD identification of message from SG 1 SG2 CTA contact information SG1 SG2 communication contact SG 1 NAD identification of message recipient SG 1 SG2 CTA contact information SG1 SG2 communication contact SG 3 RFF sales report number SG 3 DTM sales report date SG 3 RFF sales forecast number SG 3 DTM sales forecast date SG 3 RFF contract number SG 3 DTM contract date SG 4 CUX identification of currency Sales Data Report Detail Section SG 5 LOC Sales location SG 5 DTM Sales Date/Time SG 5 SG 7 LIN item identification SG 5 SG7 PIA additional buyer s item identification SG 5 SG 7 PIA additional supplier's item identification SG 5 SG 7 PIA PKWiU number SG 5 SG 7 PIA customs item code 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 5 of 31
SG 5 SG 7 PIA serial number SG 5 SG 7 IMD item description (item name) SG 5 SG 7 IMD invoicing unit SG 5 SG 7 RFF contract number SG 5 SG 7 RFF price list number SG 5 SG 7 ALI Promotional price SG 5 SG 7 ALI Promotional advertising SG 5 SG 7 ALI Promotional shelf display SG 5 SG 7 MOA line item amount SG 5 SG 7 PRI Calculation net SG 5 SG 7 PRI Calculation gross SG 5 SG 7 SG8 QTY Statistical Sales quantity SG 5 SG 7 SG8 QTY quantity (Return quantity) SG 5 SG 7 SG8 QTY quantity (Promotion quantity) SG 5 SG 7 SG8 NAD Identificaiton of Sales Person SG 5 SG 7 SG8 NAD Identification of Cash register Sales Data Report Summary Section UNT message trailer Note: The segments agreed as mandatory are written in bold. Note: The mandatory segments that must appear either in Heading Section or in Detail Section are written in bold italic. Note: Underlined and bold segments are mandatory in certain business cases. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 6 of 31
Notes: 1. The segments are presented in the sequence in which they appear in the message. The segment or segment group tag is followed by the (M)andatory / (C)onditional indicator, the maximum number of occurrences and the segment description. 2. Reading from left to right, in column one, the data element tags and descriptions are shown, followed by in the second column the EDIFACT status (M or C), the field format, and the picture of the data elements. These first pieces of information constitute the original EDIFACT segment layout. Following the EDIFACT information, EAN specific information is provided in the third, fourth, and fifth columns. In the third column a status indicator for the use of (C)onditional EDIFACT data elements (see 2.1 through 2.3 below), in the fourth column the restricted indicator (see point 3 on the following page), and in the fifth column notes and code values used for specific data elements in the message. 2.1 (M)andatory data elements in EDIFACT segments retain their status in EAN. 2.2 Additionally, there are five types of status for data elements with a (C)onditional EDIFACT status, whether for simple, component or composite data elements. These are listed below and can be identified when relevant by the following abbreviations: REQUIRED R Indicates that the entity is required and must be sent. ADVISED A Indicates that the entity is advised or recommended. DEPENDENT D Indicates that the entity must be sent in certain conditions, as defined by the relevant explanatory note. OPTIONAL O Indicates that the entity is optional and may be sent at the discretion of the user. NOT USED N Indicates that the entity is not used and should be omitted. 2.3 If a composite is flagged as N, NOT USED, all data elements within that composite will have blank status indicators assigned to them. 3. Status indicators detailed in the fourth column which directly relate to the code values detailed in the first column may have two values; RESTRICTED * A data element marked with an asterix (*) in the fourth column is (are) the only codes available for use with this data element, in this segment, in this message. OPEN All data elements where coded representation of data is possible and a restricted set of code values is not indicated are open (no asterix in fourth column). The available codes are listed in the EAN Data Elements and Code Sets Directory. Code values given in tables have been agreed by the EDI Working Group. The use of other values should be bilaterally agreed. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 7 of 31
2. SEGMENTS LAYOUT UNH M 1 MESSAGE HEADER Function : To head, identify and specify a message. Segment number : 1 EDIFACT EAN 0062 Message reference number M an..14 M Sender's unique message reference. Sequence number of messages in the interchange. DE 0062 in UNT will have the same value. Generated by the sender. S009 MESSAGE IDENTIFIER M M 0065 Message type identifier M an..6 M * SLSRPT = Sales data report message 0052 Message type version number M an..3 M * D = Draft directory 0054 Message type release number M an..3 M * 96A = Version 96A 0051 Controlling agency M an..2 M * UN = UN/ECE/TRADE/WP.4, United Nations Standard Messages (UNSM) 0057 Association assigned code C an..6 R * EAN005 = EAN Version control number. Segment Notes. This segment is used to head, identify and specify a message. DE's 0065, 0052, 0054, and 0051: Indicate that the message is a Sales Data Report based on the EDIFACT D.96A directory under the control of the United Nations.Example : UNH+ME000001+SLSRPT:D:96A:UN:EAN005' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 8 of 31
BGM M 1 Beginning of message Function : To indicate the type and function of a message and to transmit the identifying number. Segment number : 2 EDIFACT EAN C002 DOCUMENT/MESSAGE NAME C R 1001 Document/message name, coded C an..3 R * 73E = Sales Data Report (EAN Code) 1131 Code list qualifier C an..3 N 3055 Code list responsible agency, coded C an..3 1004 Document/message number C an..35 R Sales Data Report number assigned by the document sender 1225 Message function, coded C an..3 R * 1 = Cancellation 2 = Addition 5 = Replace 6 = Confirmation 9 = Original 31 = Copy N Segment Notes. This segment is mandatory. BGM+73E::9+SDR1568+9' This example shows identificaion of a document which is an original sales data report by means of code 73E. This document s reference number is as follows: SDR1568. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 9 of 31
DTM M 35 Date/time/period Function : To specify date, and/or time, or period. Segment number : 3 EDIFACT EAN C507 DATE/TIME/PERIOD M M 2005 Date/time/period qualifier M an..3 M * 90 = Report start date 91 = Report end date 137 = Document/message date/time 356 = Sales date, and or time, and or period 2380 Date/time/period C an..35 R 2379 Date/time/period format qualifier C an..3 R 102 = CCYYMMDD 203 = CCYYMMHHMM 718 = CCYYMMDD-CCYYMMDD Segment Notes. This segment is mandatory. DE 2005: Identification of the 'Document/message date/time' (code value 137) is mandatory in the Sales Data Report message. Example : DTM+137:20131022:102' The sales data report is dated the 22nd of October 2013. DTM+356:20131001-20131031:718' The period in which the sales took place is between the 1st of October 2013 and the 31st of October 2013 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 10 of 31
SG1 M 5 NAD SG2 NAD M 1 NAME AND ADDRESS Function: To specify the name/address and their related function Segment number: 4 EDIFACT EAN * DESCRIPTION 3035 Party qualifier M an..3 M CO = Corporate Office FR = Message from MR = Message Recipient SE = Seller SN = Store number SR = Supplier s agent/representative SU = supplier CO82 PARTY IDENTIFICATION C A DETAILS 3039 Party id. identification M an..35 M GS1 (former EAN) Location Number Format n13 1131 Code list qualifier C an..3 N 3055 Code list responsible agency, C an..3 R * 9 = GS1 (former EAN) (International coded Article Numbering Association) C058 NAME AND ADDRESS C N C080 PARTNER NAME C R 3036 Partner name M an 35 M Full or abbreviated partner name 3036 Partner name C an 35 O 3036 Partner name C an 35 O 3036 Partner name C an 35 O 3036 Partner name C an 35 O 3045 Partner name format, coded C an 3 O C059 STREET C R Street and number in a readable format 3042 Street and number M an..35 M 3042 Street and number/post box no. C an..35 O 3042 Street and number/post box no. C an..35 O 3042 Street and number/post box no. C an..35 O 3164 City C an..35 R City in a redable format 3229 Voivodship C an..9 N 3251 Postal code C an..9 R 3207 Country, coded C an..9 R Two character code ISO3166 PL Poland 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 11 of 31
Segment notes This segment is used to identify the trading parties involved in the Sales Data Reporting process. This segment is mandatory. NAD+SU+4012345500004::9++Firma ABC::::: +ul. Baby Jagi 1::::+Poznań++60 250+PL NAD+SE+5456789000013::9' NAD+CO+5412345000020::9' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 12 of 31
SG1 M SG2 C CTA M 5 NAD SG2 5 CTA 1 Contact information Function : To identify a person or a department to whom communication should be directed. Segment number : 5 EDIFACT EAN 3139 Contact function, coded C an..3 R SA = Sales administration SR = Sales representative or department C056 DEPARTMENT OR EMPLOYEE DETAILS C O 3413 Department or employee identification C an..17 O 3412 Department or employee C an..35 O Segment Notes. This segment is used to identify the department and person within the party specified in the NAD segment. The EAN location number - Format n13 is particularly suitable for this purpose. CTA+SR+:Robert Kowalski' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 13 of 31
SG1 M SG2 C C 5 NAD SG2 5 CTA 5 Communication contact Function : To identify a person or a department to whom communication should be directed. Segment number : 6 EDIFACT EAN C076 MUNICATION CONTACT M M 3148 Communication number 3155 Communication channel qualifier M an..512 M an..3 M M EM = Electronic mail FX = Fax TE = Telephone Segment Notes. This segment is used to identify the communications number and the type of communications used for the person or department identified in the CTA segment. +004481754565:FX' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 14 of 31
SG3 C RFF M 5 RFF DTM 5 Reference Function : To specify a reference. Segment number : 7 EDIFACT EAN C506 REFERENCE M M 1153 Reference qualifier M an..3 M ALR = Sales forecast number ALS = Sales report number CT = Contract number 1154 Reference number C an..35 R Segment Notes. This segment is used to specify references relating to the sales data report. References should normally be given at this point if they apply to all or a majority of the line items. If the message function, code (DE 1225 BGM) is 1, Cancellation or 5, Replacement, the references to the Sales Data Report being replaced must be specified in this segment. RFF+CT:674430' RFF+ALS:SDR5421' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 15 of 31
SG3 C DTM C 5 RFF DTM 5 Date/Time/Period Function : To specify date, and/or time, or period. Segment number : 8 EDIFACT EAN C507 DATE/TIME/PERIOD M M 2005 2380 Date/time/period qualifier Date/time/period M an..3 C an..35 M R 171 = Reference date/time 2379 Date/time/period format qualifier C an..3 R 102 = CCYYMMDD Segment Notes: This segment is used to specify dates relating to the references given in the preceding RFF segment. DTM+171:19971025:102' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 16 of 31
SG4 C CUX M 5 CUX DTM 1 Currencies Function : To specify currencies used in the transaction and relevant details for the rate of exchange. Segment number : 9 EDIFACT EAN C504 CURRENCY DETAILS C R 6347 Currency details qualifier 6345 Currency coded 6343 Currency qualifier M an..3 C an..3 C an..3 M R R 2 = Reference currency ISO 4217 three alpha code 9 = Order currency 10 = Pricing currency 11 = Payment currency 6348 Currency rate base C an..4 N C504 CURRENCY DETAILS 6347 Currency details qualifier 6345 Currency coded 6343 Currency qualifier 6348 Currency rate base C M an..3 C an..3 C an..3 C an..4 R M R R N 2 = Reference currency ISO 4217 three alpha code 9 = Order currency 10 = Pricing currency 11 = Payment currency 5402 Rate of exchange C an..12 D The rate of exchange which applies to the currency. Segment Notes: This segment is used to specify the currencies in which the prices in the Sales Data Report are quoted. The CUX segment is mandatory for international exchange. When specifying Reference and Target Currencies for international trade, one occurrence of CUX is all that is required. The reference currency is identified in the first occurrence of the composite C504, with the target currency specified in the second occurrence of C504. The rate of exchange between the two is detailed in the DE 5402. The general rule for calculating rate of exchange is as follows: Reference Currency multiplied by Rate = Target Currency. CUX+2:PLN:10' CUX+2:EUR:10+3:PLN:11+48.50' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 17 of 31
SG4 C DTM C 5 CUX DTM 5 Date/Time/Period Function : To specify date, and/or time, or period. Segment number : 10 EDIFACT EAN C507 DATE/TIME/PERIOD M M 2005 2380 Date/time/period qualifier Date/time/period 2379 Date/time/period format qualifier M an..3 C an..35 C an..3 Segment Notes: This segment is used to specify the date on which the rate of exchange was quoted. DTM+134:20131001:102' M R R 134 = Rate of exchange date/time 102 = CCYYMMDD 203 = CCYYMMDDHHMM 718 = CCYYMMDD-CCYYMMDD 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 18 of 31
SG5 M LOC M 200000 LOC DTM-SG7 1 Place/location identifier Function : To identify a country/place/location/related location one/related location two. Segment number : 11 EDIFACT EAN 3227 Place/location qualifier M an..3 M 162 = Place or location of sale C517 LOCATION IDENTIFICATION C A 3225 Place/location identification 1131 Code list qualifier 3055 Code list responsible agency, coded 3224 Place/location C an..25 C an..3 C an..3 C an..70 A O D O For identification of locations it is recommended to use GLN location number - Format n13. 9 = GS1 C519 RELATED LOCATION ONE IDENTIFICATION C A 3223 Related Place/location one identification C an..25 A 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 D 3222 Related Place/location one C an..70 O C553 RELATED LOCATION TWO IDENTIFICATION C A 3233 Related place/location two identification C an..25 A 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 D 3232 Related place/location two C an..70 O 5479 Relation, coded C an..3 N Segment Notes: This segment is used to identify the location where the sales took place. The LOC segment is the trigger segment for the Sales Data Report detail section. There must always be at least one occurrence of the LOC segment in the Sales Data Report. LOC+162+5412345000013::9' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 19 of 31
SG5 M DTM C 200000 LOC DTM-SG7 5 Date/Time/Period Function : To specify date, and/or time, or period. Segment number : 12 EDIFACT EAN C507 DATE/TIME/PERIOD M M 2005 Date/time/period qualifier 2380 Date/time/period 2379 Date/time/period format qualifier M an..3 C an..35 C an..3 M R R 90 = Report start date 91 = Report end date 356 = Sales date, and or time, and or period 102 = CCYYMMDD 203 = CCYYMMDDHHMM 718 = CCYYMMDD-CCYYMMDD Segment Notes: This segment is used to indicate the date or period of sale for the items which follow in the LIN sub-group (Group 6). The DTM segment can be used to specify sub-periods such as weekly sales within a monthly Sales Data Report. This segment is not required if the date or period being identified here is the same as the date or period identified at heading level. DTM+356:20131031:102' The sales for the current line item took place on the 31st of October 2013. DTM+356:2013100120131031:718' The period of time during which the sales for the current line item took place is from the 1st of October 2013 to the 31st October 2013. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 20 of 31
SG5 M SG7 C 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 LIN M 1 Line item Function : To identify a line item and configuration. Segment number : 13 EDIFACT EAN 1082 Line item number C n..6 R Application generated number of the item lines within the Sales Data Report. 1229 Action request/notification, coded C212 ITEM NUMBER IDENTIFICATION C an..3 C N D 7140 Item number C an..35 R Format n..14. EAN 8, UPC A, EAN 13, or DUN 14 7143 Item number type, coded C an..3 R * EN = EAN (EAN 8, EAN 13, EAN 14) UP = UPC (UPC A) Segment Notes. This segment is used to identify the trade item. EAN.UCC Global Trade Item Numbers should be used to identify the trade items. This segment is mandatory. Notes to elemnts with attribute D: Element composed of C212 is used to identify EAN/UPC codes. LIN+1++4000862141404:EN' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 21 of 31
SG5 M SG7 C 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 PIA C 5 Additional product id Function : To specify additional or substitutional item identification codes. Segment number : 14 EDIFACT EAN 4347 Product id. function qualifier M an..3 M * 1 = Additional identification C212 ITEM NUMBER IDENTIFICATION M M 7140 Item number C an..35 R 7143 Item number type, coded C an..3 R BP = Buyer's part number 1131 Code list qualifier C an..3 N 3055 Code list responsible agency, coded Segment Notes. C an..3 O 92 = Assigned by buyer or buyer's agent This segment is used to specify additional or substitutional item identification codes such as a buyer's or supplier's item number. Examples : PIA+1+ABC5343:BP' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 22 of 31
SG5 M SG7 C IMD C 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 10 Item description Function : To describe an item in either an industry or free format. Segment number : 15 EDIFACT EAN 7077 Item description type, coded C an..3 R * A = Free form long description C = Coded description 7081 Item characteristic, coded C an..3 O C273 ITEM DESCRIPTION C R 7009 Item description identification C an..17 R CU = Consumer unit (GS1 (former EAN) Code) DU = Despatch unit (GS1 (former EAN) Code) TU = Traded unit 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded VQ = Variable quantity product (GS1 code) C an..3 R 9 = GS1 (former EAN) Item or service name 7008 Item description C an..35 R Goods or service name 7008 Item description C an..35 O 3453 Language, coded C an..3 O Segment Notes. This segment is mandatory. The following element DE 7009 includes those codes that are currently used. Others recommended by GS1 are included in the appendix and their use is subject to mutual agreements. If text description is required additionally, then IMD segment must be repeated. DE7077 element of the other IMD segment will include value A. Free text in 7008 data element should only be used if no item code is available or when free text description is required by trading partners for basic product description. IMD+C++RC::9' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 23 of 31
SG5 M SG7 C RFF C 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 5 Reference Function : To specify a reference. Segment number : 16 EDIFACT EAN C506 REFERENCE M M 1153 Reference qualifier M an..3 M CT = Contract number PL = Price list number 1154 Reference number C an..35 R 1156 Line number C an..6 N 4000 Reference version number C an..35 N Segment Notes. This segment is used to specify any references which are applicable to the current line item only. RFF+PL:658221' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 24 of 31
SG5 M SG7 C 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 ALI C 5 Additional information Function : To indicate that special conditions due to the origin, customs preference, fiscal or commercial factors are applicable. Segment number : 17 EDIFACT EAN 3239 Country of origin, coded C an..3 O Use ISO 3166 two alpha country code. 9213 Type of duty regime, coded C an..3 O 4183 Special conditions, coded C an..3 O 96 = Promotional advertising 97 = Promotional price 98 = Promotional shelf display 4183 Special conditions, coded C an..3 O 4183 Special conditions, coded C an..3 O 4183 Special conditions, coded C an..3 O 4183 Special conditions, coded C an..3 O Segment Notes. This segment is used to specify promotion information in LIN segment Example : ALI+96' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 25 of 31
SG5 M SG7 C MOA M 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 1 Monetary amount Function : To specify a monetary amount. Segment number : 18 EDIFACT EAN C516 MONETARY AMOUNT M M 5025 Monetary amount type qualifier M an..3 M * 206 = line item amount 35E = items deposit amount 5004 Monetary amount C n..18 R 6345 Currency, coded C an..3 O ISO 4217 three alpha PLN = złoty 6343 Currency qualifier C an..3 O * Segment Notes. This segment is mandatory Segment Notes: This segment is used to indicate the value of the sales for the current line item for the period being reported. MOA+203:12500' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 26 of 31
SG5 M SG7 C 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 PRI C 1 Price details Function : To specify price information. Segment number : 19 EDIFACT EAN C509 PRICE INFORMATION C R 5125 Price qualifier M an..3 M AAA = Calculation net AAB = Calculation gross AAE = Information price, exluding allowances or charges, including taxes CAL = Calculation price 5118 Price 5375 Price type, coded Segment Notes. C n..15 C an..3 R CT = Contract CA = Catalogue This segment is used to specify price information for the current line item. This segment is mandatory PRI+AAA:14.50:CA' Net price of 14.50 (excluding tax) to be used for calculation purposes. This price includes all allowances and charges. 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 27 of 31
SG5 M SG7 C SG8 C QTY M 200000 LOC-DTM-SG7 200000 LIN PIA IMD RFF ALI MOA PRI SG8 999 QTY-NAD 1 Quantity Function : To specify a pertinent quantity. Segment number : 20 EDIFACT EAN C186 QUANTITY DETAILS M M 6063 Quantity qualifier M an..3 M 26 = Promotion quantity 61 = Return quantity 153 = Statistical sales quantity 210 = Returned by consumer quantity 32E = Consolidated discount stock 55E = Reserved quantity customer direct delivery 56E = Reserved quantity retail sales 6060 Quantity M an..15 M 1156 Line number C an..6 O 4000 Reference version number C an..35 N Segment Notes. This segment is used to indicate quantities related to the current line item. QTY+153:140' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 28 of 31
SG5 M 200000 LOC-DTM-SG7 SG7 C 200000 LIN PIA IMD RFF ALI MOA PRI SG8 SG8 C 999 QTY-NAD NAD M 1 NAME AND ADDRESS Function: To specify the name/address and their related function Segment number: 21 EDIFACT EAN * DESCRIPTION 3035 Party qualifier M an..3 M SA = Sales person number X47 = Cash register number CO82 PARTY IDENTIFICATION C DETAILS 3040 Party id. identification M an..35 M GS1 (former EAN) Location Number Format n13 1132 Code list qualifier C an..3 N 3055 Code list responsible agency, C an..3 R * 9 = GS1 (former EAN) (International coded Article Numbering Association) C058 NAME AND ADDRESS C N C080 PARTNER NAME C R 3036 Partner name M an 35 M Full or abbreviated partner name 3036 Partner name C an 35 O 3036 Partner name C an 35 O 3036 Partner name C an 35 O 3036 Partner name C an 35 O 3045 Partner name format, coded C an 3 O C059 STREET C R Street and number in a readable format 3042 Street and number M an..35 M 3042 Street and number/post box no. C an..35 O 3042 Street and number/post box no. C an..35 O 3042 Street and number/post box no. C an..35 O 3164 City C an..35 R City in a redable format 3229 Voivodship C an..9 N 3251 Postal code C an..9 R 3207 Country, coded C an..9 R Two character code ISO3166 PL Poland A 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 29 of 31
Segment notes This segment is used to identify any party related to the sales being reported. NAD+SA+5456789000010::9' Dependency Notes: The following composites and data elements are only used when a coded name and address can not be used. The affected composites and data elements are as follows: C080 - C059-3164 - 3229-3251 - 3207 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 30 of 31
UNT M 1 MESSAGE TRAILER Function : To end and check the completeness of a message. Segment number : 22 EDIFACT EAN 0074 Number of segments in a message M n..6 M The total number of segments in the message is detailed here. 0062 Message reference number M an..14 M The message reference numbered detailed here should equal the one specified in the UNH segment. Segment Notes. This segment is a mandatory UN/EDIFACT segment. It must always be the last segment in the message. Example : UNT+22+1' 12.2013, Issue 1.00 All contents copyright Instytut Logistyki i Magazynowania Page 31 of 31