Message

Payment terms shall occur maximum once

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