Specify the IBAN exactly once

Error FX-SCH-A-000195 Factur-X

Element 'ram:IBANID' must occur exactly 1 times.

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

Within ram:PayerPartyDebtorFinancialAccount, ram:IBANID does not occur exactly once. The element is missing or occurs more than once.

What the rule means

ram:IBANID contains the IBAN of the account specified in ram:PayerPartyDebtorFinancialAccount. The rule requires exactly one such element.

Please specify the payer’s IBAN exactly once

ram:IBANID is missing from the payer’s account entry or appears more than once. Exactly one element is expected.

What to do
  1. Open ram:PayerPartyDebtorFinancialAccount.
  2. Make sure it contains exactly one ram:IBANID.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:PayerPartyDebtorFinancialAccount/>
✓ Correct
<ram:PayerPartyDebtorFinancialAccount>
  <ram:IBANID/>
</ram:PayerPartyDebtorFinancialAccount>
Technical details

The rule counts the direct ram:IBANID child elements of ram:PayerPartyDebtorFinancialAccount and requires a count of 1.

Where the rule applies

The rule applies to ram:IBANID inside ram:PayerPartyDebtorFinancialAccount in the payment details.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:SpecifiedTradeSettlementPaymentMeans/ram:PayerPartyDebtorFinancialAccount
Test expression (assert/@test)
count(ram:IBANID)=1