Message

[UBL-SR-44]-An Invoice may only have one unique PaymentID, but the PaymentID may be used for multiple PaymentMeans

Context
/ubl:Invoice | /cn:CreditNote
Test
count(//cbc:PaymentID[not(preceding::cbc:PaymentID/. = .)]) <= 1