pakdatakit/bills
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| ElectricityRef | Result of parseElectricityRef. |
Type Aliases
Section titled “Type Aliases”| Type Alias | Description |
|---|---|
| ElectricityRefType | Kind of electricity bill identifier. |
| GasCompany | A gas company whose consumer number format is published. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| parseElectricityRef | Parses a Pakistani electricity bill identifier: a DISCO reference number, a DISCO customer ID or a K-Electric account number. |
| validateElectricityRef | Validates a Pakistani electricity bill identifier. See parseElectricityRef. |
| validateGasConsumerNumber | 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. |