warningEN 16931syntax binding ruleUBL
A UBL invoice shall not include the AdditionalDocumentReference DocumentTypeCode listID
The additional document reference's DocumentTypeCode carries a listID.
Remove the listID attribute. The permitted values (50, 130) are fixed by EN 16931 itself.
UBL — context /ubl:Invoice | /cn:CreditNote
not(cac:AdditionalDocumentReference/cbc:DocumentTypeCode/@listID)