L'élément 'ram:PaymentReference' ne peut apparaître qu'une fois au maximum.
ram:PaymentReference apparaît plusieurs fois dans ram:ApplicableHeaderTradeSettlement. Cet élément ne peut apparaître qu’une seule fois au maximum.
Les informations de règlement au niveau du document peuvent contenir au maximum une référence de paiement. Plusieurs éléments ne respecteraient pas cette exigence.
Les informations de règlement contiennent plusieurs éléments ram:PaymentReference. Un seul au maximum est autorisé dans cette section.
- Repérez
ram:PaymentReferencedansram:ApplicableHeaderTradeSettlement. - Assurez-vous qu’il n’y a pas plus d’un élément
ram:PaymentReferenceà cet endroit. - Générez de nouveau la facture et vérifiez-la à nouveau.
<ram:ApplicableHeaderTradeSettlement> <ram:PaymentReference/> <ram:PaymentReference/> </ram:ApplicableHeaderTradeSettlement>
<ram:ApplicableHeaderTradeSettlement> <ram:PaymentReference/> </ram:ApplicableHeaderTradeSettlement>
Détails techniques
La règle compte les éléments ram:PaymentReference directs dans ram:ApplicableHeaderTradeSettlement et limite leur nombre à un.
La règle s’applique à ram:PaymentReference dans les informations de règlement au niveau du document (ram:ApplicableHeaderTradeSettlement).
rule/@context)assert/@test)