Polska THE ORDERS MESSAGE 97/ D.96A Issue 6.4, December 2012 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 INVOIC / message. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 1 of 41
Document Summary Document Item Current Value Document Title THE ORDERS MESSAGE 97/ D.96A Date Last Modified December 2012 Current Document Issue Issue 6.4 Status Approved Document Description Log of Changes in Issue 6.4 Issue No. Date of Change Changed By Summary of Change 6.0 I 2007 EDI GROUP 6.1 IV 2008 EDI GROUP 6.2 VII 2009 Infinite 6.3 VIII 2012 Infinite 6.4 XII 2012 Comarch Segment addition: FTX registration court, registration number, initial capital, invested capital Segment change: SG 2 NAD buyers name Segment attribute change: SG 2 SG 3 RFF NIP of buyer Segment addition: SG 2 NAD buyer s corporate office NAD segments examples correction Segment addition: PIA: for 14 used as identification for higher level packaging NAD: UD ultimata customer Segments extension: SG 2 NAD supplier identification SG 2 NAD delivery point identification Segment addition: SG 25 FTX product description on line level Qualifiers addition: - BGM segment - 221 - Blanket order - PRI segment - INF - Information Qualifier addition: - in FTX segment (line level) AAI general information December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 2 of 41
Important notices Important: TAX SEGMENT RULE In order to limit the redundancy of data in the documents the EDI Working Group has devised a business rule concerning TAX segments. The rule defined that it is not correct to transmit a tax rate and exemption qualifier in one segment. The following examples define correct EDI segments: TAX+7+VAT +++:::22+S' TAX+7+VAT +++:::7+S' TAX+7+VAT +++:::3+S' TAX+7+VAT +++:::0+S' TAX+7+VAT ++++E' (tax exemption) The following are examples of incorrect segments (containing tax rate and exemption qualifier) : TAX+7+VAT +++:::22+E' TAX+7+VAT +++:::7+E' TAX+7+VAT +++:::3+E' TAX+7+VAT +++:::0+E' 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. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 3 of 41
Table of Contents 1. MESSAGE STRUCTURE CHART... 5 2. SEGMENTS LAYOUT... 7 3. Annex 1 : Other qualifiers... 41 December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 4 of 41
1. MESSAGE STRUCTURE CHART Purchase Order Heading Section UNH - MESSAGE HEADER BGM - Beginning of message DTM - Date of the document DTM - required date of delivery FTX - Free text FTX Free text (registration court and registration number, initial capital, invested capital) SG 1 RFF - Promotion deal number (Message sender reference number) SG 1 DTM reference date SG 2 NAD - Identification of the supplier SG 2 FII - Bank account number SG 2 SG 3 RFF - VAT registration number SG 2 SG 3 RFF additional supplier identification SG 2 NAD - Identification of the buyer SG 2 FII - Bank account number SG 2 SG 3 RFF - VAT registration number SG 2 SG5 CTA- Contact information SG 2 NAD - Identification of the buyer s corporate office SG 2 NAD - Identification of delivery party SG 2 NAD - Identification of the party from where goods will be or have been shipped SG 2 NAD - Identification of ultimate customer SG 7 CUX - currencies SG 9 TDT details of transport Purchase Order Detail Section SG 25 LIN - Line item SG 25 PIA - Additional product id SG 25 IMD - Item description SG 25 QTY - Quantity SG 25 QTY Number of consumer units in the traded unit SG 25 FTX product description on line level SG 25 SG 28 PRI - Net price SG 25 SG 29 RFF - Promotion deal number (Message sender reference number) SG 25 SG 30 PAC Package Purchase Order Summary Section UNS - SECTION CONTROL CNT - Number of line items in message CNT - Total value of the quantity segments at line level in a message 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. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 5 of 41
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 status (M or C), the field format, and the picture of the data elements. These first pieces of information constitute the original segment layout. Following the information, specific information is provided in the third, fourth, and fifth columns. In the third column a status indicator for the use of (C)onditional 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 segments retain their status in. 2.2 Additionally, there are five types of status for data elements with a (C)onditional 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 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. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 6 of 41
2. SEGMENTS LAYOUT UNH - M 1 - MESSAGE HEADER Function : To head, identify and specify a message. Segment number : 1 0062 Message reference number M an..14 M Sender's unique message reference. Sequence number of the messages in the interchange. DE 0062 in the UNT will be exactly the same. Sender generated. S009 MESSAGE IDENTIFIER M M 0065 Message type identifier M an..6 M * ORDERS = Purchase order 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 * 008 = Version control number. This segment is used to head, identify and specify a message. This segment is mandatory. DE's 0065, 0052, 0054, and 0051: Indicate that the message is an UNSM Purchase Order based on the D.96A directory under the control of the United Nations. DE 0057: Indicates that the message is the version 008 of the UNSM Purchase Order. UNH+ME000001+ORDERS:D:96A:UN:008' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 7 of 41
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 C002 DOCUMENT/MESSAGE NAME C R 1001 Document/message name, coded C an..3 R * 220 = Order 1131 Code list qualifier C an..3 N 3055 Code list responsible agency, coded C an..3 D * 1000 Document/message name C an..35 O 50E = Cross docking 221 = Blanket order 1004 Document/message number C an..35 R Order Number assigned by document sender. Cross-docking order number 1225 Message function coded C an..3 R 9 = original 5 = replace 1 = cancellation This segment is mandatory. DE 1004: It is recommended that the length of document number should be restricted to a maximum of 17 characters. BGM+220+1285876+9 December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 8 of 41
DTM - M 35 - Date/time/period Function : To specify date, and/or time, or period. Segment number : 3 C507 DATE/TIME/PERIOD M M 2005 Date/time/period qualifier M an..3 M * 137 = Document/message date/time 2380 Date/time/period C an..35 R 2379 Date/time/period format qualifier C an..3 R 102 = CCYYMMDD This segment is mandatory. DE 2005: Identification of the 'Document/message date/time' (code value 137) is mandatory in the purchase order message. DTM+137:19970830:102' This example dates the message as the 30th of August 1997. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 9 of 41
DTM - M 35 - Date/time/period Function : To specify date, and/or time, or period. Segment number : 3 C507 DATE/TIME/PERIOD M M 2005 Date/time/period qualifier M an..3 M * 2 = Delivery date/time, requested 2380 Date/time/period C an..35 R 63 = Delivery date/time, latest 64 = Delivery date/time, earliest 200 = Pick-up/collection date/time of cargo 2379 Date/time/period format qualifier C an..3 R 102 = CCYYMMDD 203 = CCYYMMDDHHMM This segment is used to specify requested dates concerning the delivery of the goods. DTM+2:19970830:102' This example dates the delivery on the 30th of August 1997. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 10 of 41
FTX - C 99 - Free text Function : To provide free form or coded text information. 4451 Text subject qualifier M an..3 M AAI = general information ZZZ = mutually defined 4453 Text function, coded C an..3 O * 1 = Text for subsequent use. The occurrence of this text does not affect message processing. C107 TEXT REFERENCE C X * 4441 Free text, coded M an..3 M 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 O C108 TEXT LITERAL C X 4440 Free text M an..70 M 4440 Free text C an..70 O 4440 Free text C an..70 O 4440 Free text C an..70 O 4440 Free text C an..70 O 3453 Language, coded C an..3 X ISO 639 two alpha code Segment Notes: This segment is used to provide free form or coded text information for the entire purchase order. Example: FTX+ZZZ+1+001' (e.g. standard text code 001=Special prices effective first of month) Segment Notes (for the segments with X attribute) The complex data element C107 is used providing that trade partners have declared common previously defined code values. The complex data element C108 is used providing that a free text coded usage is impossible. The complex element data 3453 is used providing that uncoded free text was given in C108 data element. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 11 of 41
FTX - C 99 - Free text Function : To provide free form or coded text information. 4451 Text subject qualifier M an..3 M OSI = other service information 4453 Text function, coded C an..3 O * 1 = Text for subsequent use. The occurrence of this text does not affect message processing. C107 TEXT REFERENCE C X * 4441 Free text, coded M an..3 M 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 O C108 TEXT LITERAL C X 4440 Free text M an..70 M 4440 Free text C an..70 O 4440 Free text C an..70 O 4440 Free text C an..70 O 4440 Free text C an..70 O 3453 Language, coded C an..3 X ISO 639 two alpha code Segment Notes: This segment is used to provide free form or coded text information for the entire purchase order. It contains the following information: 1. registration court and registration number, 2. initial capital, invested capital According to Polish Law 1 this segment must be used in the message if the issuer of the message is obliged by the law. Przykład: FTX+OSI+1++ KRS 0000011111 Sąd Rejonowy w Poznaniu: XXI Wydział Gospodarczy Krajowego Rejestru Sądowego: initial capital 2 220 000 PLN: invested capital 2 120 000 PLN+PL ' 1 Dz.U. 2006 nr 208 poz. 1540 Ustawa z dnia 18 października 2006 r. o zmianie ustawy o Krajowym Rejestrze Sądowym oraz niektórych innych ustaw December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 12 of 41
SG1 - C 10 - RFF-DTM RFF - M 1 - Reference Function : To specify a reference. Segment number : 7 C506 REFERENCE M M 1153 Reference qualifier M an..3 M PD = Promotion deal number VN = order number supplier 1154 Reference number C an..35 R Segment Notes: This segment is used to provide other references concerning the purchase order e.g. promotion number. RFF+PD+652744' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 13 of 41
SG2 - C 99 - NAD-LOC-SG3-SG5 NAD - M 1 - NAME AND ADDRESS Function: To specify the name/address and their related function Segment number: 9 C * DESCRIPTION OM 3035 Party qualifier M an..3 M SU = Supplier CO82 PARTY IDENTIFICATION C A DETAILS 1131 Party id. identification M M GS1 (former ) Location Number - Format n13 an..35 1132 Code list qualifier C N an..3 3055 Code list responsible agency, C an..3 R * 9 = GS1 (former ) (International Article coded 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 Segment notes This segment is used to identify trading partners participating in the ordering process. Identification of the supplier. This segment is mandatory. Example: NAD+SU+4012345500004::9++Firma ABC::::: +ul. Baby Jagi 1:::+Poznań++60-250+PL December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 14 of 41
SG2 - C 99 - NAD-LOC-FII - SG3-SG5 FII - C 5 - Financial institution information Function : To identify an account and a related financial institution. Segment number : 11 3035 Party qualifier M an..3 M RB = Receiving financial institution C078 ACCOUNT IDENTIFICATION C R 3194 Account holder number C an..35 R This segment is used to indicate the suppliers' bank account to which the payment should be done. FII+RB+994-3277711' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 15 of 41
SG2 - C 99 - NAD-LOC- FII - SG3-SG5 SG3 - C 10 - RFF RFF - M 1 - Reference Function : To specify a reference. Segment number : 12 C506 REFERENCE M M 1153 Reference qualifier M an..3 M * VA = VAT registration number 1154 Reference number C an..35 R This segment is used to specify reference numbers related to the party specified in the previous NAD segment. It is used to provide information on VAT registration number of the supplier. The number should be given as a set of digits or as a set of digits separated with hyphens. RFF+VA:87765432' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 16 of 41
SG2 - C 99 - NAD-LOC- FII - SG3-SG5 SG3 - C 10 - RFF RFF - M 1 - Reference Function : To specify a reference. Segment number : 12 C506 REFERENCE M M 1153 Reference qualifier M an..3 M * API = Additional Party Identification 1154 Reference number C an..35 R This segment is used to specify the number of the delivering party according to the buyer (e.g. delivery party number according to MAKRO). The number should be given as a set of digits or as a set of digits separated with hyphens. RFF+API:AB123456' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 17 of 41
SG2 - C 99 - NAD-LOC-SG3-SG5 NAD - M 1 - NAME AND ADDRESS Function: To specify the name/address and their related function Segment number: 9 C * DESCRIPTION OM 3035 Party qualifier M an..3 M BY = buyer CO82 PARTY IDENTIFICATION C A DETAILS 1133 Party id. identification M M GS1 (former ) Location Number - Format n13 an..35 1134 Code list qualifier C N an..3 3055 Code list responsible agency, C an..3 R * 9 = GS1 (former ) (International Article coded 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 Segment notes This segment is used to identify trading partners participating in the ordering process. Identification of recipient and supplier of goods and services is obligatory in the ORDERS message. According to Polish Law this segment must contain full address and name of the company issuing an ORDER message. Both parties are identified by means of GS1 (former ) Global Location Numbers and their full or abbreviated names and addresses. According to Polish Law 2 this segment must be used in the message if the issuer of the message is obliged by the law. Example: NAD+BY+4012345500004::9++Firma ABC::::: +ul. Baby Jagi 1:::+Poznań++60-250+PL 2 Dz.U. 2006 nr 208 poz. 1540 Ustawa z dnia 18 października 2006 r. o zmianie ustawy o Krajowym Rejestrze Sądowym oraz niektórych innych ustaw December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 18 of 41
SG2 - C 99 - NAD-LOC-FII - SG3-SG5 FII - C 5 - Financial institution information Function : To identify an account and a related financial institution. Segment number : 11 3035 Party qualifier M an..3 M PB = Paying financial institution C078 ACCOUNT IDENTIFICATION C R 3194 Account holder number C an..35 R This segment is used to indicate the buyers bank account to which the payment should be done. Should be sent for control purposes. FII+PB+994-3277711' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 19 of 41
SG2 - C 99 - NAD-LOC- FII - SG3-SG5 SG3 - C 10 - RFF RFF - M 1 - Reference Function : To specify a reference. Segment number : 12 C506 REFERENCE M M 1153 Reference qualifier M an..3 M * VA = VAT registration number 1154 Reference number C an..35 R This segment is used to specify reference numbers related to the party specified in the previous NAD segment. It is used to provide information on VAT registration number of the buyer. The number should be given as a set of digits or as a set of digits separated with hyphens. According to Polish Law 3 this segment must be used in the message if the issuer of the message is obliged by the law. RFF+VA:87765432' 3 Dz.U. 2006 nr 208 poz. 1540 Ustawa z dnia 18 października 2006 r. o zmianie ustawy o Krajowym Rejestrze Sądowym oraz niektórych innych ustaw December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 20 of 41
SG2 - C 99 - NAD-LOC-FII - SG3-SG5 SG5 - C 5 - CTA- CTA - M 1 - Contact information Function : To identify a person or a department to whom communication should be directed. Segment number : 13 3139 Contact function, coded C an..3 R OC = Order contact C056 DEPARTMENT OR EMPLOYEE DETAILS C O 3413 Department or employee identification C an..17 O 3412 Department or employee C an..35 O This segment is used to identify contact details (name or company department) for the party specified in the previous NAD segment responsible for placing this order. CTA+OC+:PETER FORGET' PETER FORGET is the person to whom any questions concerning this order should be asked. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 21 of 41
SG2 - C 99 - NAD-LOC-SG3-SG5 NAD - M 1 - NAME AND ADDRESS Function: To specify the name/address and their related function Segment number: 9 C * DESCRIPTION OM 3035 Party qualifier M an..3 M BCO = buyer s corporate office CO82 PARTY IDENTIFICATION C A DETAILS 1135 Party id. identification M M GS1 (former ) Location Number - Format n13 an..35 1136 Code list qualifier C N an..3 3055 Code list responsible agency, C an..3 R * 9 = GS1 (former ) (International Article coded 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 Segment notes This segment is used to identify trading partners participating in the ordering process. Parties are identified by means of GS1 (former ) Global Location Numbers and their full or abbreviated names and addresses. According to Polish Law 4 this segment must be used in the message if the issuer of the message is obliged by the law. Example: NAD+BCO+4012345500004::9++Firma ABC::::: +ul. Baby Jagi 1:::+Poznań++60-250+PL 4 Dz.U. 2006 nr 208 poz. 1540 Ustawa z dnia 18 października 2006 r. o zmianie ustawy o Krajowym Rejestrze Sądowym oraz niektórych innych ustaw December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 22 of 41
SG2 - C NAD-LOC- FII - SG3-SG5 NAD - M 1 - NAME AND ADDRESS Function: To specify the name/address and their related function Segment number: 9 C * DESCRIPTION OM 3035 Party qualifier M an..3 M DP = Delivery party CO82 PARTY IDENTIFICATION C A DETAILS 1137 Party id. identification M M GS1 (former ) Location Number - Format n13 an..35 1138 Code list qualifier C N an..3 3055 Code list responsible agency, C an..3 R * 9 = GS1 (former ) (International Article coded 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 This segment is used to identify the delivery party. NAD+DP+4012345500004::9++Firma ABC::::: +ul. Baby Jagi 1:::+Poznań++60-250+PL December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 23 of 41
SG2 - C 99 - NAD-LOC- FII - SG3-SG5 NAD - M 1 - Name and address Function : To specify the name/address and their related function Segment number : 9 3035 Party qualifier M an..3 M SF = Ship from C082 PARTY IDENTIFICATION DETAILS C A 3039 Party id. identification M an..35 M GS1 (former ) Location Number - Format n13 1131 Code list qualifier C an..3 N 3055 Code list responsible agency, coded C an..3 R * 9 = GS1 (former ) (International Article Numbering association) This segment is used to identify the party from where goods will be or have been shipped. NAD+SF+4012345500004::9' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 24 of 41
SG2 - C 99 - NAD-LOC- FII - SG3-SG5 NAD - M 1 - Name and address Function : To specify the name/address and their related function Segment number : 9 3035 Party qualifier M an..3 M UD = Ultimate Customer C082 PARTY IDENTIFICATION DETAILS C A 3039 Party id. identification M an..35 M GS1 (former ) Location Number - Format n13 1131 Code list qualifier C an..3 N 3055 Code list responsible agency, coded C an..3 R * 9 = GS1 (former ) (International Article Numbering association) This segment is used to identify the party which is the final recipient of goods. NAD+UD+4012345500004::9' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 25 of 41
SG7 - C 1 - CUX - DTM CUX - M 1 - Currencies Function : To specify currencies used in the transaction and relevant details for the rate of exchange. Segment number : 16 C504 CURRENCY DETAILS C R 6347 Currency details qualifier M an..3 M * 2 = waluta odniesienia 6345 Currency, coded C an..3 R ISO 4217 trzy znakowy, alfanumeryczny kod 6343 Currency qualifier C an..3 R * 9 = waluta zamówienia Segment Notes: This segment is used to specify currency information for the complete order. The CUX segment is mandatory for international exchanges. It can be omitted when transaction is not international. The code for the Polish currency is PLN according to ISO. Examlpe: CUX+2:PLN:9' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 26 of 41
SG9 - C 10 - TDT TDT - C 1 - Details of transport Function : To specify the transport details such as mode of transport, means of transport, its conveyance reference number and the identification of the means of transport. Segment number : 23 8051 Transport stage qualifier M an..3 M 20 = Main-carriage transport 8028 Conveyance reference number C an..17 O Reference Number covering the transport C220 MODE OF TRANSPORT C A 8067 Mode of transport, coded C an..3 R 10 = Maritime transport 20 = Rail transport 30 = Road transport 40 = Air transport 60 = Multimodal transport 8066 Mode of transport C an..17 N C228 TRANSPORT MS C N C040 CARRIER C O 3127 Carrier identification C an 17 R GLN of the carrier 1131 Code list qualifier C an 17 O 3055 Code list responsible agency, coded C an 3 R 9 = GS1 ( International) Segment Notes: This segment is used to specify transport instructions for the whole Purchase Order, such as requesting an express transport service. Example: TDT+20++30' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 27 of 41
SG25 - C 200000 - LIN-PIA-IMD-MEA-QTY-ALI-DTM-MOA-GIN-QVR-FTX-SG28-SG29-SG30-SG33-SG34- SG35-SG39-SG45 LIN - M 1 - Line item Function : To identify a line item and configuration. Segment number : 47 1082 Line item number C n..6 R Application generated number of the count of the order lines. 1229 Action request/notification, coded C an..3 N C212 ITEM NUMBER IDENTIFICATION C D 7140 Item number C an..35 R Format n..14-8, UPC-A, -13, or -14 - this is the number of the article being ordered. 7143 Item number type, coded C an..3 R * EN = EU =.UCC Segment Notes: This segment is used to identify the item being ordered. This segment is mandatory. For the trade item identification /UCC Global Trade Item Numbers should be used. Segment Notes for data elements with attribute D: Complex element C212 is used only to identify /UPC codes. Example: LIN+1++4000862141404:EU' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 28 of 41
SG25 - C 200000 - LIN-PIA-IMD-MEA-QTY-ALI-DTM-MOA-GIN-QVR-FTX-SG28-SG29-SG30-SG33-SG34- SG35-SG39-SG45 PIA - C 25 - Additional product id Function : To specify additional or substitutional item identification codes. Segment number : 48 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 SA = Supplier's article number 1131 Code list qualifier C an..3 N EN - 3055 Code list responsible agency, coded C an..3 O 91 = Assigned by supplier or supplier's agent 92 = Assigned by buyer or buyer's agent 9 = This segment is used to specify additional or substitutional item identification codes such as a buyer's, or seller's item number Segment 7143 wit qualifier is used to identify higher level of packaging goods. Example: PIA+1+AEX0143:BP' PIA+1+12345678901234:EN::9 December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 29 of 41
SG25 - C 200000 - LIN-PIA-IMD-MEA-QTY-ALI-DTM-MOA-GIN-QVR-FTX-SG28-SG29-SG30-SG33-SG34- SG35-SG39-SG45 IMD - C 99 - Item description Function : To describe an item in either an industry or free format. Segment number : 49 7077 Item description type, coded C an..3 O * B = Code and text 7081 Item characteristic, coded C an..3 O C273 ITEM DESCRIPTION C A C = Code (from industry code list) ANM = article name 7009 Item description identification C an..17 O CU = Consumer unit (GS1 (former ) Code) 1131 Code list qualifier C an..3 O VQ = Variable quantity product (GS1 (former ) Code) 3055 Code list responsible agency, coded C an..3 O 9 = GS1 (former ) (International Article Numbering association) 7008 Item description C an..35 O Article name 7008 Item description C an..35 O This segment is used to describe the current line item. It is recommended that this segment only be used for coded descriptions. Data element 7008 in clear text should only be used when no product code is available or when free-form descriptions are required by trading partners. If the coded description is used, the qualifiers provided in Annex should be used. IMD+C+CU' IMD+B++:::CORN CRISPIES:CASE' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 30 of 41
SG25 - C 200000 - LIN-PIA-IMD-MEA-QTY-ALI-DTM-MOA-GIN-QVR-FTX-SG28-SG29-SG30-SG33-SG34- SG35-SG39-SG45 QTY - C 10 - Quantity Function : To specify a pertinent quantity. Segment number : 51 C186 QUANTITY DETAILS M M 6063 Quantity qualifier M an..3 M * 21 = Ordered quantity 59 = Number of consumer units in the traded unit 192 = Free goods quantity 6060 Quantity M n..15 M 6411 Measure unit qualifier C an..3 D KGM = kilogram This segment is used to specify the total quantity ordered for the current line identified in the LIN segment. This segment is mandatory. QTY+21:48:KGM' DE 6411: This DE is only used if the product ordered is a variable quantity product, see Annex. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 31 of 41
FTX - C 99 - Free text Function : To provide free form or coded text information. 4451 Text subject qualifier M an..3 M ZZZ = mutually defined AAI = general information 4453 Text function, coded C an..3 O * 1 = Text for subsequent use. The occurrence of this text does not affect message processing. C107 TEXT REFERENCE C X * 4441 Free text, coded M an..3 M 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 O C108 TEXT LITERAL C X 4440 Free text M an..70 M 4440 Free text C an..70 O 4440 Free text C an..70 O 4440 Free text C an..70 O 4440 Free text C an..70 O 3453 Language, coded C an..3 X ISO 639 two alpha code Segment Notes: This segment is used to provide free form or coded text information for the entire purchase order. Example: FTX+ZZZ+1++GREEN+PL' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 32 of 41
SG25 - C SG28 - C 200000 - LIN-PIA-IMD-MEA-QTY-ALI-DTM-MOA-GIN-QVR-FTX-SG28-SG29-SG30-SG33-SG34- SG35-SG39-SG45 25 - PRI-CUX-DTM PRI - M 1 - Price details Function : To specify price information. Segment number : 58 C509 PRICE INFORMATION C R 5125 Price qualifier M an..3 M AAA = Calculation net* INF = Information ** 5118 Price C n..15 R 5375 Price type, coded C an 3 O 5387 Price type qualifier C an 3 R NTP = Net unit price RTP = Retail price 5284 Unit price basis C an 3 D 6411 Measure unit qualifier C an 3 D KGM = kilogram This segment is used to detail the price for the current product identified in the LIN segment. * - the price stated is the net price including all allowances and charges and excluding taxes. ** - the price stated is for information PRI+AAA:14.58' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 33 of 41
SG25 - C 200000 - LIN PIA IMD MEA QTY ALI DTM MOA GIN QVR FTX SG28 SG29 SG30 SG33 SG34 SG35 SG39 SG45 SG29 - C 29 - RFF-DTM RFF - M 1 - Reference Function : To specify a reference. Segment number : 7 C506 REFERENCE M M 1153 Reference qualifier M an..3 M PD = Promotion deal number 1154 Reference number C an..35 R Segment Notes: This segment is used to provide promotion deal number for each line item in the message. RFF+PD+652744' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 34 of 41
SG25 - C SG30 - C 200000 - LIN PIA IMD MEA QTY ALI DTM MOA GIN QVR FTX SG28 SG29 SG30 SG33 SG34 SG35 SG39 SG45 10 - PAC MEA QTY DTM PAC - M 1 - Function : To describe the number and type of packages/physical units. Segment number : 63 7224 Number of packages C n..8 O Number of packages of ordered item C531 PACKAGING DETAILS C A Packaging level, coded C an..3 N 7233 Packaging related information, coded C an..3 O 7073 Packaging terms and conditions, coded C an..3 O 3 = Packaging cost not charged (returnable) C202 PACKAGE TYPE C O 7065 Type of packages identification C an..17 R CT Carton 1131 Code list qualifier C an..3 O 3055 Code list responsible agency, coded C an..3 D 7064 Type of packages C an..3 O C402 PACKAGE TYPE IDENTIFICATION C N 7077 Item description type, coded M an..3 7064 Type of packages M an..35 7143 Item number type, coded C an..3 7064 Type of packages C an..35 7143 Item number type, coded C an..3 C532 RETURNABLE PACKAGE DETAILS C D 8395 Returnable package freight payment responsibility, coded C an..3 O 1 = Paid by customer 3 = Paid by supplier 8393 Returnable package load contents, coded C an..3 N December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 35 of 41
Segment Notes: This segment is used to provide information weather the packaging is returnable. Example: PAC + +::3+ BS++ 3' Data Elements with D attribute notes: C532 element is used only if the packaging is returnable. This element defines the party who pays for the return of packaging. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 36 of 41
UNS - M 1 - SECTION CONTROL Function : To separate header, detail, and summary sections of a message. Segment number : 91 0081 Section identification M a1 M * S = Detail/summary section separation This segment is used to separate the detail and summary sections of the message. This segment is mandatory. UNS+S' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 37 of 41
CNT - C 10 - Control total Function : To provide control total. Segment number : 93 C270 CONTROL M M 6069 Control qualifier M an..3 M * 2 = Number of line items in message 6066 Control value M n..18 M This segment is used to provide message control totals. This segment is mandatory. CNT+2:4' There are four LIN segments in the current message. December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 38 of 41
CNT - C 10 - Control total Function : To provide control total. Segment number : 93 C270 CONTROL M M 6069 Control qualifier M an..3 M * 1 = Total value of the quantity segments at line level in a message 6066 Control value M n..18 M This segment is used to provide message control totals. This segment is mandatory. CNT+1:4' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 39 of 41
UNT - M 1 - MESSAGE TRAILER Function : To end and check the completeness of a message. Segment number : 94 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. This segment is a mandatory UN/ segment. It must always be the last segment in the message. This segment is mandatory. UNT+48+ME000001' December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 40 of 41
3. Annex 1 : Other qualifiers The qualifers listed below are suggested to be used in segments occuring in the message. The use of them requires bilateral agreement between the exchange partners. Segment DTM 3 DE 2005: Date/time/period Other recommended qualifiers: 10 = Shipment date/time, requested 11 = Despatch date and or time 15 = Promotion start date/time - Note 1 37 = Ship not before date/time 38 = Ship not later than date/time 61 = Cancel if not delivered by this date 63 = Delivery date/time, latest 64 = Delivery date/time, earliest 69 = Delivery date/time, promised for 77 = Requested for delivery week commencing (GS1 (former ) Code) 200 = Pick-up/collection date/time of cargo 263 = Invoicing period 282 = Confirmation date lead time 43E = Cancel if not shipped/despatched by this date (GS1 (former ) Code) Note 1: Code value 15 should only be used in this position in the message where no promotion reference exists or is not yet available SG 2 NAD 9 DE 3035: Party qualifier Other recommended qualifiers: OB = Ordered by DP = Delivery party SF = Ship from SG 25 IMD 41 DE 7009: Other recommended qualifiers: CU = Consumer unit (GS1 (former ) Code) DU = Despatch unit (GS1 (former ) Code) TU = Traded unit (GS1 (former ) Code) VQ = Variable quantity product (GS1 (former ) code) SG 25 QTY 43 DE 6411: Unit of measure Other recommended qualifiers: KGM = kilogram MTK = square metre LTR = litr PCE = piece PR = pair TNE = metric ton (1000kg) December 2012, Issue 6.4 All contents copyright Instytut Logistyki I Magazynowania Page 41 of 41