A UBL invoice should not include the InvoiceLine PaymentPurposeCode
/ubl:Invoice | /cn:CreditNote
not((cac:InvoiceLine|cac:CreditNoteLine)/cbc:PaymentPurposeCode)