Element 'ram:ChargeTotalAmount' may occur at maximum 1 times.
ram:ChargeTotalAmount occurs more than once within ram:SpecifiedTradeSettlementLineMonetarySummation.
ram:ChargeTotalAmount contains the total charges on the invoice line. The element may occur at most once in this summary.
ram:ChargeTotalAmount 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:ChargeTotalAmountoccurs there no more than once. - Generate the invoice again and validate it.
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:ChargeTotalAmount/> <ram:ChargeTotalAmount/> </ram:SpecifiedTradeSettlementLineMonetarySummation>
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:ChargeTotalAmount/> </ram:SpecifiedTradeSettlementLineMonetarySummation>
Technical details
The test counts direct ram:ChargeTotalAmount 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)