Element 'ram:IssuerAssignedID' must occur exactly 1 times.
The reference document with ram:TypeCode 130 does not contain exactly one ram:IssuerAssignedID element. It is either missing or occurs more than once.
Exactly one identifier assigned by the issuer must be provided for this reference document.
The reference document with ram:TypeCode 130 is missing ram:IssuerAssignedID or contains it more than once. You can adjust the entries so that exactly one element is present.
- Find the
ram:AdditionalReferencedDocumentwithram:TypeCode130inram:ApplicableHeaderTradeAgreement. - Make sure this reference document contains exactly one
ram:IssuerAssignedIDelement. - Generate the invoice again and validate it.
<ram:AdditionalReferencedDocument> <ram:TypeCode>130</ram:TypeCode> </ram:AdditionalReferencedDocument>
<ram:AdditionalReferencedDocument> <ram:TypeCode>130</ram:TypeCode> <ram:IssuerAssignedID/> </ram:AdditionalReferencedDocument>
Technical details
Within the ram:AdditionalReferencedDocument filtered by ram:TypeCode 130, the number of ram:IssuerAssignedID elements must equal one.
The rule applies to ram:AdditionalReferencedDocument with ram:TypeCode 130 in ram:ApplicableHeaderTradeAgreement.
rule/@context)assert/@test)