Element 'ram:Name' must occur exactly 1 times.
The SellerTaxRepresentativeTradeParty is missing the Name element or contains it more than once. It must contain exactly one Name element.
The Name element identifies the seller’s tax representative. Exactly one element ensures that the representative’s name is stated unambiguously.
The SellerTaxRepresentativeTradeParty does not contain exactly one Name element. You can resolve this by providing exactly one such element there.
- Open the
SellerTaxRepresentativeTradeParty. - Make sure it contains exactly one
Nameelement. - Generate the invoice again and validate it once more.
<ram:SellerTaxRepresentativeTradeParty/>
<ram:SellerTaxRepresentativeTradeParty> <ram:Name>...</ram:Name> </ram:SellerTaxRepresentativeTradeParty>
Technical details
The test counts the direct Name elements under SellerTaxRepresentativeTradeParty and requires the count to equal one.
This rule applies to the name in the SellerTaxRepresentativeTradeParty element.
rule/@context)assert/@test)