Previous Topic

Next Topic

ValidTaxNo - MaxBasic Function

ValidTaxNo(TaxNo: String[, CountryCode: String]): Boolean

Returns a boolean indicating if the tax number is valid for the country.

Currently only NZ IRD numbers can be validated.

ValidTaxNo function syntax has these named arguments:

Parameter

Description

TaxNo

Required. The tax number to be validated.

CountryCode

Optional, defaults to Company Country Code if not specified. The country for the Tax Number. Currently only NZ supported other Country Codes will error.

For example:

  ValidTaxNo("56-748-393", "NZ")

Returns: True

See Also

String Functions

Book Contents

Book Index