Element 'ram:RoleCode' may occur at maximum 1 times.
ram:RoleCode occurs more than once in ram:BuyerTaxRepresentativeTradeParty.
At most one role code is allowed for the buyer’s tax representative; the element may also be absent.
Several ram:RoleCode elements are present for the buyer’s tax representative. This section allows no more than one role code.
- Locate
ram:BuyerTaxRepresentativeTradeParty. - Make sure it contains no more than one
ram:RoleCode. - Generate the invoice again and validate it.
<ram:BuyerTaxRepresentativeTradeParty> <ram:RoleCode>one</ram:RoleCode> <ram:RoleCode>two</ram:RoleCode> </ram:BuyerTaxRepresentativeTradeParty>
<ram:BuyerTaxRepresentativeTradeParty> <ram:RoleCode>one</ram:RoleCode> </ram:BuyerTaxRepresentativeTradeParty>
Technical details
The rule limits the number of ram:RoleCode elements in ram:BuyerTaxRepresentativeTradeParty to one at most.
In the ram:BuyerTaxRepresentativeTradeParty element for the buyer’s tax representative.
rule/@context)assert/@test)