@casomoltd/nhs-pay 0.32.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/README.md +23 -21
  2. package/dist/afc-scales.d.ts +43 -10
  3. package/dist/afc-scales.js +50 -16
  4. package/dist/afc-scales.js.map +1 -1
  5. package/dist/allowances.js +11 -11
  6. package/dist/allowances.js.map +1 -1
  7. package/dist/award.d.ts +3 -3
  8. package/dist/award.js +21 -21
  9. package/dist/award.js.map +1 -1
  10. package/dist/circulars/england-md-1-2026-r2.d.ts +13 -0
  11. package/dist/circulars/england-md-1-2026-r2.js +13 -0
  12. package/dist/circulars/england-md-1-2026-r2.js.map +1 -1
  13. package/dist/circulars/ni-hsc-tc8-05-2025.d.ts +22 -0
  14. package/dist/circulars/ni-hsc-tc8-05-2025.js +22 -0
  15. package/dist/circulars/ni-hsc-tc8-05-2025.js.map +1 -1
  16. package/dist/circulars/scotland-pcs-dd-2025-01.d.ts +20 -0
  17. package/dist/circulars/scotland-pcs-dd-2025-01.js +20 -0
  18. package/dist/circulars/scotland-pcs-dd-2025-01.js.map +1 -1
  19. package/dist/circulars/scotland-pcs-dd-2026-01.d.ts +19 -0
  20. package/dist/circulars/scotland-pcs-dd-2026-01.js +30 -10
  21. package/dist/circulars/scotland-pcs-dd-2026-01.js.map +1 -1
  22. package/dist/circulars/scotland-pcs-dd-2026-02.d.ts +10 -0
  23. package/dist/circulars/scotland-pcs-dd-2026-02.js +10 -0
  24. package/dist/circulars/scotland-pcs-dd-2026-02.js.map +1 -1
  25. package/dist/circulars/wales-mdw-01-2025.d.ts +17 -0
  26. package/dist/circulars/wales-mdw-01-2025.js +17 -0
  27. package/dist/circulars/wales-mdw-01-2025.js.map +1 -1
  28. package/dist/circulars/wales-mdw-01-2026.d.ts +20 -0
  29. package/dist/circulars/wales-mdw-01-2026.js +20 -0
  30. package/dist/circulars/wales-mdw-01-2026.js.map +1 -1
  31. package/dist/commutation.js +3 -2
  32. package/dist/commutation.js.map +1 -1
  33. package/dist/dental-grades.d.ts +25 -0
  34. package/dist/dental-grades.js +25 -0
  35. package/dist/dental-grades.js.map +1 -0
  36. package/dist/dental-scales.d.ts +5 -21
  37. package/dist/dental-scales.js +73 -72
  38. package/dist/dental-scales.js.map +1 -1
  39. package/dist/format.js +3 -2
  40. package/dist/format.js.map +1 -1
  41. package/dist/hcas-pcts.d.ts +1 -1
  42. package/dist/hcas-zone.d.ts +23 -0
  43. package/dist/hcas-zone.js +17 -0
  44. package/dist/hcas-zone.js.map +1 -0
  45. package/dist/hcas.d.ts +26 -18
  46. package/dist/hcas.js +45 -24
  47. package/dist/hcas.js.map +1 -1
  48. package/dist/index.d.ts +23 -14
  49. package/dist/index.js +13 -9
  50. package/dist/index.js.map +1 -1
  51. package/dist/medical-grades.d.ts +33 -0
  52. package/dist/medical-grades.js +33 -0
  53. package/dist/medical-grades.js.map +1 -0
  54. package/dist/medical-scales.d.ts +10 -33
  55. package/dist/medical-scales.js +104 -158
  56. package/dist/medical-scales.js.map +1 -1
  57. package/dist/member/input-period.d.ts +18 -5
  58. package/dist/member/input-period.js +24 -13
  59. package/dist/member/input-period.js.map +1 -1
  60. package/dist/pay-round.js +3 -3
  61. package/dist/pay-round.js.map +1 -1
  62. package/dist/pay-year.d.ts +17 -0
  63. package/dist/pay-year.js +20 -0
  64. package/dist/pay-year.js.map +1 -0
  65. package/dist/pension/ledger.d.ts +7 -0
  66. package/dist/pension/ledger.js +18 -11
  67. package/dist/pension/ledger.js.map +1 -1
  68. package/dist/pension.js +2 -1
  69. package/dist/pension.js.map +1 -1
  70. package/dist/post.d.ts +20 -21
  71. package/dist/post.js +54 -53
  72. package/dist/post.js.map +1 -1
  73. package/dist/published/england-afc.d.ts +29 -0
  74. package/dist/published/england-afc.js +142 -0
  75. package/dist/published/england-afc.js.map +1 -0
  76. package/dist/published/hcas-zones.d.ts +18 -0
  77. package/dist/published/hcas-zones.js +46 -0
  78. package/dist/published/hcas-zones.js.map +1 -0
  79. package/dist/published/wales-living-wage.d.ts +36 -0
  80. package/dist/published/wales-living-wage.js +30 -0
  81. package/dist/published/wales-living-wage.js.map +1 -0
  82. package/dist/regions.d.ts +25 -14
  83. package/dist/regions.js +61 -71
  84. package/dist/regions.js.map +1 -1
  85. package/dist/resolver.d.ts +46 -41
  86. package/dist/resolver.js +70 -142
  87. package/dist/resolver.js.map +1 -1
  88. package/dist/role.d.ts +3 -3
  89. package/dist/scale-point.d.ts +11 -7
  90. package/dist/scale-point.js +29 -1
  91. package/dist/scale-point.js.map +1 -1
  92. package/dist/scale-tables.d.ts +42 -60
  93. package/dist/scale-tables.js +65 -105
  94. package/dist/scale-tables.js.map +1 -1
  95. package/dist/scale-translators.d.ts +90 -0
  96. package/dist/scale-translators.js +97 -0
  97. package/dist/scale-translators.js.map +1 -0
  98. package/dist/scales.d.ts +138 -101
  99. package/dist/scales.js +221 -457
  100. package/dist/scales.js.map +1 -1
  101. package/dist/sources.d.ts +8 -12
  102. package/dist/sources.js +9 -15
  103. package/dist/sources.js.map +1 -1
  104. package/dist/take-home.js +1 -2
  105. package/dist/take-home.js.map +1 -1
  106. package/dist/values.d.ts +10 -3
  107. package/dist/values.js +11 -4
  108. package/dist/values.js.map +1 -1
  109. package/dist/working-week.d.ts +23 -8
  110. package/dist/working-week.js +55 -25
  111. package/dist/working-week.js.map +1 -1
  112. package/package.json +3 -3
  113. package/dist/bands.d.ts +0 -63
  114. package/dist/bands.js +0 -78
  115. package/dist/bands.js.map +0 -1
