Element 'ram:IncludedTradeTax' may occur at maximum 1 times.
ram:IncludedTradeTax occurs more than once in ram:NetPriceProductTradePrice. The test allows no more than one such element.
The net price structure allows no more than one VAT entry at this point.
ram:IncludedTradeTax is entered more than once for the net price of an invoice line. It may occur there no more than once.
- Find
ram:NetPriceProductTradePricein the affected invoice line. - Check that
ram:IncludedTradeTaxoccurs there no more than once. - Generate the invoice again and validate it.
<ram:NetPriceProductTradePrice> <ram:IncludedTradeTax/> <ram:IncludedTradeTax/> </ram:NetPriceProductTradePrice>
<ram:NetPriceProductTradePrice> <ram:IncludedTradeTax/> </ram:NetPriceProductTradePrice>
Technical details
The test counts the direct ram:IncludedTradeTax elements within ram:NetPriceProductTradePrice and limits the count to one.
The rule applies to ram:NetPriceProductTradePrice of an invoice line.
rule/@context)assert/@test)