Element 'ram:CategoryCode' must occur exactly 1 times.
ram:ApplicableTradeTax does not contain exactly one ram:CategoryCode. The element is missing or occurs more than once.
The tax category code is part of the invoice line tax entry. Exactly one code ensures that the tax category is stated unambiguously.
ram:CategoryCode is missing or appears more than once in this invoice line tax entry. You can adjust the entry in ram:ApplicableTradeTax.
- Make sure
ram:ApplicableTradeTaxcontains exactly oneram:CategoryCode. - Generate the invoice again and check it again.
<ram:ApplicableTradeTax/>
<ram:ApplicableTradeTax> <ram:CategoryCode/> </ram:ApplicableTradeTax>
Technical details
The check counts the direct ram:CategoryCode elements in ram:ApplicableTradeTax and requires a count of 1.
In ram:ApplicableTradeTax within the settlement of an invoice line.
rule/@context)assert/@test)