package/README.md CHANGED
@@ -31,7 +31,7 @@ Requires `@casomoltd/paye-calc` as a peer dependency; the range it accepts is `p
31
31
  import {AFC_CURRENT_YEAR, getAfcScales} from '@casomoltd/nhs-pay';
32
32
 
33
33
  // A scale belongs to a pay year and a nation; neither has a default.
34
- const {bands} = getAfcScales(AFC_CURRENT_YEAR, 'england');
34
+ const bands = getAfcScales(AFC_CURRENT_YEAR, 'england');
35
35
  const band5 = bands.find((b) => b.band === '5')!;
36
36
  console.log(band5.salary.min); // entry salary
37
37
  console.log(band5.salary.max); // top of band
@@ -52,7 +52,7 @@ import {
52
52
  import {taxYear} from '@casomoltd/paye-calc';
53
53
 
54
54
  const year = AFC_CURRENT_YEAR;
55
- const {bands} = getAfcScales(year, 'england');
55
+ const bands = getAfcScales(year, 'england');
56
56
  const band5 = bands.find((b) => b.band === '5')!;
57
57
  const salary = band5.salary.min;
58
58
  // The contribution tiers are their own dataset, fetched by year and nation.
@@ -76,15 +76,14 @@ console.log(thp.pensionDeduction); // annual pension
76
76
  import {
77
77
  AFC_CURRENT_YEAR,
78
78
  getAfcScales,
79
- calculateHcasSupplement,
79
+ grossSalary,
80
80
  } from '@casomoltd/nhs-pay';
81
81
 
82
- const {bands, hcas} = getAfcScales(AFC_CURRENT_YEAR, 'england');
82
+ // HCAS is England's: grossSalary reads England's zones for the year, and
83
+ // pays a region outside them its base.
84
+ const bands = getAfcScales(AFC_CURRENT_YEAR, 'england');
83
85
  const base = bands[0].salary.min;
84
- const supplement = calculateHcasSupplement(
85
- base, hcas.innerLondon,
86
- );
87
- console.log(base + supplement); // London-adjusted
86
+ console.log(grossSalary(base, 'eng-il', AFC_CURRENT_YEAR)); // London-adjusted
88
87
  ```
89
88
 
90
89
  ### Format salary for display
@@ -107,16 +106,18 @@ const grades = getMedicalScales('2026-27', 'england');
107
106
  const consultant = grades.find((g) => g.grade === 'consultant')!;
108
107
  const top = consultant.points.at(-1)!;
109
108
 
110
- const post = medicalResolver.fromPoint(
111
- 'consultant', top, 'england', '2026-27',
112
- );
109
+ const post = medicalResolver.fromPoint({
110
+ grade: 'consultant', point: top, nation: 'england',
111
+ payYear: '2026-27', // the pay year whose scale `top` came from
112
+ taxYear: '2026-27', // the tax year whose deductions apply
113
+ });
113
114
  console.log(post.salary); // basic pay
114
115
  console.log(post.pensionRate); // member contribution %
115
116
  console.log(post.takeHome.net); // annual net after tax + NI + pension
116
117
  console.log(consultant.source.reference); // the circular it came from
