Message

[UBL-SR-01]-Contract identifier shall occur maximum once.

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