Element 'ram:CalculatedAmount' must occur exactly 1 times.
ram:CalculatedAmount must occur exactly once in ram:IncludedTradeTax. The element is either missing or appears more than once.
The calculated tax amount is part of the tax information for the advance payment. Exactly one value is required so that this tax information contains an unambiguous amount.
The calculated tax amount is missing from the advance payment’s tax information or appears more than once. The structure can be adjusted so that the amount occurs exactly once.
- Locate
ram:IncludedTradeTaxfor the advance payment. - Check that it contains
ram:CalculatedAmountexactly once. - Regenerate the invoice and validate it again.
<ram:IncludedTradeTax/>
<ram:IncludedTradeTax> <ram:CalculatedAmount>10.00</ram:CalculatedAmount> </ram:IncludedTradeTax>
Technical details
The rule checks whether ram:IncludedTradeTax has exactly one direct child element named ram:CalculatedAmount.
The rule applies within ram:IncludedTradeTax for the tax information of an advance payment.
rule/@context)assert/@test)