Element 'ram:Information' may occur at maximum 1 times.
ram:Information occurs more than once in ram:SpecifiedTradeSettlementPaymentMeans.
ram:Information contains information about the payment terms. Multiple occurrences of this element at the same location do not conform to the specified structure.
ram:Information is included more than once in the payment details. You can correct the structure by using no more than one such element there.
- Find
ram:SpecifiedTradeSettlementPaymentMeansin the payment details. - Check the
ram:Informationelements it contains and remove any extra occurrences. - Generate the invoice again and validate it.
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:Information>Information A</ram:Information> <ram:Information>Information B</ram:Information> </ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:Information>Information</ram:Information> </ram:SpecifiedTradeSettlementPaymentMeans>
Technical details
The test counts the direct ram:Information elements within ram:SpecifiedTradeSettlementPaymentMeans and allows no more than one occurrence.
The rule applies to ram:SpecifiedTradeSettlementPaymentMeans in the settlement payment details.
rule/@context)assert/@test)