Open melo0187 opened 1 week ago
I believe I just fixed that in #532, could you check with the current master? (and yes, that originates in your original proposal :-))
@jstaerk that is great news!
I can confirm that it was working with master (specifically e8a1997) by adding a test. The test failed with tagged version 2.14.2 and passed if based on e8a1997. (However, HEAD on master is now at d8ba834, which has compile errors)
Can you share an estimation when a new mustang version will ship with this fix?
Thank you in advance for your support!
I have a CII invoice (Profile: EN16931 XRechnung (CII)) that passed Kosit validation, but fails Mustang validation.
The root cause is that Mustang treats the failure to comply with Peppol rules as error, while the severity for these rules is downgraded to warning in the CII Syntax. I base this on what the XRechnung specification says:
So I believe it would be wrong to reject such invoice based on Mustang failing to validate it.
Mustang should treat Peppol rule violations in CII XRechnung compliant invoices as warning, as Kosit validator does.
Example Invoice: