Message

[UBL-SR-05]-Payment terms shall occur maximum once

Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:PaymentTerms/cbc:Note) <= 1)