Validate_FI::businessId() – Validate Finnish Business ID (Y-tunnus)


require_once 'Validate/FI.php';

bool Validate_FI::businessId ( string $number )


Validate Finnish Business ID (Y-tunnus). Format: xxxxxxx-y.

The Finnish Business ID number (Y-tunnus) is a 9 digit number. The last digit is a control number (y).


string $number

Business ID number to be validated

Return value

boolean - true if Business ID is valid, false otherwise


Using businessId()

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

$businessId '1572860-0';
if ( 
Validate_FI::businessId($businessId) ) {
} else {
'Not valid!';
Validate Finnish Unique Identification Number (SATU) (Previous) Validate Finnish Party Identification number (OVT-tunnus) (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.