EDI Format

edi
Miles picture Miles · Mar 9, 2009 · Viewed 19.2k times · Source

I've read XML or CSV before, but I've never seen anything like EDI.

How do I read this file and get the data that I need? I see things like ~, REF, N1, N2, N4 but have no idea what any of this stuff means.

I've seen somethings about x12 but don't know if thats what I have or not, how can I tell?

-- update

Thanks guys for the quick responses. Does anyone know of a parser that I can use in .Net? In the long run, I'm going to be converting this EDI file to a CSV file...

Answer

S.Lott picture S.Lott · Mar 9, 2009

EDI messages are defined by the X12 standard.

If you look for X12 parsers, you can find helpful information.

For example, http://code.activestate.com/recipes/299485/