Message

[UBL-CR-050]-A UBL invoice should not include the DespatchDocumentReference DocumentType

Context
/ubl:Invoice | /cn:CreditNote
Test
not(cac:DespatchDocumentReference/cbc:DocumentType)