- All Payment means type codes (BT-81) shall have the same value across all SpecifiedTradeSettlementPaymentMeans.
At least two ram:SpecifiedTradeSettlementPaymentMeans elements contain different values in ram:TypeCode.
The payment means code describes the payment method used. The same code must be given for all payment means in an invoice.
The invoice contains payment means with different payment means codes. Use the same ram:TypeCode for all ram:SpecifiedTradeSettlementPaymentMeans elements.
- Review
PaymentMeans.TypeCodeand the payment means inFacturXInvoice.PaymentMeans. - Make sure all
ram:SpecifiedTradeSettlementPaymentMeanselements contain the sameram:TypeCode. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>30</ram:TypeCode> </ram:SpecifiedTradeSettlementPaymentMeans> <ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>42</ram:TypeCode> </ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>30</ram:TypeCode> </ram:SpecifiedTradeSettlementPaymentMeans> <ram:SpecifiedTradeSettlementPaymentMeans> <ram:TypeCode>30</ram:TypeCode> </ram:SpecifiedTradeSettlementPaymentMeans>
PaymentMeans.TypeCode(SpecifiedPaymentMeans: BT-81)FacturXInvoice.PaymentMeans(ID: BT-81)
Technical details
The test compares each normalized ram:TypeCode with the first ram:TypeCode among all ram:SpecifiedTradeSettlementPaymentMeans elements and requires that none differ.
The rule applies in the invoice document rsm:CrossIndustryInvoice to all ram:SpecifiedTradeSettlementPaymentMeans elements and their ram:TypeCode.
rule/@context)assert/@test)