Message

A UBL invoice should not include the InvoiceLine PaymentTerms

Context
/ubl:Invoice | /cn:CreditNote
Test
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:PaymentTerms)