Validation message

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

UBL

Context

1

/ubl:Invoice | /cn:CreditNote

Rule

1

count(//cbc:PaymentID[not(preceding::cbc:PaymentID/. = .)]) <= 1

Used in business terms