Message

Invoice object identifier shall occur maximum once

Context
/ubl:Invoice | /cn:CreditNote
Test
(count(cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']/cbc:ID) <= 1)