Despatch advice identifier shall occur maximum once
/ubl:Invoice | /cn:CreditNote
(count(cac:DespatchDocumentReference/cbc:ID) <= 1)