A UBL invoice should not include the InvoicePeriod DurationMeasure
/ubl:Invoice | /cn:CreditNote
not(cac:InvoicePeriod/cbc:DurationMeasure)