[CII-SR-467] - All Payment means type codes (BT-81) shall have the same value across all SpecifiedTradeSettlementPaymentMeans.
The TypeCode values in the SpecifiedTradeSettlementPaymentMeans elements are not all the same. The test compares each existing value, after trimming surrounding whitespace, with the first value.
The payment means code describes the payment method used. A consistent value makes the payment information in the document unambiguous.
The invoice contains different payment means codes. You can make the values consistent.
- Check the
TypeCodevalues in allSpecifiedTradeSettlementPaymentMeanselements. - Check the value of
PaymentMeans.TypeCode. - Check the use of
FacturXInvoice.PaymentMeans. - Regenerate the invoice and validate it again.
PaymentMeans.TypeCode(SpecifiedPaymentMeans: BT-81)FacturXInvoice.PaymentMeans(ID: BT-81)
Technical details
The XPath counts TypeCode elements whose normalized value differs from the normalized value of the first TypeCode; the test passes when the count is zero.
The rule applies to the TypeCode values in all SpecifiedTradeSettlementPaymentMeans elements in the invoice.
rule/@context)assert/@test)