warningEN 16931syntax binding ruleUBL
A UBL invoice should not include the AdditionalDocumentReference ID schemeID unless the DocumentTypeCode equals '130'
The element 'AdditionalDocumentReference ID schemeID unless the DocumentTypeCode equals '130'' is present, but it carries no meaning in the EN 16931 semantic model, so a receiver is free to ignore or reject it.
Remove 'AdditionalDocumentReference ID schemeID unless the DocumentTypeCode equals '130'' from the document. Nothing in EN 16931 maps to it - it is almost always left over from a generic UBL template. Reported as a warning.
UBL — context /ubl:Invoice | /cn:CreditNote
not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode != '130' or not(cbc:DocumentTypeCode)]/cbc:ID/@schemeID)