A UBL invoice should not include the BillingReference DocumentTypeCode
/ubl:Invoice | /cn:CreditNote
not(cac:BillingReference/cac:InvoiceDocumentReference/cbc:DocumentTypeCode)