Element 'ram:PayeePartyCreditorFinancialAccount' may occur at maximum 1 times.
ram:PayeePartyCreditorFinancialAccount occurs more than once in ram:SpecifiedTradeSettlementPaymentMeans. This element may occur at most once.
The payment details contain at most one financial account for the payee. Multiple account elements for the same payee are not permitted in this structure.
The payment details contain more than one payee account. You can adjust the details so that the invoice contains only one account.
- Find the
ram:PayeePartyCreditorFinancialAccountelements inram:SpecifiedTradeSettlementPaymentMeans. - Keep no more than one such element in the payment details.
- Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:PayeePartyCreditorFinancialAccount/> <ram:PayeePartyCreditorFinancialAccount/> </ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:PayeePartyCreditorFinancialAccount/> </ram:SpecifiedTradeSettlementPaymentMeans>
Technical details
The rule counts the direct child elements ram:PayeePartyCreditorFinancialAccount and requires their number to be no greater than one.
The rule applies to the payment details in ram:SpecifiedTradeSettlementPaymentMeans within the document-level settlement.
rule/@context)assert/@test)