Message

Despatch advice identifier shall occur maximum once

Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:DespatchDocumentReference/cbc:ID) <= 1)