Skip to content

validateNTN

function validateNTN(ntn): boolean;

Defined in: tax.ts:67

Validates the format of a Pakistani National Tax Number (NTN): a CNIC for individuals, or 7 digits (optionally followed by a check digit) for businesses. See analyzeNTN.

Parameter Type Description
ntn string NTN to validate

boolean

true if the format is valid