# validateGasConsumerNumber

Source: https://pakdatakit.dev/api/typescript/bills/functions/validategasconsumernumber/

```ts
function validateGasConsumerNumber(input, company): boolean;
```

Defined in: [bills.ts:118](https://github.com/chmuzamil/pakdatakit/blob/a6eeaa47381308c4e4fcda45b29642fe4fbfb1fc/src/bills.ts#L118)

Validates a gas bill consumer number: 11 digits for SNGPL, 10 digits for
SSGC, as their bill pages ask for (retrieved 2026-11-18; see DATA.md). No
check digit is published, so only the format is checked.

## Parameters

| Parameter | Type | Description |
| :------ | :------ | :------ |
| `input` | `string` | - |
| `company` | [`GasCompany`](https://pakdatakit.dev/api/typescript/bills/type-aliases/gascompany/) | `SNGPL` or `SSGC`; anything else returns `false` |

## Returns

`boolean`
