Element 'ram:ChargeAmount' must occur exactly 1 times.
ram:ChargeAmount is missing from ram:GrossPriceProductTradePrice or occurs more than once.
ram:ChargeAmount contains the charge amount stated as the gross price of the invoice line.
ram:ChargeAmount is missing from the invoice line’s gross price or appears more than once. This part requires exactly one such element.
- Open
ram:GrossPriceProductTradePricefor the relevant invoice line. - Make sure it contains exactly one
ram:ChargeAmountelement. - Generate the invoice again and validate it.
<ram:GrossPriceProductTradePrice/>
<ram:GrossPriceProductTradePrice> <ram:ChargeAmount>100.00</ram:ChargeAmount> </ram:GrossPriceProductTradePrice>
Technical details
Within ram:GrossPriceProductTradePrice, the number of direct ram:ChargeAmount elements is checked to be exactly one.
The rule applies to the gross price of the invoice line in ram:GrossPriceProductTradePrice.
rule/@context)assert/@test)