[UBL-CR-522]-A UBL invoice should not include the InvoiceLine InvoicePeriod DurationMeasure
UBL-CR-522
/ubl:Invoice | /cn:CreditNote
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:InvoicePeriod/cbc:DurationMeasure)