Element 'ram:RateApplicablePercent' must occur exactly 1 times.
ram:AppliedTradeTax is missing ram:RateApplicablePercent, or the element occurs more than once. It must occur exactly once.
ram:RateApplicablePercent contains the percentage associated with the tax information. Without exactly one such element, the tax rate is not unambiguously represented in the XML.
The tax rate is missing from the tax information or appears more than once. You can resolve this by including ram:RateApplicablePercent exactly once.
- Check
ram:AppliedTradeTaxand make sureram:RateApplicablePercentoccurs exactly once. - Regenerate the invoice and validate it again.
<ram:AppliedTradeTax/>
<ram:AppliedTradeTax> <ram:RateApplicablePercent/> </ram:AppliedTradeTax>
Technical details
The Schematron test counts the direct ram:RateApplicablePercent elements in ram:AppliedTradeTax and requires exactly one.
The rule applies to ram:AppliedTradeTax within a document-level logistics service charge.
rule/@context)assert/@test)