United Nations/Electronic Data Interchange For Administration, Commerce and Transport (UN/EDIFACT) is the international EDI standard developed under the United Nations. The work of maintenance and further development of this standard is done through the United Nations Centre for Trade Facilitation and Electronic Business (UN/CEFACT) under the UN Economic Commission for Europe, in the Finance Domain working group UN CEFACT TBG5.
Questions tagged [edifact]
118 questions
24
votes
5 answers
How do I parse EDIFACT in Java?
Parsing EDIFACT can be a daunting undertaking. How can I correctly create the syntactically and semantically correct tree from an EDIFACT file?

Johannes Brodwall
- 7,673
- 5
- 34
- 28
8
votes
4 answers
Is there a really simple way to process EDIFACT for example D96A?
We are a modern company using modern technology like XML interfaces, but many of our customers want for example electronic invoices from us in an EDIFACT format like D96A.
No we cannot use already existing libraries, as they are not written in the…

user1315373
- 147
- 1
- 2
- 7
8
votes
5 answers
.NET EDIFACT/X12 Framework
We need to process some EDI messages for a client and i was wondering if any of you could recommend some components (not necessarily free) that could do the task.
I'm interested in a framework that can parse EDI messages into .NET structures and…

Adrian Zanescu
- 7,907
- 6
- 35
- 53
5
votes
1 answer
release character in edifact message
I'm new to reading EDI FACT messages. Just got stuck in understanding of release character(?).
From google got this definition
This is a single character, which overrides the meaning of the next character, allowing a separator character to appear…

kelly
- 243
- 3
- 12
4
votes
1 answer
Does anyone have a sample file in X12 or EDIFACT that contains binary data?
I'm looking for at least one sample file each in EDIFACT and X12 that show
binary enclosures.
The EDIFACT one should include the data wrapped in UNO/UNP segments, and the X12 one needs to use one of the binary segments BIN or BDS.
Thanks for any…

lavinio
- 23,931
- 5
- 55
- 71
4
votes
1 answer
BizTalk AS2EDI track EDI message
We are using an AS2 connection both for receiving and sending EDI messages. We configured the communication to be encrypted/compressed and signed.
Is it possible to track the EDI messages
on receive - after decryption and compression on…

Corovei Andrei
- 1,646
- 6
- 28
- 42
4
votes
4 answers
EDI Parser in .NET
Has anyone created a .NET application that reads and parses an EDI file?
EDI file - used by shipping industries to provide information on shipment invoice.

Batuta
- 1,684
- 17
- 48
- 62
4
votes
1 answer
What algorithm to use to format an EDIFACT file?
I work with EDIFACT messages and have developed lots of tools to help me parse and extract the relevant information out of the raw file format.
Something I have always struggled with is presenting the raw EDIFACT. I typically just copy the message…

Ian
- 137
- 1
- 11
3
votes
2 answers
EDIFACT grammar, parsers and libraries (Java)
I am wondering if we can define EDIFACT grammar in ANTLR/xText and then generate parser.
If so, are these grammars defined already that we can leverage (open source preferably)?
Are there any open source libraries that can read and write EDIFACT…

Aravind Yarram
- 78,777
- 46
- 231
- 327
3
votes
1 answer
Problems with smooks
I am currently evaluating smooks (www.smooks.org). It looks just like what we need but I am having problems getting a simple example to work.
I've got an ant script which downloads me all the dependencies including the mapping and binding jars for…

Ben
- 1,922
- 3
- 23
- 37
3
votes
2 answers
X-Path 2.0 in XSD (assert): "count(//elem/text() = 'test') > 0" always true, even if string does not match
I want to use the XSD1.1 assert feature to validate Elements on content level.
(To be more precise, I want to check the existence of content-combinations in EDIFACT represented in XML, but that's not the main point...)
To test my XPaths I have…

eee
- 45
- 6
3
votes
2 answers
How can I use regex to match a character (') when not following a specific character (?)?
How can I write a regex pattern to split a string by a specific delimiter as long as it's not preceded by a question mark?
I've written a parser that splits an EDIFACT message into segments, composites and elements. But in the EDI standard the…

reckface
- 5,678
- 4
- 36
- 62
2
votes
0 answers
Using Mapping Model to convert Smooks generated XML to EDI
I'm using smooks 1.7.1 with mapping model d06a-mapping-1.4 to generate Smooks XML but after that I I would like to revert that operation. Is there any way to use the same mapping model to get Edifact as in input before?
Translating way EDI -->…

Jedrula
- 21
- 1
2
votes
1 answer
matching numbers after nth occurence of a certain symbol in a line
I'm not sure if using regex is the correct way to go about this here, but I wanted to try solving this with regex first (if it's possible)
I have an edifact file, where the data (in bold) in certain fields in some segments need to be substituted…

skdadle
- 155
- 1
- 2
- 17
2
votes
3 answers
.NET sending email attachment with custom Mime type
I need to create an email message with an attachment. The attachment contains a EDIFACT message.I need to define a custom Mime type for this attachment or something. I need to define a Mime Type application/x-EDIORDER. The .net provided mime types…

Shift
- 642
- 2
- 9
- 25