Only one invoiced object is allowed pr line
cac:InvoiceLine | cac:CreditNoteLine
(count(cac:DocumentReference) <= 1)