warningEN 16931syntax binding ruleUBL
A UBL credit note should not include the CreditNoteTypeCode listID
The credit note type code carries a listID.
Remove listID from cbc:CreditNoteTypeCode — the code list is fixed by the standard.
UBL — context /ubl:Invoice | /cn:CreditNote
not(cbc:CreditNoteTypeCode/@listID)