# ElectricityRef

Source: https://pakdatakit.dev/api/typescript/bills/interfaces/electricityref/

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

Result of [parseElectricityRef](https://pakdatakit.dev/api/typescript/bills/functions/parseelectricityref/).

## Properties

| Property | Type | Description |
| :------ | :------ | :------ |
| <a id="property-type"></a> `type` | [`ElectricityRefType`](https://pakdatakit.dev/api/typescript/bills/type-aliases/electricityreftype/) | - |
| <a id="property-digits"></a> `digits` | `string` | The digits, without separators or the U/R letter. |
| <a id="property-formatted"></a> `formatted` | `string` | Display form: `01 14111 1234567 U` for a reference (2, 5 and 7 digits, as on PITC's bill illustration), the digits for the others. |
| <a id="property-urbanrural"></a> `urbanRural` | `"U"` \| `"R"` \| `null` | `U` or `R` when given after a reference number, otherwise `null`. |
| <a id="property-disco"></a> `disco` | `"K-Electric"` \| `null` | The distribution company. `K-Electric` for a K-Electric account; otherwise always `null`, because no official source maps reference or customer ID digits to a DISCO. |
