Element 'ram:CategoryCode' must occur exactly 1 times.
For a charge, ram:CategoryCode is missing from ram:CategoryTradeTax or occurs there more than once. It must occur exactly once.
The tax category code assigns the charge’s tax information to a category. Exactly one value ensures that this assignment is present unambiguously.
For a charge, the tax category does not occur exactly once in ram:CategoryTradeTax. You can resolve this in the charge’s tax information.
- Find the charge and its
ram:CategoryTradeTax. - Ensure that it contains exactly one
ram:CategoryCode. - Generate the invoice again and validate it once more.
<ram:CategoryTradeTax/>
<ram:CategoryTradeTax> <ram:CategoryCode/> </ram:CategoryTradeTax>
Technical details
Within ram:CategoryTradeTax, the number of ram:CategoryCode elements is checked to be exactly one.
The rule applies to CategoryTradeTax for a document-level charge in the settlement.
rule/@context)assert/@test)