L'élément 'ram:ID' ne peut apparaître qu'une fois au maximum.
ram:ID apparaît plusieurs fois dans ram:BuyerTaxRepresentativeTradeParty.
La structure autorise au maximum un identifiant pour le représentant fiscal de l’acheteur ; l’élément peut également être absent.
Plusieurs éléments ram:ID sont présents pour le représentant fiscal de l’acheteur. Cette section autorise un seul identifiant au maximum.
- Repérez
ram:BuyerTaxRepresentativeTradeParty. - Vérifiez qu’il contient au maximum un
ram:ID. - Générez de nouveau la facture et vérifiez-la.
<ram:BuyerTaxRepresentativeTradeParty> <ram:ID>one</ram:ID> <ram:ID>two</ram:ID> </ram:BuyerTaxRepresentativeTradeParty>
<ram:BuyerTaxRepresentativeTradeParty> <ram:ID>one</ram:ID> </ram:BuyerTaxRepresentativeTradeParty>
Détails techniques
La règle limite à un au maximum le nombre d’éléments ram:ID dans ram:BuyerTaxRepresentativeTradeParty.
Dans l’élément ram:BuyerTaxRepresentativeTradeParty du représentant fiscal de l’acheteur.
rule/@context)assert/@test)