Element 'ram:TypeCode' must occur exactly 1 times.
ram:ApplicableTradeTax does not contain exactly one ram:TypeCode. The element is missing or occurs more than once.
The tax type is specified within the invoice line tax entry. A single ram:TypeCode makes this entry unambiguous.
ram:TypeCode 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:TypeCode. - Generate the invoice again and check it again.
<ram:ApplicableTradeTax/>
<ram:ApplicableTradeTax> <ram:TypeCode/> </ram:ApplicableTradeTax>
Technical details
The check counts the direct ram:TypeCode elements in ram:ApplicableTradeTax and requires a count of 1.
In ram:ApplicableTradeTax within the settlement of an invoice line.
rule/@context)assert/@test)