Element 'ram:TypeCode' must occur exactly 1 times.
ram:TypeCode is missing from ram:SpecifiedTradeSettlementPaymentMeans or occurs more than once. It must occur exactly once.
ram:TypeCode specifies the payment type. A single, unambiguous entry ensures that the payment type is present in the payment information.
The payment type is missing from the payment information or has been entered more than once. This can be resolved by including ram:TypeCode once.
- Find
ram:SpecifiedTradeSettlementPaymentMeans. - Include exactly one
ram:TypeCodein it and remove any additional occurrences. - Generate the invoice again and validate it again.
<ram:SpecifiedTradeSettlementPaymentMeans/>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode/> </ram:SpecifiedTradeSettlementPaymentMeans>
Technical details
The rule counts the direct ram:TypeCode child elements of ram:SpecifiedTradeSettlementPaymentMeans and requires the value 1.
The rule applies to the payment type in ram:SpecifiedTradeSettlementPaymentMeans within the settlement information at document level.
rule/@context)assert/@test)