Closed SLennartsson closed 5 years ago
What is the suggestion to correct this issue then?
Either test AllowanceCharge/ChargeIndicator generally: If value is other than ’true’ or ‘false’ then generate error signal “Only values from value set (’true’ or’ false’) is recognised for element
Or test specifically for Price/AllowanceCharge/ChargeIndicator: If value is other than ‘false’ then generate error signal “Only value ‘false’ is valid for element
This Rule is from PEPPOL, not from the EN 16931, should be corrected by the PEPPOL PoACC team.
Due to a previous remark on alternatives for ChargeIndicator – true/false and 1/0 respectively – a change was made in favour of true/false to be the only option. This may be fine, but I have one consequential observation in case the value of ChargeIndicator is mis-spelled.
Excerpt from a UBL message - example 1: