Project reference shall occur maximum once.
/ubl:Invoice | /cn:CreditNote
(count(cac:ProjectReference/cbc:ID) <= 1)