Message

[UBL-SR-44]-Payment ID shall occur maximum once

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