Message

Contract identifier shall occur maximum once.

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