-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
First thanks for this library, it really help me for my actual work.
I'm not 100% sure of my subject here and I don't have access to the ISO-TS 20625-200 norm, so I let you evaluate my remark.
I generated an XML file from an INVOICE 01B and according to me, there is some non-necessary elements.
I'll take the NAD for example.
In my input file:
NAD+SU+1234567890123::9'
With your library:
<S_NAD>
<D_3035>BY</D_3035>
<C_C082>
<D_3039>5400110000030</D_3039>
<D_1131 />
<D_3055>9</D_3055>
</C_C082>
</S_NAD>
According to the EDIFACT norm, the data element D_1131 isn't mandatory but conditional (https://www.truugo.com/edifact/d01b/invoic/)
So according to me, the tag should not be present.
There is a lot of similar cases and if I try to validate your generated file with XSD I found, I've got issues because according to that XSD, this is not a mandatory element.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels