Selecting a supplier’s IBAN in a purchase invoice

 

By default, ERPLY Books uses the supplier’s primary bank account on purchase invoices. If a supplier has multiple bank accounts, you can configure a dropdown that lets you select the correct IBAN directly on the invoice. 

Configuration

Go to Settings Configuration, scroll to the “Additional attributes for modules” section and click Manage and + Add. Fill in the fields as follows:

  • Operation – invoice
  • Type – ACTIVITY_ITEM_COMBO
  • Attributes – ATTRIBUTE_DOCUMENT_BANK
  • Name – IBAN
  • Type – alternativeValue (Value2)
  • Values – copy the following exactly as shown: {valueField:”id”,displayField:”iban”,store:{model:”BankAccount”,autoLoad:!1},listConfig:{getInnerTpl:function(){return”{iban} – {bankIdentifier}”}},specialListConfig:”iban)]} – {[htmlSanitize(values.bankIdentifier”}

 

NB: Copy the values field exactly as shown — the special characters and formatting are required for the dropdown to work correctly.

Save the configuration. The IBAN field is now active on all purchase invoices. 

 

Using the IBAN Field

Once configured, an IBAN dropdown appears under the supplier section on every purchase invoice. Use it when the supplier’s default bank account isn’t the right one for a specific payment.

  1. Open or create a purchase invoice as usual.
  2. Locate the IBAN field below the supplier details – it defaults to the supplier’s primary bank account.
  3. Click the dropdown to see all bank accounts linked to that supplier. Each entry shows the IBAN and bank identifier.
  4. Select the correct account for this invoice. The field updates immediately.
  5. Save the invoice – the selected bank account is now recorded on the document.

Note: The IBAN dropdown only appears when the supplier has multiple bank accounts on file. If there is only one, the default is used automatically.