Account identifier for credit transfer information

Error BR-50 EN 16931

A Payment account identifier (BT-84) shall be present if Credit transfer (BG-16) information is provided in the Invoice.

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

The account element contains neither a non-empty ram:IBANID nor a non-empty ram:ProprietaryID. The check ignores values that consist only of whitespace.

What the rule means

When credit transfer information is provided, an account identifier (BT-84) must be supplied to identify the payment account.

Affected fields BT-84 BG-16
Please add an account identifier for the credit transfer

The credit transfer information is missing an account identifier, or its value contains only whitespace. You can provide an IBAN or another account identifier.

What to do
  1. Check the account details in ram:PayeePartyCreditorFinancialAccount.
  2. Provide a non-empty ram:IBANID or ram:ProprietaryID.
  3. Check the value using BankAccount.IBAN.
  4. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:PayeePartyCreditorFinancialAccount>
  <ram:IBANID/>
</ram:PayeePartyCreditorFinancialAccount>
✓ Correct
<ram:PayeePartyCreditorFinancialAccount>
  <ram:IBANID>DE89370400440532013000</ram:IBANID>
</ram:PayeePartyCreditorFinancialAccount>
Check in FactoorSharp
  • BankAccount.IBAN (BT-84)
  • FacturXInvoice.DebitorBankAccounts (BG-16)
  • FacturXInvoice.PaymentMeans (BG-16)
Good to know

A non-empty ram:IBANID or ram:ProprietaryID is sufficient.

Technical details

The XPath accepts a non-empty normalized value in ram:IBANID or ram:ProprietaryID; the check runs in the context filtered by ram:TypeCode 30 or 58.

Where the rule applies

The rule applies to ram:PayeePartyCreditorFinancialAccount for payment instructions with ram:TypeCode 30 or 58.

Context (rule/@context)
//ram:SpecifiedTradeSettlementPaymentMeans[ram:TypeCode='30' or ram:TypeCode='58']/ram:PayeePartyCreditorFinancialAccount
Test expression (assert/@test)
normalize-space(ram:IBANID) != '' or normalize-space(ram:ProprietaryID) != ''