Validate_FI::bankAccount() – Validate Finnish bank account number


require_once 'Validate/FI.php';

bool Validate_FI::bankAccount ( string $number )


Validate Finnish bank account number. Format: XXXXXX-XXXXXXXX, 6 digits, - and 2-8 digits.

This method checks the bank account number according to Finnish Bank Association.


string $number

Finnish bank account number to be validated

Return value

boolean - true if bank account is valid, false otherwise


Using bankAccount()

// Include the package
require_once 'Validate/FI.php';

$bankAccount '159030-776';
if ( 
Validate_FI::bankAccount($bankAccount) ) {
} else {
'Not valid!';
Validate Finnish Value Added Tax number (ALV-numero) (Previous) Validate Finnish bank reference number (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.