Article master data as EDIFACT format

1. Document information

Message typeVersionDateSubsets
PRICAT1.203.08.2016D.96A/D.01B

2. Structure of an EDIFACT interchange

As follows you’ll get an overview of the structure of an EDIFACT interchange format.

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 service-segments will be specified as follows. All necessary elements in one segment are displayed. Not used elements are 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: EDIFACT allows to group multiple messages within an interchange but this not supported by beeline at the time.

UNAC1SERVICE STRING ADVICE
Function:To define the characters selected for use as delimiters and indicators in the rest of the interchange that follows.
 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:To start, identify and specify an interchange.
 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

 

Example:UNB+UNOC:3+4016632000000:14+4334400000008:14+070208:1511+787878'  
UNZM1INTERCHANGE TRAILER
Function:To end and check the completeness of an interchange.
 Element  Status  Format  Description  Content/Notes 
0036Mn..6Interchange Control CountThe count of the number
of messages in the
interchange.
0020Man..14Interchange Control ReferenceShall be identical to 0020
in UNB
 
Example:UNZ+1+787878'  

4. PRICAT - Segment description

All segments will be specified as follows. All necessary elements in one segment are displayed in black. Codes and attributes in the column "content/comments" are displayed in black, bold and italic notation. Not used elements are marked in grey. At any segment there is an example below the description.

Please note: All color names are given in English by default!
 

UNHM1MESSAGE HEADER
Function:To head, identify and specify a message.
 Element  Status  Format  Description  Content/Notes 
0062Man..14Message reference number123456
S009M MESSAGE IDENTIFIER 
0065Man..6Message typePRICAT
0052Man..3Message version numberD
0054Man..3Message release number96A (D.96A)
01B (D.01B)
0051Man..2Controlling agency, codedUN
0057Can..6Association assigned codeEAN006 (D.96A)
EAN009 (D.01B)
 
Example D.96A:
UNH+123456+PRICAT:D:96A:UN:EAN006'  
Example: D.01B
UNH+123456+PRICAT:D:01B:UN:EAN009'  
BGMM1BEGINNING OF MESSAGE
Function:To indicate the type and function of a message and to transmit the identifying number.
 Element  Status  Format  Description  Content/Notes 
C002C DOCUMENT/MESSAGE NAME 
1001Can..3Document/message name, coded- Price/sales catalogue
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
1000Can..35Document/message name 
1004Can..35Document/message numberIdentifier
1225Can..3Message function, coded- Original
4343Can..3Response type, coded 
 
Example:BGM+9+123456+9'  
DTMM35DATE/TIME/PERIOD
Function:To specify date, and/or time, or period.
 Element  Status  Format  Description  Content/Notes 
C507M DATE/TIME/PERIOD 
2005Man..3Date/time/period qualifier137 - Document/message
date/time
194 - Start date/time
206 - End date/time
2380Can..35Date/time/period20061229
2379Can..3Date/time/period format qualifier102 - CCYYMMDD
 
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
SG2C99NAD
 
NADM1NAME AND ADDRESS
Function:To specify the name/address and their related function, either by CO82 only and/or unstructured by CO58 or structured by CO80 thru 3207.
 Element  Status  Format  Description  Content/Notes 
3035Man..3Party qualifierSU - Supplier
BY - Buyer
C082C PARTY IDENTIFICATION DETAILS 
3039Man..35Party id. identificationGLN (z.B. 4016632000000)
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded9 - GTIN
 
Example:NAD+SU+4016632000000::9'  GLN of supplier
Example:NAD+BY+1234567890123::9'  GLN of buyer
SG5C5TAX
 
TAXM1DUTY/TAX/FEE DETAILS
Function:To specify relevant duty/tax/fee information.
 Element  Status  Format  Description  Content/Notes 
5283Man..3Duty/tax/fee function qualifier7 - Tax
C241C DUTY/TAX/FEE TYPE 
5153Can..3Duty/tax/fee type, codedVAT - Value added tax
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
5152Can..35Duty/tax/fee type 
C533C DUTY/TAX/FEE ACCOUNT DETAIL 
5289Man..6Duty/tax/fee account identification 
C243C DUTY/TAX/FEE DETAIL 
5305Can..3Duty/tax/fee category, codedS - Standard rate
 
Example:TAX+7+VAT+++:::19+S'    VAT of gross selling price
SG6C5CUX
Function:To specify currencies used in the transaction and relevant details for the rate of exchange.
 
CUXM1CURRENCIES
 Element  Status  Format  Description  Content/Notes 
C504C CURRENCY DETAILS 
6347Man..3Currency details qualifier2 - Reference currency
6345Can..3Currency, codedISO 4217 3-Alpha-Code (e.g. EUR)
6343Can..3Currency qualifier8 - Price list currency
 
Example:CUX+2:EUR:8'  
SG16 (D.96A)
SG17 (D.01B)
C1000
PGI-SG33 (D.96A)

PGI-SG36 (D.01B)
 
PGIM1PRODUCT GROUP INFORMATION
Function:To indicate the group in which a product belongs.
 Element  Status  Format  Description  Content/Notes 
5379Man..3Product group type, coded- catalogue
 
Example:PGI+3'  
SG33 (D.96A)
SG36 (D.01B)
C999999
LIN-PIA-IMD-QTY-SG37 (D.96A)

LIN-PIA-IMD-QTY-SG40 (D.01B)
 
LINM1LINE ITEM
Function:To identify a line item and configuration.
 Element  Status  Format  Description  Content/Notes 
