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