Despatch advice data AS EDIFACT FORMAT

1. DOCUMENT INFORMATION

Message TypeVersionDateSubsets
DESADV1.501.10.2015D.96A/D.01B

2. INTRODUCTION

The following is an overview of the structure of a transfer file.

Structure

Segment

Status

Function

    

UNA

C

Separator character

    
    

UNB

M

Head of interchange

     
   

UNH

M

Head of message 1

  

 

Message segments

  

UNT

M

End of message 1

  

UNH

M

Head of message 2

  

 

Message segments

  

UNT

M

End of message 2

     
   

UNZ

M

End of interchange

    

3. DESCRIPTION OF THE EDIFACT SERVICE SEGMENTS UNA, UNB, UNZ

All necessary elements in one segment are displayed. Not used elements not indicated. Codes and attributes in the column "content/comments" are displayed in black, bold and italic notation. At any segment there is an example below the description.

Note: The EDIFACT standard allows you to group several messages within one transfer file. However, this is currently not supported by beeline for the SLSRPT message.

UNAC1SERVICE STRING ADVICE
Function:Provides information about the control and delimiters used in the message
 Element  Status  Format  Description  Content/Notes 
UNA1Man1Component data element separator: - colon
UNA2Man1Data element separator+ - plus sign
UNA3Man1Decimal notation. - full stop
UNA4Man1Release indicator? - question mark
UNA5Man1Reserved for future usespace character
UNA6Man1Segment terminator' - apostrophe
 
Example:UNA:+.? '  
UNBM1INTERCHANGE HEADER

Function:

Serves to identify the transfer file

 Element  Status  Format  Description  Content/Notes 
S010M SYNTAX IDENTIFIER 
0001Ma4Syntax identifierUNOC
0002Mn1Syntax version number3
S002M INTERCHANGE SENDER 
0004Man..35Interchange sender identificationGLN of the sender
0007Can..4Identification code qualifier14 - GLN
0008Can..6Interchange sender internal identification 
S003M INTERCHANGE RECIPIENT 
0010Man..35Interchange recipient identificationGLN/ of the recipient
0007Can..4Identification code qualifier14 - GLN
0014Can..14Interchange recipient internal identification 
S004M DATE AND TIME OF PREPARATION 
0017Mn6Date070208 - YYMMDD
0019Mn4Time1511 - HHMM
0020Man..14Interchange Control Reference787878
S005C RECIPIENT REFERENCE/PASSWORD DETAILS 
0022Man..14Recipient reference/password 
0025Can2Recipient reference/password qualifier 
0026Can..14Application Reference 
0029Ca1Processing Priority Code 
0031Cn1Acknowledgement Request
1 - if a confirmation is requested
0032Can..35Interchange Agreement Identifier


EANCOM - EDIFACT

Subset EANCOM

0035Cn1Test Indicator

1 - if test
transmission file
otherwise empty

 

Example:UNB+UNOC:3+4016632000000:14+4334400000008:14+070208:1511+787878'  

UNZ

M

1

End of the transfer file

Funktion:

Indicates the end of the transfer file

 Element  Status  Format  DescriptionContent/Notes

0074

M

n..6

Number of messages in the
transmission file

 

0062

M

an..14

Unique reference number of the
Sender of the transfer file

787878

 
Example:UNZ+1+787878'  

4. DESADV - SEGMENT DESCRIPTION

UNHM1MESSAGE HEADER

Function:

Service segment marks the beginning of a message.

Element  Status  Format  Description  Content/Notes 
0062Man..14Message reference number123456
S009M MESSAGE IDENTIFIER 
0065Man..6Message typeDESADV
0052Man..3Message version numberD
0054Man..3Message release number96A (D.96A)
01B (D.01B)
0051Man..2Controlling agency, codedUN
0057Can..6Association assigned codeEAN004 (D.96A)
EAN007 (D.01B)

0068

Can..35


Answer type, coded

 

S010

C 


Answer type, coded

 
0070Mn..2Sequence of transfers 
0073Ca1First and last transfer 
 
Example D.96A:UNH+123456+DESADV:D:96A:UN:EAN004'  
Example D.01B:UNH+654321+DESADV:D:01B:UN:EAN007'  
BGMM1

Beginning of the message

Function:

Contains information about the function of this message type.

 Element  Status  Format  Description Content/Notes 
C002C 

DOCUMENT / MESSAGE NUMBER

 

1001

C

an..3

Document / title name, coded

73E - Sales report

1131Can..3


Codelist, qualifier

 
3055Can..3

Responsible body for code maintenance

9 - GTIN
1000Can..35

Document / message name

 
1004Can..35

Document / message number

Identification Number

z.B. 654321

1225

C

an..3

Message function, coded

9 - original

4343

C

an..3

Answer type, coded

 
 
Beispiel:BGM+73E::9+654321+9'  

DTM

M

35

DATE/TIME/PERIOD

Function:

To specify date, and/or time, or period.

 Element 

 Status 

 Format 

 Description 

 Content/Notes 

C507

M

 

DATE/TIME/PERIOD

 

2005

M

an..3

Date/time/period qualifier

11- Send date

137 - Document/message
date/time
194 - Start date/time
206 - End date/time

2380

C

an..35

Date/time/period

20061229

2379

C

an..3

