Only one project reference is allowed on document level
ubl-creditnote:CreditNote
(count(cac:AdditionalDocumentReference[cbc:DocumentTypeCode='50']) <= 1)