CUSDEC
 
Start
Structure
Branching Diagram
Segments
 
Go back
Previous
 
Segment:
  
 
No:
Status:
M
Level:
MaxOcc:
0
1
Counter:
0000
INTERCHANGE HEADER
 
Standard
Implementation
Tag
Name
St
Format
St
Format
Usage / Remarks
UNB
         
S001
SYNTAX IDENTIFIER
M
M
   
0001
Syntax identifier
M
a4
M
a..4
UNOB
UN/ECE level B
0002
Syntax version number
M
n1
M
an..1
4
S002
INTERCHANGE SENDER
M
M
   
0004
Interchange sender identification
M
an..35
M
an..35
SARS assigned EDI Profile Code including dual code (if applicable)
0007
Identification code qualifier
C
an..4
C
an..4
 
0008
Interchange sender internal identification
C
an..35
C
an..16
Authentication code provided by SARS for EDI profile
0042
Interchange sender internal sub-identification
C
an..35
M
an..6
SARS assigned Service Provider Code (Char 1-3)
Comms Protocol Code (Char 4-6)
AS2
AS/2
AS3
AS/3
S003
INTERCHANGE RECIPIENT
M
M
   
0010
Interchange recipient identification
M
an..35
M
an..35
SARSDEC
Production System
SARSDECT
Test System
0007
Identification code qualifier
C
an..4
N
an..4
Not used
0014
Interchange recipient internal identification
C
an..35
N
an..35
Not used
0046
Interchange recipient internal sub-identification
C
an..35
N
an..35
Not used
S004
DATE/TIME OF PREPARATION
M
M
   
0017
Date
M
n8
M
n..8
Date
Date format CCYYMMDD
0019
Time
M
n4
M
n..4
Time
Time format HHMM
0020
Interchange control reference
M
an..14
M
an..14
 
S005
RECIPIENT'S REFERENCE PASSWORD
C
C
   
0022
Recipient's reference/password
M
an..14
M
an..14
 
0025
Recipient's reference/password qualifier
C
an2
N
an2
Not used
0026
Application reference
C
an..14
C
an..14
 
0029
Processing priority code
C
a1
C
a..1
 
0031
Acknowledgement request
C
n1
C
n..1
 
0032
Interchange agreement identifier
C
an..35
C
an..35
 
0035
Test indicator
C
n1
C
n..1
1
Interchange is a test
Omit if Production
Remark:
  
Example:
UNB+UNOB:4+12345678ABC::ABCDEFGHIJKLMNOP:SPCAS2+SARSDEC+20190501:1327+1234567890++CUSDEC++1++1'
 
 
Top
Previous
Next/Continue
No = Consecutive segment number
MaxOcc = Maximum occurrence of the segment/group
Counter = Counter of segment/group within the standard
St = Status
EDIFACT: M=Mandatory, C=Conditional
User specific: R=Required, O=Optional, D=Dependent, A=Advised, N=Not used
CUSDEC; 30; 2
Issue date:  
2024/09/06
Print date: 
2024/09/09