Element 'ram:ChargeAmount' must occur exactly 1 times.
ram:ChargeAmount does not occur exactly once in ram:GrossPriceProductTradePrice. The amount element is either missing or present more than once.
ram:ChargeAmount contains the gross price amount. The gross price section must contain exactly one such amount element.
ram:ChargeAmount is missing from the gross price section or appears more than once. The section needs exactly one amount element.
- Find the affected
ram:GrossPriceProductTradePrice. - Check that it contains exactly one
ram:ChargeAmount. - Generate the invoice again and validate it once more.
<ram:GrossPriceProductTradePrice/>
<ram:GrossPriceProductTradePrice> <ram:ChargeAmount/> </ram:GrossPriceProductTradePrice>
Technical details
In the context of ram:GrossPriceProductTradePrice, the rule checks whether the number of direct ram:ChargeAmount elements equals 1.
The rule applies in the gross price section (ram:GrossPriceProductTradePrice) of the invoice line agreement.
rule/@context)assert/@test)