Invoice message
5. Segments Layout
 
Segment number:
3
-
M
1
-
 
Function:
 
To head, identify and specify a message.

Notes:
1. Data element S009/0057 is retained for upward compatibility. The use of S016 and/or S017 is encouraged in preference.
2. The combination of the values carried in data elements 0062 and S009 shall be used to identify uniquely the message within its group (if used) or if not used, within its interchange, for the purpose of acknowledgement.
 
EDIFACT
EAN
*
Description
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
   
Message type
M
an..6
M
*
=
Invoice message
Message version number
M
an..3
M
*
=
Draft version/UN/EDIFACT Directory
Message release number
M
an..3
M
*
=
Release 2001 - B
Controlling agency, coded
M
an..3
M
*
=
UN/CEFACT
Association assigned code
C
an..6
R
*
=
GS1 version control number (GS1 Permanent Code)
Indicates that the message is the EANCOM version 011 of the UNSM Invoice.
0110
Code list directory version number
C
an..6
O
 
This data element can be used to identify the codelist agreed by the interchange partners, e.g. EAN001 = EANCOM 2002 S4 codelist released on 01.12.2002 by GS1.
0113
Message type sub-function identification
C
an..6
N
   
0068
Common access reference
C
an..35
N
   
S010
STATUS OF THE TRANSFER
C
N
   
0070
Sequence of transfers
M
n..2
     
First and last transfer
C
a1
     
S016
MESSAGE SUBSET IDENTIFICATION
C
N
   
0115
Message subset identification
M
an..14
     
0116
Message subset version number
C
an..3
     
0118
Message subset release number
C
an..3
     
Controlling agency, coded
C
an..3
     
S017
MESSAGE IMPLEMENTATION GUIDELINE IDENTIFICATION
C
N
   
0121
Message implementation guideline identification
M
an..14
     
0122
Message implementation guideline version number
C
an..3
     
0124
Message implementation guideline release number
C
an..3
     
Controlling agency, coded
C
an..3
     
S018
SCENARIO IDENTIFICATION
C
N
   
0127
Scenario identification
M
an..14
     
0128
Scenario version number
C
an..3
     
0130
Scenario release number
C
an..3
     
Controlling agency, coded
C
an..3
     
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 UNSM Invoice based on the D.01B directory under the control of the United Nations.

Example:
UNH+1+INVOIC:D:01B:UN:EAN011'
© Copyright GS1
Edition 2016