When there are more than one payment means code, they shall be equal
/ubl:Invoice | /cn:CreditNote
count(//cbc:PaymentMeansCode[not(preceding::cbc:PaymentMeansCode/. = .)]) <= 1