Date/time/period format qualifier

102 - CCYYMMDD

 

Example:

DTM+11:20061229:102'

Send date of the message

Example:

DTM+137:20061229:102'

Issue date of the message

Example:

DTM+194:20061229:102'

Start date of validity for all products

Example:

DTM+206:20991231:102'

End date of validity for all products

 

RFF

M

 

Reference

Function:

Contains information on the delivery note

 Element 

 Status 

 Format 

 Description 

 Content/Notes 

1153

M

an..3

Typ

ON - order number

DQ - delivery receipt number

VN - order number of supplier

SRN - delivery reference number

YC1 - Additional partner ID

1154

m

n..8

Number corresponding to the type

 

Example

RFF+ON:11111111'

Example

RFF+DQ:11111111'

Example

RFF+VN:762212'

Example

RFF+SRN:12458'

Example

RFF+YC1:111111'

MOA3M Price

Function:

Contains information about the price

 Element  Status  Format  DescriptionContent/Notes
5025Man..3Kind146 = Article Price
5004man..6The price of the article 
SG1 (D.96A)
SG2 (D.01B)

M

5

NAD

 
NADM1Name and address
Function:Contains information (GLN) about the supplier and buyer.
 Element  Status  Format  Description  Content/Notes
3035Man..3Participant, qualifier

BY - buyer

DP - delivery address

MF - manufactorer

SU - supplier

UC - customer

3039Can..35IdentifierGLN
1131C  Empty
3036Can..35AddressName
3042Can..35AddressStreet
3164Can..35AddressCity
3251Can..35AddressPostcode
3207Can..9AddressCountry
3055Can..3 9 - GS1
 
Example:NAD+BY+1234567890123::9'  
Example:NAD+SU+4016632000000::9'  
Example:NAD+DP+1234567890123::9'  
Example:NAD+MF+1234567890123::9'  
Example:NAD+UC+4016632000000::9'  
Note:The NAD segment is a must for buyers and suppliers!
CPSM  
Function: 
 Element  Status  Format  DescriptionCintent/Notes
7164M Continuous numbering per packagealways1
PACM  
Function: 
 Element  Status  Format  DescriptionContent/Notes
7224M Totaling the total number of articles in one carton / per package 
7075   empty
7233  Coding of the packaging 
7065  unitCT - Carton
1131   empty
3055   9 - GS1
MEAM  
Function: 
 Element  Status  Format  DescriptionContent/Notes
6311   PD - physical size of the ordered product
6313  Weight art

AAA - net weight

AAB - gross weight

6411  weight unitKGM - kilogram
6314  mass 
PCIM  
Function: 
 Element  Status  Format  DescriptionContent/Notes
4233M Package identity number

33E

30

34

42G

GINM  
Function: 
 Element  Status  Format  DescriptionContent/Notes
7405M  

BJ -

CU -

IAG -

7402   

NVE

tracking number

SG7 (D.96A)
SG8 (D.01B)

C

200000

LIN-PRI-SG8 (D.96A)
LIN-SG9-SG10 (D.01B)
 
LINM1position data
Function:Contains information about the article. 
 Element  Status  Format  DescriptionContent/Notes
1082Cn..6Line item numberConsecutive number
7140Can..35Item / Service NumberGTIN z.B. 4043977029571
7143Can..3Product / service number type, codedEN (D.96A)
SRV (D.01B)
International Article
Numbering Association (GTIN)
1131Can..3Codelist, Qualifier 
3055Can..3Responsible body for code maintenance, coded9 - GTIN
 

Beispiel D.96A:

LIN+1++4043977029571:EN::9'  

Beispiel D.01B:

LIN+1++4043977029571:SRV::9'  

PIAM  
Function: 
 Element  Status  Format  Description Content/Notes
4347M  5 - Product Information
7140   item number
7143   SA - Article number of the supplier
1131  emptyempty
3055   91 - awarded by the supplier
IMDM  
Function: 
 Element  Status  Format  DescriptionExample
7077M  F - free text
7081   empty
7008   Article text
7008   empty
3453  LanguageDE - German
SG8 (D.96A)
SG10 (D.01B)

C

999

QTY

 
QTYM1Menge
Function:Contains information about the number of articles.
 Element  Status  Format  Description Content/Notes
6063  kind

12 - delivered / shipped quantity

45E

6060  amount 
6411  unitPCE - piece
 
Example:QTY+12:3:PCE'  
Note:The number is a mandatory!
CNTM  
Function: 
 Element  Status  Format  DescriptionContent/Notes
6069M  

1 - sum of QTY values

2 - Number of position lines in the message

6066   Number of LIN segments
UNTM1End of message
Function:Indicates the end of the message. 
 Element  Status  Format  Description Content/Notes
0074Mn..6Number of segments in the message 
0062Man..14Message reference123456
 
Example:UNT+12+123456'  

 

Here you can find EDIFACT example messages and test barcodes for download:



Testbarcodes (matching sample messages)

5. LEGEND TO THE EDIFACT TABLES:

 

Element

Definition

Example

Format

  

n

numeric

n3 = exact 3 numeric positions
n...35 = up to 35 numeric positions

an

alphanumeric

an12 = exactly 12 alphanumeric positions
an...35 = up to 35 alphanumeric positions

Status

  

M

must

 

O

optional