Validation message

[UBL-SR-04]-Invoice object identifier shall occur maximum once

Context

/ubl:Invoice | /cn:CreditNote

XPath

1

(count(cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']/cbc:ID) <= 1)

Used in business terms