Business::AU::TFN - Validate TFN - Australian Tax File Name


Business-AU-TFN documentation  | view source Contained in the Business-AU-TFN distribution.

Index


NAME

Top

Business::AU::TFN - Validate TFN - Australian Tax File Name

SYNOPSIS

Top

    use Business::AU::TFN;

    print Business::AU::TFN::validate("123 456 782");

DESCRIPTION

Top

NOTES

Top

Details come from http://bioinf.wehi.edu.au/folders/fred/tfn.html

METHODS

Top

Currently these are package methods which must be called explicitly. Although I am considering making this better.

METHODS

Top

validate($tfn)

Validate a tax file number. Return value is one of

'valid' - yep, completely valid

'invalid length' - Must be 9 characteres (spaces accepted)

'invalid sum' - does not match

pretty($tfn)

This prints out a valid pretty print of an TFN The standards says that it must be showed in groups of three (nnn nnn nnn).

AUTHOR

Top

Scott Penrose <scottp@dd.com.au>

SEE ALSO

Top

Business::AU::ACN, Business::AU::ABN


Business-AU-TFN documentation  | view source Contained in the Business-AU-TFN distribution.