Element 'ram:Name' must occur exactly 1 times.
The ram:SellerTaxRepresentativeTradeParty element does not contain exactly one ram:Name element. The element must be present once.
The name identifies the tax representative as a party to the invoice. The rule requires exactly one name.
The tax representative's required name is missing or has been provided more than once. Exactly one ram:Name element must appear in this part of the invoice.
- Locate
ram:SellerTaxRepresentativeTradePartyin the invoice. - Add exactly one
ram:Nameelement containing the tax representative's name, or remove any extra name elements. - Generate the invoice again and validate it again.
<ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTaxRepresentativeTradeParty> <ram:Name>Nom du représentant fiscal</ram:Name> </ram:SellerTaxRepresentativeTradeParty>
Technical details
The test counts ram:Name elements directly under ram:SellerTaxRepresentativeTradeParty and requires exactly one.
The rule applies to ram:Name within ram:SellerTaxRepresentativeTradeParty.
rule/@context)assert/@test)