Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Data Services Repository

Data Services Repository

EDIFACT

EDIFACT

The EDIFACT data services implement the EDIFACT international electronic data interchange standard maintained by the United Nations.

EDIFACT message structure

An EDIFACT message contains segments and fields that are separated by a hierarchy of delimiters, such as in the following example:
UNA:+,? ' UNB+UNOA:2+BANESTO+TELEFONICA DE ESPAÑA S.A.+050321:1204+0030200503211' UNH+20050321120412+BANSTA:098:96A:UN' BGM+XZ8+20050321120412+9' DTM+137:20050321:102' RFF+ACW:20050321113331' DTM+171:20050321:102' LIN+1' SEQ+YF2+1' GIS+1' DTM+140:20050321:102' MOA+9:0,00' CNT+2:1' CNT+X27:1' AUT+INTERV49 107835' UNT+14+20050321120412' UNZ+1+0030200503211'

EDIFACT message in XML format

The EDIFACT parser data services can convert EDIFACT messages into XML format. The following example shows an EDIFACT message in XML format:
<interchange> <delimiters> <field_separator>+</field_separator> <segment_separator>'</segment_separator> <composite_separator>:</composite_separator> <escape_character>?</escape_character> </Delimiters> <UNA> <R01>:</R01> <R02>+</R02> <R03>,</R03> <R04>?</R04> <R05 /> <R06>'</R06> </UNA> <UNB> <R01> <R01>UNOA</R01> <R02>2</R02> </R01> <R02> <R01>BANESTO</R01> </R02>

0 COMMENTS

We’d like to hear from you!