1082Cn..6Line item numberconsecutive number
1229Can..3Action request/notification, coded1 - added
2 - deleted
3 - changed
C212C ITEM NUMBER IDENTIFICATION 
7140Can..35Item numberGTIN-13, z.B. 4043977029571
7143Can..3Item number type, codedEN (D.96A)
SRV (D.01B)
- International Article
Numbering Association
(GTIN)
3055Can..3Code list responsible agency, coded9 - GTIN
 
Example D.96A:
LIN+1+1+4043977029571:EN::9'  
Example: D.01B
LIN+1+1+4043977029571:SRV::9'  
SG33 (D.96A)
SG36 (D.01B)
C999999
LIN-PIA-IMD-QTY-SG37 (D.96A)

LIN-PIA-IMD-QTY-SG40 (D.01B)
 
PIAC99ADDITIONAL PRODUCT ID
Function:To specify additional or substitutional item identification codes.
 Element  Status  Format  Description  Content/Notes 
4347Man..3Product id. function qualifier1 - additional identification
C212M ITEM NUMBER IDENTIFICATION 
7140Can..35Item number

Article number = GTIN
Assortment of product e.g. 2

7143Can..3Item number type, codedSA - Supplier's article number
GU - Assortment of product
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
C212C ITEM NUMBER IDENTIFICATION 
7140Can..35Item number 
7143Can..3Item number type, coded 
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
C212C ITEM NUMBER IDENTIFICATION 
7140Can..35Item number 
7143Can..3Item number type, coded 
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
C212C ITEM NUMBER IDENTIFICATION 
7140Can..35Item number 
7143Can..3Item number type, coded 
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
C212C ITEM NUMBER IDENTIFICATION 
7140Can..35Item number 
7143Can..3Item number type, coded 
1131Can..3Code list qualifier 
3055Can..3Code list responsible agency, coded 
 
Example:PIA+1+62-957:SA'        Article number
Example:PIA+1+2:GU'             Assortment
SG33 (D.96A)
SG36 (D.01B)
C999999LIN-PIA-IMD-QTY-SG37 (D.96A)
LIN-PIA-IMD-QTY-SG40 (D.01B)
 
IMDC999ITEM DESCRIPTION
Function:To describe an item in either an industry or free format.
 Element  Status  Format  Description  Content/Notes 
7077Can..3Item description type, coded- Code (D.96A/D.01B)
E - free form short description (D.96A/D.01B)
F - free form (D.96A/D.01B)
A - free form long description (D.01B)
7081Can..3Item characteristic, coded

ANM - Description of
arctile
BRN - Brand
35 - Color
77 - Brand Code
98 - Size

C273C ITEM DESCRIPTION 
7008Can..35Item descriptionDescription of article or 
color or size or brand:
SIX - SIX
ACC - Accessories/WhiteLabel
IAM - I am
3453Can..3Language, coded2-Alpha-Code: ISO 639-1988
 
Example (D.96A/D.01B):IMD+F+ANM+:::fashion earr.::de'                           Description of article
Example (D.01B):IMD+A+ANM+:::fashion earrings::de'                                              Long description of article
Example: (D.96A/D.01B)IMD+F+BRN+:::SIX'                                                                              Brand
Example: (D.96A/D.01B)IMD+F+35+:::00000000'                                                                       Dummy color
Example (D.96A/D.01B):IMD+F+98+:::00000000'                                                                       Dummy size
SG33 (D.96A)
SG36 (D.01B)
C999999
LIN-PIA-IMD-QTY-SG37 (D.96A)

LIN-PIA-IMD-QTY-SG40 (D.01B)
 
QTYC10QUANTITY
Function:To specify a pertinent quantity.
 Element  Status  Format  Description  Content/Notes 
C186M QUANTITY DETAILS 
6063Man..3Quantity qualifier52 - Quantity per pack
6060Mn..15Quantity1 - one articles per pack
 
Example:QTY+52:1'          Quantity
SG37 (D.96A)
SG40 (D.01B)
C100PRI
 
PRIM1PRICE DETAILS
Function:To specify price information.
 Element  Status  Format  Description  Content/Notes 
C509C PRICE INFORMATION 
5125Man..3Price qualifierAAE - Retail price
AAF - Cost price
excluding allowances or
charges and taxes
5118Cn..15PricePrice, e.g.: 7.95
5387Can..3Price type qualifierNTP - Net unit price (D.96A/D.01B)
SRP - Suggested retail price (D.96A)
RTP - Retail price (D.01B)
 
Example D.96A:PRI+AAE:7.95::SRP'        Gross selling price including tax
Example D.96A/D.01B:PRI+AAA:4.14::NTP'        Net unit price, excl. taxes, incl. allowances or charges
Example D.96A/D.01B:PRI+AAA:8.95::RTP'        Retail price including tax
UNTM1MESSAGE TRAILER
Function:To end and check the completeness of a message.
 Element  Status  Format  Description  Content/Notes 
0074Mn..6Number of segments 
0062Man..14Message reference number123456
 
Example:UNT+17+123456'  

 

Here you can download sample price catalogues in EDIFACT format: 

EDIFACT D96A price catalogue Brand SIX
EDIFACT D96A price catalogue Brand ACC
EDIFACT D96A price catalogue Brand I AM
EDIFACT D96A price catalogue Brand TOSH

EDIFACT D01B price catalogue Brand SIX
EDIFACT D01B price catalogue Brand ACC
EDIFACT D01B price catalogue Brand I AM
EDIFACT D01B price catalogue Brand TOSH

Test Barcodes (matching sample messages)

5. Legend to the EDIFACT tables:

ElementDefinitionExample
Format  
nnumericn3 = exact 3 numeric positions
n...35 = up to 35 numeric positions
analphanumerican12 = exakt 12 alphanumeric positions
an...35 = bis zu 35 alphanumeric positions
Status  
Mmust 
Ooptional