Element 'ram:ChargeAmount' must occur exactly 1 times.
ram:ChargeAmount is missing from ram:NetPriceProductTradePrice or occurs more than once. Exactly one ram:ChargeAmount is required.
ram:ChargeAmount contains the net price of the invoice line. An unambiguous price entry requires exactly one such element.
ram:ChargeAmount is missing from the invoice line’s net price or occurs more than once. Add exactly one such element.
- Locate
ram:NetPriceProductTradePricefor the affected invoice line. - Make sure it contains exactly one
ram:ChargeAmount. - Regenerate the invoice and validate it again.
<ram:NetPriceProductTradePrice/>
<ram:NetPriceProductTradePrice> <ram:ChargeAmount>1</ram:ChargeAmount> </ram:NetPriceProductTradePrice>
Technical details
Within ram:NetPriceProductTradePrice, the check is count(ram:ChargeAmount)=1.
The rule applies to ram:NetPriceProductTradePrice of an invoice line.
rule/@context)assert/@test)