INVOIC
Invoice message
5. Segments Layout
 
Segment number:
4
-
O
1
-
 
Function:
 
To head, identify and specify an object.

Notes:
1. The value in 0800 shall be unique within the interchange (except for a duplicate transfer).
2. One mandatory occurrence of S020 shall identify the Object Identification Number.
3. One occurrence of S021 is mandatory and shall be used for file format identification.
4. Data elements S302, S301, S300 and 0035 are for interactive EDI use only:
- The value(s) in S302 shall be identical to the value(s) in S302 in the preceding UIB.
- 0035, when used, test applies to the message or package only.
 
EDIFACT
EAN
*
Description
0800
Package reference number
M
an..35
M
 
Unique package reference number assigned by the sender
S020
REFERENCE IDENTIFICATION
M
M
   
Reference qualifier
M
an..3
M
 
=
Object identification number
0802
Reference identification number
M
an..35
M
 
Reference number to identify a group which relates to the object.
S021
OBJECT TYPE IDENTIFICATION
M
M
   
Object type qualifier
M
an..3
M
 
=
Filter type
Object type attribute identification
C
an..256
C
 
=
UN/EDIFACT EDA filter (GS1 Permanent Code)
=
UN/EDIFACT EDC filter (GS1 Permanent Code)
=
Hexadecimal filter (GS1 Permanent Code)
0808
Object type attribute
C
an..256
N
   
Controlling agency, coded
C
an..3
N
   
S022
STATUS OF THE OBJECT
M
M
   
0810
Length of object in octets of bits
M
n..18
M
 
62
=
0814
Number of segments before object
C
n..3
C
 
PCKS7
=
0070
Sequence of transfers
C
n..2
N
   
First and last transfer
C
a1
N
   
S302
DIALOGUE REFERENCE
C
C
   
0300
Initiator control reference
M
an..35
M
 
Length of the object attached in bytes
0303
Initiator reference identification
C
an..35
N
   
Controlling agency, coded
C
an..3
N
   
0304
Responder control reference
C
an..35
N
   
S301
STATUS OF TRANSFER - INTERACTIVE
C
N
   
0320
Sender sequence number
C
n..6
     
0323
Transfer position, coded
C
a1
     
0325
Duplicate Indicator
C
a1
     
S300
DATE AND/OR TIME OF INITIATION
C
N
   
0338
Event date
C
n..8
     
0314
Event time
C
an..15
     
0336
Time offset
C
n4
     
Test indicator
C
n1
N
   
Segment Notes:
The digital certificate will be attached using PKCS#7 format because it allows including more than one digital certificate (User Certificate and the Certification Chain).  This file will be filtered using EDC or Hexadecimal filter.
Once the file is filtered, the total number of bytes of the object to be attached will be obtained and detailed in DE0810.
UNO+OB000001+1:CER123+46:EDC*62:PKCS7+1238'

Function:
To head, identify and specify an object.

Notes:
1. The value in 0800 shall be unique within the interchange (except for a duplicate transfer).
2. One mandatory occurrence of S020 shall identify the Object Identification Number.
3. One occurrence of S021 is mandatory and shall be used for file format identification.
4. Data elements S302, S301, S300 and 0035 are for interactive EDI use only:
- The value(s) in S302 shall be identical to the value(s) in S302 in the preceding UIB.
- 0035, when used, test applies to the message or package only.
© Copyright GS1
Edition 2016