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