Message

A UBL invoice should not include the AdditionalDocumentReference DocumentType

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