Element 'ram:CalculatedAmount' may occur at maximum 1 times.
ram:ApplicableTradeTax contains ram:CalculatedAmount more than once.
ram:CalculatedAmount may occur no more than once within this tax information. Multiple occurrences would state the calculated tax amount more than once at the same location.
ram:CalculatedAmount appears more than once in ram:ApplicableTradeTax for an invoice line. You can reduce this to a single occurrence.
- Locate
ram:ApplicableTradeTaxin the settlement for the affected invoice line. - Keep no more than one
ram:CalculatedAmountelement within it. - Generate the invoice again and check it once more.
<ram:ApplicableTradeTax> <ram:CalculatedAmount>10.00</ram:CalculatedAmount> <ram:CalculatedAmount>10.00</ram:CalculatedAmount> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:CalculatedAmount>10.00</ram:CalculatedAmount> </ram:ApplicableTradeTax>
Technical details
The test counts direct ram:CalculatedAmount elements within ram:ApplicableTradeTax and permits no more than one.
The rule applies to ram:CalculatedAmount within ram:ApplicableTradeTax on an invoice line.
rule/@context)assert/@test)