Message

[UBL-CR-522]-A UBL invoice should not include the InvoiceLine InvoicePeriod DurationMeasure

Context
/ubl:Invoice | /cn:CreditNote
Test
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:InvoicePeriod/cbc:DurationMeasure)