-
Notifications
You must be signed in to change notification settings - Fork 23
Bank Account Wizard
jHetzer edited this page Jan 9, 2020
·
2 revisions
The Bank Account Wizard can be used to simply creating "Bank Account" and "Bank" Doctypes.
- Currently only German banks are supported
- The customer/supplier IBAN is anonymized and sent to
https://openiban.com/validate/
getBankDetailsByIBAN: function(iban,callback) {`
const regex = /(?<=.{12})./gi;
/*...*/
var url = "https://openiban.com/validate/" +
iban.replace(regex, "0") +
"?getBIC=true&validateBankCode=true";
$.ajax({
url: url,
type: 'GET',
success: function(data){
- "Create": Create a "Bank Account" and if necessary "Bank" in ERPNext for the current row
- "Create All": Start a dialog for each currently listed row one by one