EDI is a bitch. X12 is not great. IIRC, and it's been a while, so I may not, it's essentially a positional Character Separated Value stream. You basically build a string and fill in data or nothing as appropriate. For example the result looks something like
*START*VALUE1*10.00*BOB*DOLE*100*ADDRESS*STREET*
Where the double asterisk is where a blank value is.
However, it is a standard. It is knowable. You can get the ANSI X12 standard for whatever industry you're in and implement this.
And let's be clear, you still have to do the dirty work with these guys. You still have to map values to fields, which is the hard part of working with the format. Once you have that, you can knock this together fairly simply.
*START*VALUE1*10.00*BOB*DOLE*100*ADDRESS*STREET*
Where the double asterisk is where a blank value is.
However, it is a standard. It is knowable. You can get the ANSI X12 standard for whatever industry you're in and implement this.
And let's be clear, you still have to do the dirty work with these guys. You still have to map values to fields, which is the hard part of working with the format. Once you have that, you can knock this together fairly simply.