Specify the BIC exactly once

Error FX-SCH-A-000292 Factur-X

Element 'ram:BICID' 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:PayeeSpecifiedCreditorFinancialInstitution, ram:BICID does not occur exactly once. The element is missing or occurs more than once.

What the rule means

ram:BICID provides the BIC identifier of the financial institution specified in this element. The rule requires exactly one such element.

Please specify the financial institution’s BIC exactly once

ram:BICID is missing from the financial institution section of the payment details or appears more than once. Exactly one element is expected.

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

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

Where the rule applies

The rule applies to ram:BICID inside ram:PayeeSpecifiedCreditorFinancialInstitution in the payment details.

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