[UBL-SR-46]-Payment means text shall occur maximum once
UBL-SR-46
/ubl:Invoice | /cn:CreditNote
(count(cac:PaymentMeans/cbc:PaymentMeansCode/@name) <=1)