Create a Bank
A Bank in ERPNext is the financial institution, for example "First National Bank". Bank Accounts and Bank Guarantees link to it. Create one Bank for each institution, not one for each account number or branch.
A Bank does not create a ledger account. You create the ledger account separately in the Chart of Accounts and link it on the Bank Account.
Create the Bank
- Open the Bank list and select Add Bank.
- In Bank Name, enter the full name of the institution. The name must be unique, and it becomes the name of the document.
- Optional: enter the SWIFT number (the Bank Identifier Code, BIC) and the Website. Each SWIFT number can belong to one Bank only.
- Save the Bank.
After you save, the Address and Contact section appears. Add the bank's address and a contact person there if you need them.
The dashboard of the saved Bank shows its linked Bank Accounts and Bank Guarantees.
Map the columns of the bank statement
Use the Bank Transaction Mapping table, in the Data Import Configuration section, when you import statements with the Bank Statement Import form and the column headings in the bank's file differ from the Bank Transaction fields.
- In the Bank Transaction Mapping table, add one row for each column that you import.
- In Field in Bank Transaction, select the target field, for example
date,deposit,withdrawal,description, orreference_number. - In Column in Bank File, enter the column heading exactly as it appears in the file, including capital letters and spaces.
- Save the Bank.
The mapping belongs to the Bank because each bank exports its own layout. ERPNext also updates the mapping when you change it during an import.
TIP
The Banking page detects the columns of CSV, Excel, and PDF statements by itself, so you do not need this mapping for that import method. See Import bank transactions.
Plaid
The Plaid Access Token field is filled in by the Plaid integration, which synchronizes bank transactions from banks that Plaid supports. When a Bank has a token, the form shows a Refresh Plaid Link button to renew the connection. Do not type credentials into this field.
Troubleshooting
Imported columns are empty or in the wrong field
Compare the headings in the file with the Column in Bank File values. Check for extra spaces, different capital letters, and extra heading rows above the real header.
"Duplicate entry" when you save the SWIFT number
Another Bank already uses that SWIFT number. Open the existing Bank instead of creating a second one.
A Bank cannot be deleted
Bank Accounts or Bank Guarantees link to it. Keep the Bank for the history of those documents.