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