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