ElectricityRef
Defined in: bills.ts:15
Result of parseElectricityRef.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
type |
ElectricityRefType |
- |
digits |
string |
The digits, without separators or the U/R letter. |
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. |
urbanRural |
"U" | "R" | null |
U or R when given after a reference number, otherwise null. |
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. |