Message

[UBL-SR-52]-Document reference shall occur maximum once

Context
cac:InvoiceLine | cac:CreditNoteLine
Test
count(cac:DocumentReference) <= 1