Message

[UBL-DT-18]-Name attribute should not be present

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