Message

[UBL-CR-542]-A UBL invoice should not include the InvoiceLine DocumentReference DocumentStatusCode

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