Message

[UBL-CR-566]-A UBL invoice should not include the InvoiceLine Item HazardousRiskIndicator

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