Element 'ram:Name' must occur exactly 1 times.
There is not exactly one ram:Name in ram:BuyerTaxRepresentativeTradeParty. The element is either missing or occurs more than once.
The name of the buyer’s tax representative must be specified exactly once in this element.
ram:Name is missing or occurs more than once for the buyer’s tax representative. This section requires exactly one name.
- Locate
ram:BuyerTaxRepresentativeTradeParty. - Make sure it contains exactly one
ram:Name. - Generate the invoice again and validate it.
<ram:BuyerTaxRepresentativeTradeParty/>
<ram:BuyerTaxRepresentativeTradeParty> <ram:Name>Example</ram:Name> </ram:BuyerTaxRepresentativeTradeParty>
Technical details
The rule checks whether exactly one ram:Name element occurs in ram:BuyerTaxRepresentativeTradeParty.
In the ram:BuyerTaxRepresentativeTradeParty element for the buyer’s tax representative.
rule/@context)assert/@test)