Message

[UBL-SR-06]-Preceding invoice reference shall occur maximum once

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