Consistent payment texts

Error CII-SR-468 Syntax (UBL/CII)

[CII-SR-468] - All Payment means texts (BT-82) shall have the same value across all SpecifiedTradeSettlementPaymentMeans.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The Information values in the SpecifiedTradeSettlementPaymentMeans elements are not all the same. The test compares each existing value, after trimming surrounding whitespace, with the first value.

What the rule means

The payment text provides additional information about the payment method. Consistent text avoids conflicting information within the same invoice.

Affected fields BT-82
Please make the payment texts consistent

The invoice contains different texts for the payment means. You can make these values consistent.

What to do
  1. Check the Information values in all SpecifiedTradeSettlementPaymentMeans elements.
  2. Check the value of PaymentMeans.Information.
  3. Check the use of FacturXInvoice.PaymentMeans.
  4. Regenerate the invoice and validate it again.
Check in FactoorSharp
  • PaymentMeans.Information (SpecifiedPaymentMeans: BT-82)
  • FacturXInvoice.PaymentMeans (Information: BT-82)
Technical details

The XPath counts Information elements whose normalized value differs from the normalized value of the first Information element; the test passes when the count is zero.

Where the rule applies

The rule applies to the Information values in all SpecifiedTradeSettlementPaymentMeans elements in the invoice.

Context (rule/@context)
/rsm:CrossIndustryInvoice
Test expression (assert/@test)
count(//ram:SpecifiedTradeSettlementPaymentMeans/ram:Information[normalize-space(.) != normalize-space((// ram:SpecifiedTradeSettlementPaymentMeans/ram:Information)[1])]) = 0