INVOIC
Invoice message
5. Segments Layout
 
Segment number:
3
-
C
1
-
 
Function:
 
To head, identify and specify a group of messages and/or packages, which may be used for internal routing and which may contain one or more message types and/or packages.

Dependency Notes:
1. D2(010,060,070) All or none

Notes:
2. This data element is only used if the following conditions apply:
i) the group contains messages only, and
ii) the messages are of a single message type.
3. S004, if S004 is not present in UNG, the date and time of preparation is the same as indicated for the interchange in S004 in UNB.
4. This data element will be deleted from the UNG segment in the next version of the standard. Therefore its use in UNG is not recommended.
5. The combination of the values carried in data elements S006, S007 and 0048 shall be used to identify uniquely the group within its interchange, for the purpose of acknowledgement.
 
EDIFACT
EAN
*
Description
0038
Message group identification
C
an..6
C
 
Identification of a message contained in the functional group, e.g. INVOIC.
S006
APPLICATION SENDER IDENTIFICATION
C
C
   
0040
Application sender identification
M
an..35
M
 
GLN (n13)
Identification code qualifier
C
an..4
R
*
=
GS1
S007
APPLICATION RECIPIENT IDENTIFICATION
C
C
   
0044
Application recipient identification
M
an..35
M
 
GLN (n13)
Identification code qualifier
C
an..4
R
*
=
GS1
S004
DATE AND TIME OF PREPARATION
C
C
   
0017
Date
M
n8
M
 
CCYYMMDD
0019
Time
M
n4
M
 
HHMM
0048
Group reference number
M
an..14
M
 
Unique reference identifying the functional group. Created by the interchange sender.
Controlling agency, coded
C
an..3
C
*
=
UN/CEFACT
S008
MESSAGE VERSION
C
C
   
Message version number
M
an..3
M
*
=
Draft version/UN/EDIFACT Directory
Message release number
M
an..3
M
*
The value of this data element depends on the message type.
=
Release 2001 - B
Association assigned code
C
an..6
R
 
The value of this data element depends on the message type.
0058
Application password
C
an..14
D
 
The use of this data element depends on agreements between the trading partners.
Segment Notes:
Within EANCOM® the use of the UNG..UNE segments should not be used for grouping of multiple message types in the same interchange as this is not considered good practice. However, they can be used by organisations to create their own identifiable application level envelopes, which can be addressed from the originating department to a department in the recipient's system, e.g. to group multiple issuers in one transmission file with invoices.
UNG+INVOIC+5412345678908:14+8798765432106:14+20020102:1000+471123+UN+D:01B:EAN010'
© Copyright GS1
Edition 2016