Consistent payment text

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

- 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

At least one ram:Information element has a different value from the first ram:Information element. Leading and trailing whitespace is ignored in the comparison.

What the rule means

BT-82 contains the payment text. If multiple payment means are specified, their payment texts must match so that the information in the invoice is consistent.

Affected fields BT-82
Please use the same payment text for all payment means

The payment texts in your invoice do not all match. You can make the entries consistent.

What to do
  1. Check the values of PaymentMeans.Information.
  2. Make the payment texts for all payment means identical.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:Information>Transfer</ram:Information>
</ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:Information>Bank transfer</ram:Information>
</ram:SpecifiedTradeSettlementPaymentMeans>
✓ Correct
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:Information>Transfer</ram:Information>
</ram:SpecifiedTradeSettlementPaymentMeans>
<ram:SpecifiedTradeSettlementPaymentMeans>
  <ram:Information>Transfer</ram:Information>
</ram:SpecifiedTradeSettlementPaymentMeans>
Check in FactoorSharp
  • PaymentMeans.Information (SpecifiedPaymentMeans: BT-82)
  • FacturXInvoice.PaymentMeans (Information: BT-82)
Technical details

The test compares each ram:Information in ram:SpecifiedTradeSettlementPaymentMeans with the first such element in the document. The comparison normalizes leading and trailing whitespace.

Where the rule applies

Applies to the payment texts ram:Information within all ram:SpecifiedTradeSettlementPaymentMeans 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