Message

[UBL-CR-537]-A UBL invoice should not include the InvoiceLine DocumentReference DocumentType

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