Element 'ram:LineTotalAmount' must occur exactly 1 times.
Within the invoice line’s SpecifiedTradeSettlementLineMonetarySummation, ram:LineTotalAmount does not occur exactly once. The element is either missing or appears more than once.
ram:LineTotalAmount specifies the total amount of the invoice line. A single unambiguous value is needed for this amount to be processed correctly.
The total for an invoice line is missing or entered more than once. A single value makes this part of the invoice unambiguous.
- Open
SpecifiedTradeSettlementLineMonetarySummationfor the affected invoice line. - Check that
ram:LineTotalAmountoccurs there exactly once. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementLineMonetarySummation/>
<ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>100.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation>
Technical details
The XPath test requires exactly one direct ram:LineTotalAmount child element.
The rule applies to SpecifiedTradeSettlementLineMonetarySummation within an invoice line.
rule/@context)assert/@test)