Element 'ram:CategoryCode' must occur exactly 1 times.
ram:CategoryCode is missing from ram:IncludedTradeTax or occurs more than once. It must occur exactly once in this tax block.
ram:CategoryCode identifies the tax category of the advance payment tax block. Exactly one such element is required by the prescribed structure.
ram:CategoryCode is missing from tax block ram:IncludedTradeTax or appears more than once. Exactly one such element is provided for this block.
- Open
ram:IncludedTradeTaxwithin the advance payment. - Make sure
ram:CategoryCodeoccurs exactly once. - Regenerate the invoice and check it again.
<ram:IncludedTradeTax/>
<ram:IncludedTradeTax> <ram:CategoryCode/> </ram:IncludedTradeTax>
Technical details
The test counts ram:CategoryCode elements under ram:IncludedTradeTax and requires exactly one.
The rule applies to ram:IncludedTradeTax within the advance payment.
rule/@context)assert/@test)