pakdatakit/tax
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| NTNInfo | Result of analyzeNTN. |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| NTNType | Kind of taxpayer an NTN belongs to. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| analyzeNTN | Analyzes a Pakistani National Tax Number (NTN). |
| validateNTN | 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. |
| validateSTRN | Validates the format of a Sales Tax Registration Number (STRN): 13 digits, with optional spaces or dashes. |