Payer IBAN required

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

ram:IBANID is missing from ram:PayerPartyDebtorFinancialAccount or occurs more than once. ram:IBANID must occur exactly once.

What the rule means

The specified payer account must be identified by exactly one IBAN. If it is absent or repeated, the account information does not follow the required structure.

Please provide exactly one IBAN for the payer account

The payer account is missing an IBAN or contains it more than once. You can adjust the details so that exactly one IBAN is included.

What to do
  1. Open ram:PayerPartyDebtorFinancialAccount in the payment details.
  2. Make sure that ram:IBANID occurs exactly once within it.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:PayerPartyDebtorFinancialAccount/>
✓ Correct
<ram:PayerPartyDebtorFinancialAccount>
  <ram:IBANID>DE89370400440532013000</ram:IBANID>
</ram:PayerPartyDebtorFinancialAccount>
Technical details

The rule counts the direct child elements ram:IBANID in ram:PayerPartyDebtorFinancialAccount and requires the count to be one.

Where the rule applies

The rule applies to the payer account ram:PayerPartyDebtorFinancialAccount within the payment details.

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