Element 'ram:RateApplicablePercent' must occur exactly 1 times.
ram:RateApplicablePercent does not occur exactly once in ram:IncludedTradeTax. The element is either missing or appears more than once.
ram:RateApplicablePercent contains the percentage applicable to the tax information. The rule requires it to be stated exactly once.
The tax information for an invoice line’s net price is missing the tax rate, or includes it more than once. You can correct this in the relevant part of the invoice.
- Find
ram:IncludedTradeTaxin the net price of the affected invoice line. - Make sure
ram:RateApplicablePercentoccurs exactly once inside it. - Generate the invoice again and validate it again.
<ram:IncludedTradeTax/>
<ram:IncludedTradeTax> <ram:RateApplicablePercent/> </ram:IncludedTradeTax>
Technical details
The Schematron check counts the direct ram:RateApplicablePercent elements in ram:IncludedTradeTax and requires a count of 1.
The rule applies to ram:IncludedTradeTax within the net price of an invoice line.
rule/@context)assert/@test)