Element 'ram:LineTotalAmount' may occur at maximum 1 times.
ram:LineTotalAmount occurs more than once within ram:SpecifiedTradeSettlementLineMonetarySummation.
ram:LineTotalAmount contains the total amount of the invoice line. The element may occur at most once in this summary.
ram:LineTotalAmount appears more than once in the invoice-line summary. It may occur there at most once.
- Locate
ram:SpecifiedTradeSettlementLineMonetarySummationfor the affected invoice line. - Make sure
ram:LineTotalAmountoccurs there no more than once. - Generate the invoice again and validate it.
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount/> <ram:LineTotalAmount/> </ram:SpecifiedTradeSettlementLineMonetarySummation>
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount/> </ram:SpecifiedTradeSettlementLineMonetarySummation>
Technical details
The test counts direct ram:LineTotalAmount elements within ram:SpecifiedTradeSettlementLineMonetarySummation and requires their count to be no greater than one.
The rule applies to ram:SpecifiedTradeSettlementLineMonetarySummation of an invoice line.
rule/@context)assert/@test)