Message

Name attribute should not be present

Context
/ubl:Invoice | /cn:CreditNote
Test
count(//@name) - count(//cbc:PaymentMeansCode/@name) <= 0