Validating bank account numbers

Xbase++ 2.0 Build 554 or later
Post Reply
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4804
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Validating bank account numbers

#1 Post by rdonnay »

Does anyone have Xbase++ code for validating a bank account number using the check digit algorithm?

I'm not sure if the Luhn algorithm is correct for validating bank accounts.
It claims that account numbers are 9 digits or greater yet many of the accounts in our database are only 8 digits.
The eXpress train is coming - and it has more cars.

k-insis
Posts: 125
Joined: Fri Jan 28, 2011 4:07 am

Re: Validating bank account numbers

#2 Post by k-insis »

Just to clarify: You are seeking checker for US bank acc number or standard iBAN transaction account ?



rdonnay wrote: Tue Oct 10, 2023 10:41 am Does anyone have Xbase++ code for validating a bank account number using the check digit algorithm?

I'm not sure if the Luhn algorithm is correct for validating bank accounts.
It claims that account numbers are 9 digits or greater yet many of the accounts in our database are only 8 digits.

User avatar
rdonnay
Site Admin
Posts: 4804
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Validating bank account numbers

#3 Post by rdonnay »

You are seeking checker for US bank acc number or standard iBAN transaction account ?
Actually, all of our bank transactions are with US banks so I really don't need an IBAN validation, however, I may need to go that route if I can't find an easy way to validate a US bank account.
The eXpress train is coming - and it has more cars.

skiman
Posts: 1198
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Validating bank account numbers

#4 Post by skiman »

Hi Roger,

Have you already used that algoritme for your account numbers with 8 digits? The Luhn algoritme should work with any length.
Best regards,

Chris.
www.aboservice.be

User avatar
rdonnay
Site Admin
Posts: 4804
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Validating bank account numbers

#5 Post by rdonnay »

The Luhn algoritme should work with any length.
I will give it a try. Thanks.
The eXpress train is coming - and it has more cars.

Post Reply