Element 'ram:CategoryCode' must occur exactly 1 times.
ram:CategoryCode must occur exactly once in ram:IncludedTradeTax. The element is either missing or appears more than once.
The tax category code assigns the advance payment’s tax information to a tax category. Exactly one such code is required for this information.
The tax category code is missing from the advance payment’s tax information or appears more than once. The structure can be adjusted so that the code occurs exactly once.
- Locate
ram:IncludedTradeTaxfor the advance payment. - Check that it contains
ram:CategoryCodeexactly once. - Regenerate the invoice and validate it again.
<ram:IncludedTradeTax/>
<ram:IncludedTradeTax> <ram:CategoryCode>S</ram:CategoryCode> </ram:IncludedTradeTax>
Technical details
The rule checks whether ram:IncludedTradeTax contains exactly one direct child element named ram:CategoryCode.
The rule applies within ram:IncludedTradeTax for the tax information of an advance payment.
rule/@context)assert/@test)