Element 'ram:Name' must occur exactly 1 times.
ram:Name does not occur exactly once in SpecifiedTradeProduct. The product name is either missing or appears more than once.
The name identifies the goods or services on the invoice line in readable form. A single value avoids ambiguity about which product is being described.
The product name for the invoice line is missing or entered more than once. A single value makes clear which product is being described.
- Open
SpecifiedTradeProductfor the affected invoice line. - Check that
ram:Nameoccurs there exactly once. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeProduct/>
<ram:SpecifiedTradeProduct> <ram:Name>Produit</ram:Name> </ram:SpecifiedTradeProduct>
Technical details
The XPath test counts the direct ram:Name children of SpecifiedTradeProduct and requires exactly one.
The rule applies to SpecifiedTradeProduct within an invoice line.
rule/@context)assert/@test)