L'élément 'ram:ID' ne peut apparaître qu'une fois au maximum.
L’élément ram:SellerTaxRepresentativeTradeParty contient plusieurs éléments ram:ID. Dans ce contexte, ram:ID ne peut apparaître qu’une seule fois au maximum.
La règle limite à un le nombre d’identifiants du représentant fiscal. Elle n’exige pas la présence d’un identifiant.
Plusieurs éléments ram:ID sont indiqués pour le représentant fiscal. Cette règle n’en autorise qu’un au maximum à cet endroit.
- Repérez
ram:SellerTaxRepresentativeTradePartydans la facture. - Supprimez les éléments
ram:IDen trop afin qu’il n’en reste qu’un au maximum. - Générez de nouveau la facture et vérifiez-la à nouveau.
<ram:SellerTaxRepresentativeTradeParty> <ram:ID>1</ram:ID> <ram:ID>2</ram:ID> </ram:SellerTaxRepresentativeTradeParty>
<ram:SellerTaxRepresentativeTradeParty> <ram:ID>1</ram:ID> </ram:SellerTaxRepresentativeTradeParty>
Détails techniques
Le test compte les éléments ram:ID directement sous ram:SellerTaxRepresentativeTradeParty et exige un nombre inférieur ou égal à un.
La règle s’applique aux éléments ram:ID dans ram:SellerTaxRepresentativeTradeParty.
rule/@context)assert/@test)