Element 'ram:ID' must occur exactly 1 times.
ram:ID is missing from ram:ApplicableTradeSettlementFinancialCard or occurs more than once. Exactly one ram:ID element is required.
ram:ID contains the payment card identifier. The card details require exactly one such identifier at this location.
ram:ID is missing from the card details or appears more than once. You can resolve this by providing exactly one card identifier there.
- Find
ram:ApplicableTradeSettlementFinancialCardin the payment details. - Add or remove
ram:IDelements so that exactly one is present. - Generate the invoice again and validate it.
<ram:ApplicableTradeSettlementFinancialCard/>
<ram:ApplicableTradeSettlementFinancialCard> <ram:ID>1234</ram:ID> </ram:ApplicableTradeSettlementFinancialCard>
Technical details
The test counts the direct ram:ID elements in ram:ApplicableTradeSettlementFinancialCard and requires exactly one occurrence.
The rule applies to ram:ApplicableTradeSettlementFinancialCard within the payment details.
rule/@context)assert/@test)