117
118
  ```
118
119
 
119
- `fromPoint` takes the point itself. There is also `fromScalePoint(grade, label, …)` for a caller holding only a label, but a label does not identify a point on every scale — England's consultant scale is 20 payroll steps over 5 threshold labels, so `'Threshold 4'` names six of them and that call throws `AmbiguousScalePoint` rather than picking one.
120
+ `fromPoint` takes the point itself. There is also `fromScalePoint({grade, pointLabel, …})` for a caller holding only a label, but a label does not identify a point on every scale — England's consultant scale is 20 payroll steps over 5 threshold labels, so `'Threshold 4'` names six of them and that call throws `AmbiguousScalePoint` rather than picking one.
120
121
 
121
122
  `getDentalScales` / `dentalResolver` mirror this for salaried dental grades. Both fail loud (`ScaleUnavailable`) for an unpublished nation/year or grade rather than defaulting.
122
123
 
@@ -254,12 +255,14 @@ Without a statement figure, `kind: 'estimation'` accrues from a `joinDate` inste
254
255
 
255
256
  ### AfC pay scales
256
257
 
257
- | Year | Nations | Source |
258
- | ------- | -------------------- | ------ |
259
- | 2025-26 | England, NI, Wales | [NHS Employers pay scales 2025/26][scales-2526] |
260
- | 2026-27 | England, NI | [NHS Employers pay scales 2026/27][scales-2627] |
258
+ **Which data gets a circular file:** where the publisher issues a circular, it is transcribed verbatim in `src/circulars/`; where it publishes a web table, the table is transcribed in `src/published/`, cited and pinned with fixtures. Scotland, Wales and Northern Ireland publish AfC circulars (see [Scotland](#scotland), [Wales](#wales) and [`docs/source-archive.md`](docs/source-archive.md)). England does not: its scales are an NHS Employers web page and a poster, transcribed from the page, as the table below lists. There is no pseudo-circular file for England, which would assert a document that does not exist.
259
+
260
+ | Year | Nation | Source |
261
+ | ------- | ------- | ------ |
262
+ | 2025-26 | England | [NHS Employers pay scales 2025/26][scales-2526] |
263
+ | 2026-27 | England | [NHS Employers pay scales 2026/27][scales-2627] |
261
264
 
262
- Cross-checked against [NHSPRB 39th Report (2026)][nhsprb-39], Table A25 (AfC 2025/26 data for England, NI, Wales).
265
+ Cross-checked for England against [NHSPRB 39th Report (2026)][nhsprb-39], Table A25 (AfC 2025/26 data for England, NI, Wales).
263
266
 
264
267
  [scales-2526]: https://www.nhsemployers.org/articles/pay-scales-202526
265
268
  [scales-2627]: https://www.nhsemployers.org/articles/pay-scales-202627
@@ -297,7 +300,7 @@ That promise is exact for a statement handed over **with its date**. Passing the
297
300
 
298
301
  ### Scotland
299
302
 
300
- Scotland negotiates its own AfC award independently and has completely different base salaries from England. Separate scale tables are stored for each tax year — `getAfcScales(year, 'scotland')` returns Scotland figures directly. Scotland also has structural differences: Band 2 has 2 points (vs 1 in England) and Bands 8a–9 have 2 points each (vs 3).
303
+ Scotland negotiates its own AfC award independently and has completely different base salaries from England. Separate scale tables are stored for each pay year — `getAfcScales(year, 'scotland')` returns Scotland figures directly. Scotland also has structural differences: Bands 8a–9 have 2 points each (vs 3 in England).
301
304
 
302
305
  Source: [PCS(AFC)2026/1][scot-circular] — Scottish Health Workforce Directorate circular (23 Jan 2026). Annex B holds both years' rate tables; Annex C sets them out increment by increment and corroborates Annex B point for point.
303
306
 
@@ -309,7 +312,7 @@ Scotland's 2025-26 settlement was 4.25%, but carried an inflation guarantee —
309
312
 
310
313
  Wales runs its own pay ladder and both years are transcribed from it: [AfC(W) 02/2025][wales-2025] (29 May 2025) and [AfC(W) 02/2026][wales-2026] (12 Feb 2026), Annex 1 of each.
311
314
 
312
- Wales is **not** England's table with a floor applied. The two ladders differ at every band from 4 upward, where no floor reaches: Band 9 tops out at £131,732 in Wales against £129,783 in England. A floor lifts the bottom of a ladder and cannot raise its top. Wales also carries two Band 2 points where England has one.
315
+ Wales is **not** England's table with a floor applied. The two ladders differ at every band from 4 upward, where no floor reaches: Band 9 tops out at £131,732 in Wales against £129,783 in England. A floor lifts the bottom of a ladder and cannot raise its top. Wales carries two Band 2 points, as England does; Northern Ireland's has one.
313
316
 
314
317
  Point labels come from each circular's own "years until eligible for pay progression" column, so they are stated by the Welsh source rather than borrowed from England's table, and they do not always agree with England's for the same band.
315
318
 
@@ -329,11 +332,10 @@ Both Welsh years were transcribed during an outage of the NHS Wales web estate (
329
332
  | ---------------------- | ------ |
330
333
  | Pension contribution rates 2025/26 | [NHSBSA contribution rates][pension-2526] |
331
334
  | Income tax / NI rates | gov.uk (via paye-calc) |
332
- | National Living Wage | [gov.uk NLW rates][nlw] |
335
+ | National Living Wage | paye-calc (`nationalLivingWageHourly`) |
333
336
  | HCAS PCT zones | NHS Employers Annex 8 Table 12 |
334
337
 
335
338
  [pension-2526]: https://www.nhsbsa.nhs.uk/nhs-pensions-contribution-rates-202526
336
- [nlw]: https://www.gov.uk/national-minimum-wage-rates
337
339
 
338
340
  ## Medical & dental pay scales
339
341
 
@@ -6,14 +6,9 @@
6
6
  * own table shape; this module maps them to the uniform
7
7
  * `Record<AfcBandId, SteppedPoint[]>` the rest of the library speaks.
8
8
  *
9
- * **England is a deliberate exception and stays in `scales.ts`.** It
10
- * publishes no AfC circular — its scales are an NHS Employers web page
11
- * plus a poster — so there is nothing to transcribe. The rule this
12
- * layer follows is: *where the publisher issues a circular, transcribe
13
- * it verbatim; where it publishes a web table, cite it and pin it with
14
- * fixtures.* Inventing a pseudo-circular file for England to make the
15
- * four shapes match would assert a document that does not exist, which
16
- * is worse than the asymmetry.
9
+ * **England is the exception:** it publishes no AfC circular, so its
10
+ * tables are transcribed from the publisher's page in
11
+ * `published/england-afc.ts` (the README's AfC pay scales rule).
17
12
  *
18
13
  * ── Point labels are DERIVED here, not authored ──
19
14
  *
@@ -70,11 +65,45 @@ export declare function afcBand1(year: PayYear, nation: Nation): AfcBand1Publish
70
65
  * back out of the label. The one producer of both, for all four nations.
71
66
  */
72
67
  export declare function afcPoint(year: number, isTop: boolean, salary: number): SteppedPoint;
68
+ /**
69
+ * Wales's own ladders, read from Annex 1 of "Wales, AfC(W) 02/2025"
70
+ * (#sa-44) and "Wales, AfC(W) 02/2026" (#sa-45). They differ from
71
+ * England's at every band from 4 upward, so England's figures plus a
72
+ * living-wage floor reproduce neither year: the floor lifts the bottom of
73
+ * a ladder and cannot raise its top. Band 2 carries two points, as
74
+ * England's does. Band 1 is published in both years and closed to new
75
+ * entrants; it is absent here because `AFC_BANDS` starts at Band 2, and
76
+ * reachable through `afcBand1`.
77
+ */
73
78
  export declare const WALES_SCALES_2025_26: Record<AfcBandId, SteppedPoint[]>;
74
79
  export declare const WALES_SCALES_2026_27: Record<AfcBandId, SteppedPoint[]>;
80
+ /**
81
+ * Northern Ireland's ladder, from HSC (AfC) 06/2025 (3 December 2025,
82
+ * effective 1 April 2025), translated from NI's own circular.
83
+ *
84
+ * ONE year. NI has issued no 2026-27 AfC pay circular: the Health
85
+ * Minister stated a desire to proceed with 3.3% on 12 February 2026
86
+ * "subject to my budgetary position", and as at the Assembly answer of
87
+ * 15 July 2026 (AQW 49635/22-27) he "cannot" pay it
88
+ * "until I have clarity on my Department's budget". HSC staff are
89
+ * on these rates as at that answer. The 3.3% is still recorded in `award.ts` —
90
+ * announced and published are different things.
91
+ *
92
+ * The figures are England's for every band, because NI's circular prints
93
+ * the same numbers. They are read from NI's circular, not England's table,
94
+ * so they coincide as a fact about the two documents and NI can diverge
95
+ * without a code change. Its Basic Pay block prints Bands 1 and 2 as
96
+ * single flat figures and starts its entry/interval/top table at Band 3,
97
+ * so Band 2 is ONE point where England's is two.
98
+ *
99
+ * All 29 values are pinned against the circular in
100
+ * `tests/fixtures/pay-scales.csv`.
101
+ */
75
102
  export declare const NI_SCALES_2025_26: Record<AfcBandId, SteppedPoint[]>;
76
103
  /**
77
- * Scotland 2026-27, from Annex C.
104
+ * Scotland 2026-27, from Annex C: 3.75% on the revised 2025-26 base, so
105
+ * the inflation guarantee reaches this year too. Source: "Scotland,
106
+ * PCS(AFC)2026/1" (#sa-13), effective 1 April 2026.
78
107
  *
79
108
  * Annex C rather than Annex B because only Annex C carries the year of
80
109
  * service. Annex B gives the same salaries against a bare point
@@ -92,7 +121,11 @@ export declare const SCOTLAND_SCALES_2026_27: Record<AfcBandId, SteppedPoint[]>;
92
121
  */
93
122
  export declare function scotlandAnnexB(year: '2025-26' | '2026-27'): Map<AfcBandId, number[]>;
94
123
  /**
95
- * Scotland 2025-26.
124
+ * Scotland 2025-26. Scotland negotiates its own award: the 2025-26
125
+ * settlement was 4.25% with an inflation guarantee of at least one point
126
+ * above the calendar year's average CPI. 2025 CPI confirmed at 3.4%, so
127
+ * the rate became 4.4%, backdated to 1 April 2025. Source: "Scotland,
128
+ * PCS(AFC)2026/1" (#sa-13), Annex B, the revised 4.4% column.
96
129
  *
97
130
  * Built from the 2026-27 journey's SHAPE with Annex B's 2025-26
98
131
  * salaries: the circular prints an identical increment structure for
@@ -6,14 +6,9 @@
6
6
  * own table shape; this module maps them to the uniform
7
7
  * `Record<AfcBandId, SteppedPoint[]>` the rest of the library speaks.
8
8
  *
9
- * **England is a deliberate exception and stays in `scales.ts`.** It
10
- * publishes no AfC circular — its scales are an NHS Employers web page
11
- * plus a poster — so there is nothing to transcribe. The rule this
12
- * layer follows is: *where the publisher issues a circular, transcribe
13
- * it verbatim; where it publishes a web table, cite it and pin it with
14
- * fixtures.* Inventing a pseudo-circular file for England to make the
15
- * four shapes match would assert a document that does not exist, which
16
- * is worse than the asymmetry.
9
+ * **England is the exception:** it publishes no AfC circular, so its
10
+ * tables are transcribed from the publisher's page in
11
+ * `published/england-afc.ts` (the README's AfC pay scales rule).
17
12
  *
18
13
  * ── Point labels are DERIVED here, not authored ──
19
14
  *
@@ -30,7 +25,7 @@
30
25
  * nothing to catch it; computed from the transcribed interval, a
31
26
  * mis-read interval produces a wrong label that a fixture row fails on.
32
27
  */
33
- import { NATION_KEYS, TAX_YEARS, payYear } from '@casomoltd/paye-calc';
28
+ import { NATION_KEYS, YEAR_LABELS, payYear } from '@casomoltd/paye-calc';
34
29
  import { AFC_NI_2025, AFC_SCOTLAND, AFC_W_02_2025, AFC_W_02_2026, } from './sources.js';
35
30
  import { AFC_BANDS } from './afc-band.js';
36
31
  import { invariant } from './errors.js';
@@ -82,18 +77,18 @@ const BAND_1 = {
82
77
  // Band 1 means deciding that separately.
83
78
  [NATION_KEYS.england]: [],
84
79
  [NATION_KEYS.wales]: [
85
- band1Of(WALES_AFC_W_02_2025.flatBands, payYear(TAX_YEARS.Y2025_26), AFC_W_02_2025, 'AfC(W) 02/2025'),
86
- band1Of(WALES_AFC_W_02_2026.flatBands, payYear(TAX_YEARS.Y2026_27), AFC_W_02_2026, 'AfC(W) 02/2026'),
80
+ band1Of(WALES_AFC_W_02_2025.flatBands, payYear(YEAR_LABELS.Y2025_26), AFC_W_02_2025, 'AfC(W) 02/2025'),
81
+ band1Of(WALES_AFC_W_02_2026.flatBands, payYear(YEAR_LABELS.Y2026_27), AFC_W_02_2026, 'AfC(W) 02/2026'),
87
82
  ],
88
83
  [NATION_KEYS.northernIreland]: [
89
- band1Of(NI_HSC_AFC_06_2025.flatBands, payYear(TAX_YEARS.Y2025_26), AFC_NI_2025, 'HSC (AfC) 06/2025'),
84
+ band1Of(NI_HSC_AFC_06_2025.flatBands, payYear(YEAR_LABELS.Y2025_26), AFC_NI_2025, 'HSC (AfC) 06/2025'),
90
85
  ],
91
86
  // Scotland is the exception the whole accessor exists for: its
92
87
  // PCS(AFC)2026/1 carries no closure statement for Band 1 and gives it
93
88
  // a full Annex C pay journey, so it is a band people are hired onto.
94
89
  [NATION_KEYS.scotland]: [
95
- band1FromAnnexB(SCOTLAND_PCS_AFC_2026_01.annexB2025, payYear(TAX_YEARS.Y2025_26)),
96
- band1FromAnnexB(SCOTLAND_PCS_AFC_2026_01.annexB2026, payYear(TAX_YEARS.Y2026_27)),
90
+ band1FromAnnexB(SCOTLAND_PCS_AFC_2026_01.annexB2025, payYear(YEAR_LABELS.Y2025_26)),
91
+ band1FromAnnexB(SCOTLAND_PCS_AFC_2026_01.annexB2026, payYear(YEAR_LABELS.Y2026_27)),
97
92
  ],
98
93
  };
99
94
  /** Band 1 from a circular's flat-band table, which is where the three
@@ -261,11 +256,45 @@ function scotlandScales(journey) {
261
256
  }
262
257
  return assertEveryBand(out);
263
258
  }
259
+ /**
260
+ * Wales's own ladders, read from Annex 1 of "Wales, AfC(W) 02/2025"
261
+ * (#sa-44) and "Wales, AfC(W) 02/2026" (#sa-45). They differ from
262
+ * England's at every band from 4 upward, so England's figures plus a
263
+ * living-wage floor reproduce neither year: the floor lifts the bottom of
264
+ * a ladder and cannot raise its top. Band 2 carries two points, as
265
+ * England's does. Band 1 is published in both years and closed to new
266
+ * entrants; it is absent here because `AFC_BANDS` starts at Band 2, and
267
+ * reachable through `afcBand1`.
268
+ */
264
269
  export const WALES_SCALES_2025_26 = scalesFrom(WALES_AFC_W_02_2025.flatBands, WALES_AFC_W_02_2025.steppedBands);
265
270
  export const WALES_SCALES_2026_27 = scalesFrom(WALES_AFC_W_02_2026.flatBands, WALES_AFC_W_02_2026.steppedBands);
271
+ /**
272
+ * Northern Ireland's ladder, from HSC (AfC) 06/2025 (3 December 2025,
273
+ * effective 1 April 2025), translated from NI's own circular.
274
+ *
275
+ * ONE year. NI has issued no 2026-27 AfC pay circular: the Health
276
+ * Minister stated a desire to proceed with 3.3% on 12 February 2026
277
+ * "subject to my budgetary position", and as at the Assembly answer of
278
+ * 15 July 2026 (AQW 49635/22-27) he "cannot" pay it
279
+ * "until I have clarity on my Department's budget". HSC staff are
280
+ * on these rates as at that answer. The 3.3% is still recorded in `award.ts` —
281
+ * announced and published are different things.
282
+ *
283
+ * The figures are England's for every band, because NI's circular prints
284
+ * the same numbers. They are read from NI's circular, not England's table,
285
+ * so they coincide as a fact about the two documents and NI can diverge
286
+ * without a code change. Its Basic Pay block prints Bands 1 and 2 as
287
+ * single flat figures and starts its entry/interval/top table at Band 3,
288
+ * so Band 2 is ONE point where England's is two.
289
+ *
290
+ * All 29 values are pinned against the circular in
291
+ * `tests/fixtures/pay-scales.csv`.
292
+ */
266
293
  export const NI_SCALES_2025_26 = scalesFrom(NI_HSC_AFC_06_2025.flatBands, NI_HSC_AFC_06_2025.steppedBands);
267
294
  /**
268
- * Scotland 2026-27, from Annex C.
295
+ * Scotland 2026-27, from Annex C: 3.75% on the revised 2025-26 base, so
296
+ * the inflation guarantee reaches this year too. Source: "Scotland,
297
+ * PCS(AFC)2026/1" (#sa-13), effective 1 April 2026.
269
298
  *
270
299
  * Annex C rather than Annex B because only Annex C carries the year of
271
300
  * service. Annex B gives the same salaries against a bare point
@@ -296,7 +325,11 @@ export function scotlandAnnexB(year) {
296
325
  return out;
297
326
  }
298
327
  /**
299
- * Scotland 2025-26.
328
+ * Scotland 2025-26. Scotland negotiates its own award: the 2025-26
329
+ * settlement was 4.25% with an inflation guarantee of at least one point
330
+ * above the calendar year's average CPI. 2025 CPI confirmed at 3.4%, so
331
+ * the rate became 4.4%, backdated to 1 April 2025. Source: "Scotland,
332
+ * PCS(AFC)2026/1" (#sa-13), Annex B, the revised 4.4% column.
300
333
  *
301
334
  * Built from the 2026-27 journey's SHAPE with Annex B's 2025-26
302
335
  * salaries: the circular prints an identical increment structure for
@@ -314,6 +347,7 @@ export const SCOTLAND_SCALES_2025_26 = (() => {
314
347
  invariant(yearSalaries !== undefined
315
348
  && yearSalaries.length === points.length, `afc-scales: Scotland ${band} has ${points.length} points in `
316
349
  + `Annex C but ${yearSalaries?.length ?? 0} in Annex B 2025-26`);
350
+ // The lengths are pinned equal above, so every point has its salary.
317
351
  out[band] = points.map((point, i) => ({
318
352
  ...point,
319
353
  salary: yearSalaries[i],
@@ -1 +1 @@
1
- {"version":3,"file":"afc-scales.js","sourceRoot":"","sources":["../src/afc-scales.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,EAAC,WAAW,EAAE,SAAS,EAAE,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAErE,OAAO,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AAExC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAMtC,OAAO,EAAC,mBAAmB,EAAC,MAAM,oCAAo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,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;YACpC,GAAG,KAAK;YACR,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC;SACxB,CAAC,CAAC,CAAC;IACN,CAAC;IACD,OAAO,eAAe,CAAC,GAAG,CAAC,CAAC;AAC9B,CAAC,CAAC,EAAE,CAAC"}
@@ -29,7 +29,7 @@
29
29
  */
30
30
  import { payYear } from '@casomoltd/paye-calc';
31
31
  import { isoDate } from './iso-date.js';
32
- import { NATION_KEYS, TAX_YEARS } from '@casomoltd/paye-calc';
32
+ import { NATION_KEYS, YEAR_LABELS } from '@casomoltd/paye-calc';
33
33
  import { AFC_NI_2025, AFC_SCOTLAND, AFC_W_02_2025, AFC_W_02_2026, } from './sources.js';
34
34
  import { NI_HSC_AFC_06_2025, } from './circulars/ni-hsc-afc-06-2025.js';
35
35
  import { invariant } from './errors.js';
@@ -112,7 +112,7 @@ const RATES = [
112
112
  {
113
113
  id: SESSION_ALLOWANCES.scotlandOnCallAvailability,
114
114
  label: 'On-call availability allowance',
115
- year: payYear(TAX_YEARS.Y2025_26),
115
+ year: payYear(YEAR_LABELS.Y2025_26),
116
116
  perSession: 26.51,
117
117
  effectiveFrom: isoDate('2025-04-01'),
118
118
  source: AFC_SCOTLAND,
@@ -120,7 +120,7 @@ const RATES = [
120
120
  {
121
121
  id: SESSION_ALLOWANCES.scotlandOnCallAvailability,
122
122
  label: 'On-call availability allowance',
123
- year: payYear(TAX_YEARS.Y2026_27),
123
+ year: payYear(YEAR_LABELS.Y2026_27),
124
124
  perSession: 27.51,
125
125
  effectiveFrom: isoDate('2026-04-01'),
126
126
  source: AFC_SCOTLAND,
@@ -132,7 +132,7 @@ const RATES = [
132
132
  {
133
133
  id: SESSION_ALLOWANCES.walesSleepingIn,
134
134
  label: 'Sleeping in',
135
- year: payYear(TAX_YEARS.Y2025_26),
135
+ year: payYear(YEAR_LABELS.Y2025_26),
136
136
  perSession: 43.38,
137
137
  effectiveFrom: isoDate('2025-04-01'),
138
138
  source: AFC_W_02_2025,
@@ -140,7 +140,7 @@ const RATES = [
140
140
  {
141
141
  id: SESSION_ALLOWANCES.walesOnCallWeekday,
142
142
  label: 'On call, weekday or weekend',
143
- year: payYear(TAX_YEARS.Y2025_26),
143
+ year: payYear(YEAR_LABELS.Y2025_26),
144
144
  perSession: 25.21,
145
145
  effectiveFrom: isoDate('2025-04-01'),
146
146
  source: AFC_W_02_2025,
@@ -148,7 +148,7 @@ const RATES = [
148
148
  {
149
149
  id: SESSION_ALLOWANCES.walesOnCallPublicHoliday,
150
150
  label: 'On call, public holiday',
151
- year: payYear(TAX_YEARS.Y2025_26),
151
+ year: payYear(YEAR_LABELS.Y2025_26),
152
152
  perSession: 50.41,
153
153
  effectiveFrom: isoDate('2025-04-01'),
154
154
  source: AFC_W_02_2025,
@@ -156,7 +156,7 @@ const RATES = [
156
156
  {
157
157
  id: SESSION_ALLOWANCES.walesSleepingIn,
158
158
  label: 'Sleeping in',
159
- year: payYear(TAX_YEARS.Y2026_27),
159
+ year: payYear(YEAR_LABELS.Y2026_27),
160
160
  perSession: 44.82,
161
161
  effectiveFrom: isoDate('2026-04-01'),
162
162
  source: AFC_W_02_2026,
@@ -164,7 +164,7 @@ const RATES = [
164
164
  {
165
165
  id: SESSION_ALLOWANCES.walesOnCallWeekday,
166
166
  label: 'On call, weekday or weekend',
167
- year: payYear(TAX_YEARS.Y2026_27),
167
+ year: payYear(YEAR_LABELS.Y2026_27),
168
168
  perSession: 26.05,
169
169
  effectiveFrom: isoDate('2026-04-01'),
170
170
  source: AFC_W_02_2026,
@@ -172,7 +172,7 @@ const RATES = [
172
172
  {
173
173
  id: SESSION_ALLOWANCES.walesOnCallPublicHoliday,
174
174
  label: 'On call, public holiday',
175
- year: payYear(TAX_YEARS.Y2026_27),
175
+ year: payYear(YEAR_LABELS.Y2026_27),
176
176
  perSession: 52.08,
177
177
  effectiveFrom: isoDate('2026-04-01'),
178
178
  source: AFC_W_02_2026,
@@ -185,7 +185,7 @@ const RATES = [
185
185
  {
186
186
  id: SESSION_ALLOWANCES.niSleepIn,
187
187
  label: 'Sleeping in',
188
- year: payYear(TAX_YEARS.Y2025_26),
188
+ year: payYear(YEAR_LABELS.Y2025_26),
189
189
  perSession: NI_HSC_AFC_06_2025.allowances.sleepIn,
190
190
  effectiveFrom: isoDate('2025-04-01'),
191
191
  source: AFC_NI_2025,
@@ -193,7 +193,7 @@ const RATES = [
193
193
  {
194
194
  id: SESSION_ALLOWANCES.niOnCall,
195
195
  label: 'On call',
196
- year: payYear(TAX_YEARS.Y2025_26),
196
+ year: payYear(YEAR_LABELS.Y2025_26),
197
197
  perSession: NI_HSC_AFC_06_2025.allowances.onCall,
198
198
  effectiveFrom: isoDate('2025-04-01'),
199
199
  source: AFC_NI_2025,
@@ -1 +1 @@
1
- {"version":3,"file":"allowances.js","sourceRoot":"","sources":["../src/allowances.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAGH,OAAO,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAE7C,OAAO,EAAC,OAAO,EAAC,MAAM,eAAe,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,kBAAkB,GACnB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAEtC;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,0BAA0B,EACxB,+BAA+B;IACjC,eAAe,EAAE,mBAAmB;IACpC,kBAAkB,EAAE,+BAA+B;IACnD,wBAAwB,EACtB,8BAA8B;IAChC,SAAS,EAAE,2BAA2B;IACtC,QAAQ,EAAE,0BAA0B;CAC5B,CAAC;AAOX;;;;;;;;GAQG;AACH,MAAM,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1B,OAAO,EAAC,GAAG,IAAI,EAAE,MAAM,EAAE,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC,EAAC,CAAC;AACtD,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,MAAc;IAEd,OAAO,KAAK;SACT,MAAM,CACL,CAAC,CAAC,EAAE,EAAE,CACJ,CAAC,CAAC,IAAI,KAAK,IAAI;WACZ,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,MAAM,CACvC;SACA,GAAG,CAAC,UAAU,CAAC,CAAC;AACrB,CAAC;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,gBAAgB,CAC9B,EAAsB,EACtB,IAAa;IAEb,MAAM,IAAI,GAAG,KAAK,CAAC,IAAI,CACrB,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CACtC,CAAC;IACF,OAAO,IAAI,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC"}
package/dist/award.d.ts CHANGED
@@ -39,9 +39,9 @@
39
39
  import type { Nation, PayYear } from '@casomoltd/paye-calc';
40
40
  import type { IsoDate, IsoMonth } from './iso-date.js';
41
41
  import { DocumentSource } from './document-source.js';
42
- import type { AfcBandId } from './scales.js';
43
- import type { MedicalGradeId } from './medical-scales.js';
44
- import type { DentalGradeId } from './dental-scales.js';
42
+ import type { AfcBandId } from './afc-band.js';
43
+ import type { MedicalGradeId } from './medical-grades.js';
44
+ import type { DentalGradeId } from './dental-grades.js';
45
45
  /**
46
46
  * Every identifier that names a pay scale, across both frameworks —
47
47
  * 11 AfC bands, 22 medical grades, 13 dental. The three sets are
package/dist/award.js CHANGED
@@ -38,13 +38,13 @@
38
38
  */
39
39
  import { payYear } from '@casomoltd/paye-calc';
40
40
  import { isoDate, isoMonth } from './iso-date.js';
41
- import { NATION_KEYS, TAX_YEARS } from '@casomoltd/paye-calc';
41
+ import { NATION_KEYS, YEAR_LABELS } from '@casomoltd/paye-calc';
42
42
  import { AwardUnavailable } from './errors.js';
43
43
  import { DocumentSource } from './document-source.js';
44
44
  import { AFC_ENGLAND_2025, AFC_ENGLAND_2026, AFC_NI_2025, AFC_NI_2026, AFC_SCOTLAND, AFC_WALES_2025, AFC_WALES_2026, DDRB_54_ENGLAND, DDRB_54_SCOTLAND, PCS_DD_2026_01, DDRB_54_WALES, } from './sources.js';
45
- import { AFC_BANDS, AFC_BAND_IDS } from './scales.js';
46
- import { MEDICAL_GRADES, MEDICAL_GRADE_IDS } from './medical-scales.js';
47
- import { DENTAL_GRADES, DENTAL_GRADE_IDS } from './dental-scales.js';
45
+ import { AFC_BANDS, AFC_BAND_IDS } from './afc-band.js';
46
+ import { MEDICAL_GRADES, MEDICAL_GRADE_IDS } from './medical-grades.js';
47
+ import { DENTAL_GRADES, DENTAL_GRADE_IDS } from './dental-grades.js';
48
48
  /**
49
49
  * The staff groups an award is announced for. These are the AWARD's
50
50
  * own groupings, coarser than a reader-facing role: one figure covers
@@ -160,7 +160,7 @@ const SCOTLAND_2026_IN_PAY_WORDS = 'begin appearing in salaries at the end of Se
160
160
  const AWARD_ROWS = [
161
161
  {
162
162
  kind: 'settled',
163
- nation: NATION_KEYS.england, year: payYear(TAX_YEARS.Y2026_27),
163
+ nation: NATION_KEYS.england, year: payYear(YEAR_LABELS.Y2026_27),
164
164
  family: AWARD_FAMILIES.medical, pct: 3.5,
165
165
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-06'),
166
166
  source: DDRB_54_ENGLAND,
@@ -174,33 +174,33 @@ const AWARD_ROWS = [
174
174
  // scale delta are different quantities here, and a consumer
175
175
  // presenting this figure as the whole rise would understate it.
176
176
  kind: 'settled',
177
- nation: NATION_KEYS.england, year: payYear(TAX_YEARS.Y2026_27),
177
+ nation: NATION_KEYS.england, year: payYear(YEAR_LABELS.Y2026_27),
178
178
  family: AWARD_FAMILIES.resident, pct: 3.5,
179
179
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-06'),
180
180
  source: DDRB_54_ENGLAND,
181
181
  },
182
182
  {
183
183
  kind: 'settled',
184
- nation: NATION_KEYS.england, year: payYear(TAX_YEARS.Y2026_27),
184
+ nation: NATION_KEYS.england, year: payYear(YEAR_LABELS.Y2026_27),
185
185
  family: AWARD_FAMILIES.salariedDental, pct: 3.75,
186
186
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-06'),
187
187
  source: DDRB_54_ENGLAND,
188
188
  },
189
189
  {
190
190
  kind: 'settled',
191
- nation: NATION_KEYS.wales, year: payYear(TAX_YEARS.Y2026_27),
191
+ nation: NATION_KEYS.wales, year: payYear(YEAR_LABELS.Y2026_27),
192
192
  family: AWARD_FAMILIES.medical, pct: 3.5,
193
193
  effectiveFrom: isoDate('2026-04-01'), source: DDRB_54_WALES,
194
194
  },
195
195
  {
196
196
  kind: 'settled',
197
- nation: NATION_KEYS.wales, year: payYear(TAX_YEARS.Y2026_27),
197
+ nation: NATION_KEYS.wales, year: payYear(YEAR_LABELS.Y2026_27),
198
198
  family: AWARD_FAMILIES.resident, pct: 3.5,
199
199
  effectiveFrom: isoDate('2026-04-01'), source: DDRB_54_WALES,
200
200
  },
201
201
  {
202
202
  kind: 'settled',
203
- nation: NATION_KEYS.wales, year: payYear(TAX_YEARS.Y2026_27),
203
+ nation: NATION_KEYS.wales, year: payYear(YEAR_LABELS.Y2026_27),
204
204
  family: AWARD_FAMILIES.salariedDental, pct: 3.75,
205
205
  effectiveFrom: isoDate('2026-04-01'), source: DDRB_54_WALES,
206
206
  },
@@ -217,7 +217,7 @@ const AWARD_ROWS = [
217
217
  // them.
218
218
  {
219
219
  kind: 'settled',
220
- nation: NATION_KEYS.scotland, year: payYear(TAX_YEARS.Y2026_27),
220
+ nation: NATION_KEYS.scotland, year: payYear(YEAR_LABELS.Y2026_27),
221
221
  family: AWARD_FAMILIES.resident, pct: 3.75,
222
222
  effectiveFrom: isoDate('2026-04-01'),
223
223
  // No `expectedInPay`: the circular is dated the day it takes
@@ -227,7 +227,7 @@ const AWARD_ROWS = [
227
227
  },
228
228
  {
229
229
  kind: 'settled',
230
- nation: NATION_KEYS.scotland, year: payYear(TAX_YEARS.Y2026_27),
230
+ nation: NATION_KEYS.scotland, year: payYear(YEAR_LABELS.Y2026_27),
231
231
  family: AWARD_FAMILIES.medical, pct: 3.5,
232
232
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-09'),
233
233
  // The announcement's own words, quoted because they are finer
@@ -237,7 +237,7 @@ const AWARD_ROWS = [
237
237
  },
238
238
  {
239
239
  kind: 'settled',
240
- nation: NATION_KEYS.scotland, year: payYear(TAX_YEARS.Y2026_27),
240
+ nation: NATION_KEYS.scotland, year: payYear(YEAR_LABELS.Y2026_27),
241
241
  family: AWARD_FAMILIES.salariedDental, pct: 3.75,
242
242
  effectiveFrom: isoDate('2026-04-01'), expectedInPay: isoMonth('2026-09'),
243
243
  // One announcement covers both families, so both quote it.
@@ -249,22 +249,22 @@ const AWARD_ROWS = [
249
249
  // ── Agenda for Change ──
250
250
  {
251
251
  kind: 'settled', nation: NATION_KEYS.england,
252
- year: payYear(TAX_YEARS.Y2025_26), family: AWARD_FAMILIES.afc,
252
+ year: payYear(YEAR_LABELS.Y2025_26), family: AWARD_FAMILIES.afc,
253
253
  pct: 3.6, effectiveFrom: isoDate('2025-04-01'), source: AFC_ENGLAND_2025,
254
254
  },
255
255
  {
256
256
  kind: 'settled', nation: NATION_KEYS.england,
257
- year: payYear(TAX_YEARS.Y2026_27), family: AWARD_FAMILIES.afc,
257
+ year: payYear(YEAR_LABELS.Y2026_27), family: AWARD_FAMILIES.afc,
258
258
  pct: 3.3, effectiveFrom: isoDate('2026-04-01'), source: AFC_ENGLAND_2026,
259
259
  },
260
260
  {
261
261
  kind: 'settled', nation: NATION_KEYS.wales,
262
- year: payYear(TAX_YEARS.Y2025_26), family: AWARD_FAMILIES.afc,
262
+ year: payYear(YEAR_LABELS.Y2025_26), family: AWARD_FAMILIES.afc,
263
263
  pct: 3.6, effectiveFrom: isoDate('2025-04-01'), source: AFC_WALES_2025,
264
264
  },
265
265
  {
266
266
  kind: 'settled', nation: NATION_KEYS.wales,
267
- year: payYear(TAX_YEARS.Y2026_27), family: AWARD_FAMILIES.afc,
267
+ year: payYear(YEAR_LABELS.Y2026_27), family: AWARD_FAMILIES.afc,
268
268
  pct: 3.3, effectiveFrom: isoDate('2026-04-01'), source: AFC_WALES_2026,
269
269
  },
270
270
  {
@@ -274,23 +274,23 @@ const AWARD_ROWS = [
274
274
  // PCS(AFC)2026/1 adjusted the rate backdated to 1 April 2025 with
275
275
  // arrears. 4.4% is the headline in force, not an average.
276
276
  kind: 'settled', nation: NATION_KEYS.scotland,
277
- year: payYear(TAX_YEARS.Y2025_26), family: AWARD_FAMILIES.afc,
277
+ year: payYear(YEAR_LABELS.Y2025_26), family: AWARD_FAMILIES.afc,
278
278
  pct: 4.4, effectiveFrom: isoDate('2025-04-01'), source: AFC_SCOTLAND,
279
279
  },
280
280
  {
281
281
  kind: 'settled', nation: NATION_KEYS.scotland,
282
- year: payYear(TAX_YEARS.Y2026_27), family: AWARD_FAMILIES.afc,
282
+ year: payYear(YEAR_LABELS.Y2026_27), family: AWARD_FAMILIES.afc,
283
283
  pct: 3.75, effectiveFrom: isoDate('2026-04-01'), source: AFC_SCOTLAND,
284
284
  },
285
285
  {
286
286
  kind: 'settled', nation: NATION_KEYS.northernIreland,
287
- year: payYear(TAX_YEARS.Y2025_26), family: AWARD_FAMILIES.afc,
287
+ year: payYear(YEAR_LABELS.Y2025_26), family: AWARD_FAMILIES.afc,
288
288
  pct: 3.6, effectiveFrom: isoDate('2025-04-01'), source: AFC_NI_2025,
289
289
  },
290
290
  {
291
291
  // Weaker instrument than every other row — see AFC_NI_2026.
292
292
  kind: 'settled', nation: NATION_KEYS.northernIreland,
293
- year: payYear(TAX_YEARS.Y2026_27), family: AWARD_FAMILIES.afc,
293
+ year: payYear(YEAR_LABELS.Y2026_27), family: AWARD_FAMILIES.afc,
294
294
  pct: 3.3, effectiveFrom: isoDate('2026-04-01'), source: AFC_NI_2026,
295
295
  },
296
296
  ];