Element 'ram:TypeCode' must occur exactly 1 times.
ram:IncludedTradeTax does not contain exactly one ram:TypeCode: the element is missing or occurs more than once.
ram:TypeCode specifies the tax type code for the included tax entry.
ram:TypeCode is missing or appears more than once in the net-price tax entry. You can adjust the structure so that it occurs exactly once.
- Find
ram:IncludedTradeTaxwithinram:NetPriceProductTradePrice. - Make sure it contains exactly one
ram:TypeCode. - Generate the invoice again and validate it.
<ram:IncludedTradeTax/>
<ram:IncludedTradeTax> <ram:TypeCode/> </ram:IncludedTradeTax>
Technical details
The rule counts ram:TypeCode within ram:IncludedTradeTax and requires exactly one element.
The rule applies to ram:TypeCode within ram:IncludedTradeTax in an invoice line’s net price.
rule/@context)assert/@test)