Element 'ram:ApplicableTradeTax' must occur exactly 1 times.
ram:ApplicableTradeTax does not occur exactly once in ram:SpecifiedLineTradeSettlement. The element is missing or occurs more than once.
The tax entry must be assigned unambiguously to the invoice line. Exactly one element ensures that the tax entry for this line is neither missing nor duplicated.
ram:ApplicableTradeTax is missing or appears more than once for this invoice line. You can correct this in the invoice line settlement.
- Make sure
ram:SpecifiedLineTradeSettlementcontains exactly oneram:ApplicableTradeTax. - Generate the invoice again and check it again.
<ram:SpecifiedLineTradeSettlement/>
<ram:SpecifiedLineTradeSettlement> <ram:ApplicableTradeTax/> </ram:SpecifiedLineTradeSettlement>
Technical details
The check counts the direct ram:ApplicableTradeTax elements in the ram:SpecifiedLineTradeSettlement context and requires a count of 1.
In the ram:SpecifiedLineTradeSettlement of an invoice line.
rule/@context)assert/@test)