Element 'ram:NetPriceProductTradePrice' must occur exactly 1 times.
ram:NetPriceProductTradePrice does not occur exactly once in ram:SpecifiedLineTradeAgreement. The element is either missing or present more than once.
ram:NetPriceProductTradePrice contains the product’s net price for the invoice line. The agreement section must have exactly one such price entry.
The net price entry is missing from the invoice line’s agreement section or appears more than once. Exactly one ram:NetPriceProductTradePrice is expected there.
- Find the affected
ram:SpecifiedLineTradeAgreement. - Check that it contains exactly one
ram:NetPriceProductTradePrice. - Generate the invoice again and validate it once more.
<ram:SpecifiedLineTradeAgreement/>
<ram:SpecifiedLineTradeAgreement> <ram:NetPriceProductTradePrice/> </ram:SpecifiedLineTradeAgreement>
Technical details
In the context of ram:SpecifiedLineTradeAgreement, the rule checks whether the number of direct ram:NetPriceProductTradePrice elements equals 1.
The rule applies in the agreement section (ram:SpecifiedLineTradeAgreement) of the invoice line.
rule/@context)assert/@test)