Value of 'ram:TypeCode' is not allowed.
The value of ram:TypeCode does not match an allowed entry in the code list used for this element.
ram:TypeCode identifies the payment type. An allowed code maps the payment information to a value in the designated code list.
The value of ram:TypeCode is not recognized by the rule as an allowed code. You can adjust it using the code list applied to this element.
- Find
ram:TypeCodeinsideram:SpecifiedTradeSettlementPaymentMeans. - Compare its value with the allowed entries in the code list used by the rule.
- Regenerate the invoice and validate it again.
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>NOT-A-CODE</ram:TypeCode> </ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>58</ram:TypeCode> </ram:SpecifiedTradeSettlementPaymentMeans>
Technical details
The rule checks the value of ram:TypeCode against entries in the code list identified by 43. An empty value also satisfies this test.
The rule applies to the value of ram:TypeCode inside ram:SpecifiedTradeSettlementPaymentMeans.
rule/@context)assert/@test)