[UBL-SR-52]-Document reference shall occur maximum once
UBL-SR-52
cac:InvoiceLine | cac:CreditNoteLine
count(cac:DocumentReference) <= 1