# validateSTRN

Source: https://pakdatakit.dev/api/typescript/tax/functions/validatestrn/

```ts
function validateSTRN(strn): boolean;
```

Defined in: [tax.ts:81](https://github.com/chmuzamil/pakdatakit/blob/a6eeaa47381308c4e4fcda45b29642fe4fbfb1fc/src/tax.ts#L81)

Validates the format of a Sales Tax Registration Number (STRN): 13 digits,
with optional spaces or dashes.

FBR does not publish a check-digit algorithm or the meaning of the digit
groups, so this validates the format only.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `strn` | `string` | STRN to validate |

## Returns

`boolean`

`true` if the format is valid
