nerdocs / pydifact

A python EDIFACT library.
MIT License
154 stars 45 forks source link

EDI files from SAGE COALA starting by DOC #75

Closed pulse-mind closed 3 weeks ago

pulse-mind commented 4 weeks ago

Hello,

I have some EDI files (.ped generated by SAGE COALA) that start by DOC, example :

DOC+01=serveur\grpx\dossiers\xxxxx+02=9215001+03=04/07/2024+04=FD2401+05=24+06=DGFiP+07=EDITDFC+08=32489+09=xxxxxxxxxxxxx+10=xxxxxxx+11=XXXXXX PATRIMOINE+12=xxxxxxxxxxx++14=FR1111111111+15=mickael+16=isrn+17=01/01/2023+18=31/12/2023+19=240315+++++24=103200+25=JDC+26=contact@example.com+27=++29=++++++35={55D57981-DA87-426D-911E-464844992C9C}'UNA:+,? 'UNB+UNOL:...

I get the error : An interchange must start with UNB or UNA and UNB

Is it possible to take care about this kind of file ?

pulse-mind commented 4 weeks ago

I will submit a PR