Element 'ram:SpecifiedTradePaymentTerms' may occur at maximum 1 times.
ram:SpecifiedTradePaymentTerms occurs more than once in ram:ApplicableHeaderTradeSettlement. The element may appear no more than once.
ram:SpecifiedTradePaymentTerms contains the invoice payment terms. The rule limits this information in the settlement section to one element.
The settlement section contains ram:SpecifiedTradePaymentTerms more than once. You can remove the extra elements or omit the payment terms.
- Check the
ram:SpecifiedTradePaymentTermselements inram:ApplicableHeaderTradeSettlement. - Remove any extra elements or omit the payment terms.
- Generate the invoice again and validate it.
<ram:ApplicableHeaderTradeSettlement> <ram:SpecifiedTradePaymentTerms/> <ram:SpecifiedTradePaymentTerms/> </ram:ApplicableHeaderTradeSettlement>
<ram:ApplicableHeaderTradeSettlement> <ram:SpecifiedTradePaymentTerms/> </ram:ApplicableHeaderTradeSettlement>
Technical details
The rule counts the direct ram:SpecifiedTradePaymentTerms elements under ram:ApplicableHeaderTradeSettlement and allows no more than one.
The rule applies within the invoice settlement section, ram:ApplicableHeaderTradeSettlement.
rule/@context)assert/@test)