Element 'ram:TypeCode' must occur exactly 1 times.
ram:TypeCode must occur exactly once in ram:IncludedTradeTax. The element is either missing or appears more than once.
The tax type code identifies the tax type in the advance payment’s tax information. Exactly one such code is required for this information.
The tax type 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:TypeCodeexactly once. - Regenerate the invoice and validate it again.
<ram:IncludedTradeTax/>
<ram:IncludedTradeTax> <ram:TypeCode>VAT</ram:TypeCode> </ram:IncludedTradeTax>
Technical details
The rule checks whether ram:IncludedTradeTax contains exactly one direct child element named ram:TypeCode.
The rule applies within ram:IncludedTradeTax for the tax information of an advance payment.
rule/@context)assert/@test)