@classytic/ca-tax 0.0.21 → 0.0.23

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.
package/dist/forms.mjs CHANGED
@@ -1327,7 +1327,7 @@ const AT1_JACKET_BLOCK_HEADINGS = [
1327
1327
  text: "am an authorized signing officer of the corporation. I certify this return, including accompanying schedules and statements, has been examined by me and is a true, correct and complete return. I further certify that the method of computing income for this taxation year is consistent with that of the previous taxation year except as specifically disclosed in a statement to this return."
1328
1328
  }
1329
1329
  ];
1330
- const FOOTNOTES = [
1330
+ const FOOTNOTES$1 = [
1331
1331
  "*All address changes should be done via TRACS or contacting TRA.",
1332
1332
  "**The address will not be updated unless it is a first time filer.",
1333
1333
  "if the corporation has permanent establishments only in Alberta, multiply by \"1\"",
@@ -1348,7 +1348,7 @@ const FOOTNOTES = [
1348
1348
  * Index 2 is the only one with a `mark`, for the reason given above the
1349
1349
  * footnote array itself.
1350
1350
  */
1351
- const FOOTNOTE_PLACEMENT$2 = [
1351
+ const FOOTNOTE_PLACEMENT$3 = [
1352
1352
  {
1353
1353
  footnote: 0,
1354
1354
  section: "identification"
@@ -1455,8 +1455,8 @@ const AT1_JACKET = {
1455
1455
  retrieved: "2026-09-14",
1456
1456
  revision: "TRA11722 (AT1) Rev. 2025-07, for 2004 and subsequent taxation years, read alongside the AT1 Net File specification 2025.2 Chapter 3 cross-reference tables (research/sources/tra-spec/AT1-Chapter3-2025.2-full.txt, retrieved 2026-08-14) — which remains the authority on the Line-Item-IDs, the M/O/X requirement per field and the nine lines the RSI still carries that this form no longer prints. Held the specification’s captions, its numeric field order and 59 of the page’s 62 numbered boxes until the 2026-09-14 re-read of both pages, which added the three printed subtotals (066, 079, 088), put every caption into the page’s own words, replaced the numeric-band section function with a per-line table off the page, re-sorted the fields into printed order, and transcribed the day-band table, the six code lists, the nine in-box headings and the seven footnotes a flat field list cannot hold. Line 004 remains deliberately unmodelled — see AT1_JACKET_DEPARTMENT_USE."
1457
1457
  },
1458
- footnotes: FOOTNOTES,
1459
- footnotePlacement: FOOTNOTE_PLACEMENT$2
1458
+ footnotes: FOOTNOTES$1,
1459
+ footnotePlacement: FOOTNOTE_PLACEMENT$3
1460
1460
  };
1461
1461
  /**
1462
1462
  * The "For Department Use" box, and the one printed number this file does not
@@ -1805,7 +1805,7 @@ const AT1_SCHEDULE_1_AREA_B_LARGE_CORPORATIONS = [
1805
1805
  "(2) If the corporation is not associated with any other corporations in the current taxation year but was associated in the previous taxation year, B is the (total taxable capital employed in Canada for the current taxation year minus $10,000,000) X 0.225%",
1806
1806
  "(3) If the corporation is associated with another corporation in the current year, B is the (total taxable capital employed in Canada for each corporation in the associated group for its last tax year ending in the preceding calendar year minus $10,000,000) X 0.225%"
1807
1807
  ];
1808
- const FIELDS$7 = [
1808
+ const FIELDS$6 = [
1809
1809
  {
1810
1810
  field: "001",
1811
1811
  caption: "Is the corporation associated with one or more Canadian-controlled private corporations?",
@@ -2015,7 +2015,7 @@ const AT1_SCHEDULE_1 = {
2015
2015
  scheme: "tra-line-item-id",
2016
2016
  taxYears: { from: 2023 },
2017
2017
  sections: SECTIONS$35,
2018
- fields: FIELDS$7.map(({ field, ...rest }) => ({
2018
+ fields: FIELDS$6.map(({ field, ...rest }) => ({
2019
2019
  ...rest,
2020
2020
  line: id$13(field)
2021
2021
  })),
@@ -4671,76 +4671,1213 @@ const AT1_SCHEDULE_13 = {
4671
4671
  //#region src/t2/at1/forms/schedule15.ts
4672
4672
  /** `SSSFFFOOO` — schedule, field, occurrence. */
4673
4673
  const id$6 = (field, occurrence = 1) => `015${field}${String(occurrence).padStart(3, "0")}`;
4674
- const AT1_SCHEDULE_15 = {
4675
- id: "AT1SCH15",
4676
- program: "AT1",
4677
- schedule: "015",
4678
- title: "Alberta Resource Related Deductions",
4679
- scheme: "tra-line-item-id",
4680
- taxYears: { from: 2024 },
4681
- sections: [{
4682
- id: "sfede",
4683
- title: "SFEDE — Specified Foreign Exploration and Development Expenses, per country"
4684
- }, {
4685
- id: "cfre",
4686
- title: "CFRE — Cumulative Foreign Resource Expenses, per country"
4687
- }],
4688
- fields: [
4689
- {
4690
- field: "241",
4691
- caption: "SFEDE regular — country code",
4692
- kind: "code",
4693
- role: "input",
4694
- section: "sfede",
4695
- note: "Must equal the federal country code (fed 012601)."
4696
- },
4697
- {
4698
- field: "261",
4699
- caption: "SFEDE successor — country code",
4700
- kind: "code",
4701
- role: "input",
4702
- section: "sfede",
4703
- note: "Must equal the federal country code (fed 012651)."
4704
- },
4705
- {
4706
- field: "281",
4707
- caption: "CFRE regular — country code",
4708
- kind: "code",
4709
- role: "input",
4710
- section: "cfre",
4711
- note: "Must equal the federal country code (fed 012701)."
4712
- },
4713
- {
4714
- field: "293",
4715
- caption: "CFRE regular — amount claimed this year",
4716
- kind: "money",
4717
- role: "input",
4718
- section: "cfre",
4719
- note: "= A + B: A is a 10%-floor/30%-income-capped amount from this country’s own pool; B draws on the (spec-undefined) global foreign resource limit."
4720
- },
4721
- {
4722
- field: "301",
4723
- caption: "CFRE successor — country code",
4724
- kind: "code",
4725
- role: "input",
4726
- section: "cfre",
4727
- note: "Must equal the federal country code (fed 012751)."
4728
- }
4729
- ].map(({ field, ...rest }) => ({
4730
- ...rest,
4731
- line: id$6(field)
4732
- })).sort((a, b) => a.line.localeCompare(b.line)),
4733
- provenance: {
4734
- document: "research/sources/tra-forms/pdf/AT1SCH15-resource-related-deductions-TRA11736.pdf",
4735
- retrieved: "2026-09-01",
4736
- revision: "TRA11736 (AT237) Rev. 2026-03 — partial, SFEDE/CFRE per-country lines only (Areas G/H); see this module's doc comment"
4674
+ const AREA_A_ROWS = [
4675
+ {
4676
+ label: "Balance at end of preceding taxation year",
4677
+ regular: "001",
4678
+ successor: "011"
4737
4679
  },
4738
- footnotes: [
4739
- "This schedule is required if the balance at the end of the preceding taxation year, or the claim for Alberta purposes, differs from that for federal purposes.",
4740
- "Specified foreign exploration and development expenses (Area G) are those in respect of a specific country and incurred before 2001. If in respect of two or more countries, determine a reasonable allocation to each country and maintain a consistent allocation in following years.",
4741
- "Foreign resource expenses (Area H) are those in respect of a specific country and incurred in a taxation year beginning in 2001 or after."
4742
- ]
4743
- };
4680
+ {
4681
+ label: "Add: transferred on amalgamation or wind-up of subsidiary",
4682
+ regular: "003",
4683
+ successor: "013",
4684
+ footnoteMarks: [0]
4685
+ },
4686
+ {
4687
+ label: "Add: transferred other than on amalgamation or wind-up of subsidiary",
4688
+ successor: "015",
4689
+ shaded: ["regular"],
4690
+ footnoteMarks: [0]
4691
+ },
4692
+ {
4693
+ label: "Deduct: transferred on sale of resource property to successor",
4694
+ regular: "005",
4695
+ successor: "017"
4696
+ },
4697
+ {
4698
+ label: "Amount Available",
4699
+ unnumbered: true,
4700
+ footnoteMarks: [1]
4701
+ },
4702
+ {
4703
+ label: "Deduct: Claim for the year per federal Regulation 1202(2)",
4704
+ successor: "019",
4705
+ shaded: ["regular"]
4706
+ },
4707
+ {
4708
+ label: "Deduct: Claim for the year per federal Regulation 1201",
4709
+ regular: "007",
4710
+ shaded: ["successor"]
4711
+ },
4712
+ {
4713
+ label: "Closing balance",
4714
+ regular: "009",
4715
+ successor: "021"
4716
+ }
4717
+ ];
4718
+ /**
4719
+ * One column, and the row labels are NOT Area A's.
4720
+ *
4721
+ * The page words three of them differently — "wind-up of subsidiary" with no
4722
+ * asterisk, "disposal" rather than "sale", and a lower-case "claim for the
4723
+ * year". Templating Area A's rows here would have quietly corrected all three.
4724
+ */
4725
+ const AREA_B_ROWS = [
4726
+ {
4727
+ label: "Balance at end of preceding taxation year",
4728
+ regular: "023"
4729
+ },
4730
+ {
4731
+ label: "Add: transferred on amalgamation or wind-up of subsidiary",
4732
+ regular: "025"
4733
+ },
4734
+ {
4735
+ label: "Add: transferred other than on amalgamation or wind-up of subsidiary",
4736
+ regular: "027"
4737
+ },
4738
+ {
4739
+ label: "Deduct: transferred on disposal of resource property to successor",
4740
+ regular: "029"
4741
+ },
4742
+ {
4743
+ label: "Amount Available",
4744
+ unnumbered: true,
4745
+ footnoteMarks: [2]
4746
+ },
4747
+ {
4748
+ label: "Deduct: claim for the year per federal Regulation 1203(1)",
4749
+ regular: "031"
4750
+ },
4751
+ {
4752
+ label: "Closing balance",
4753
+ regular: "033"
4754
+ }
4755
+ ];
4756
+ /**
4757
+ * Sixteen rows, and note the row ORDER: 053, 055, **059, 058**, 060.
4758
+ *
4759
+ * The page prints "transferred on disposition of resource property to
4760
+ * successor" (059) ABOVE "current and previous year Canadian exploration
4761
+ * expenses renounced … pursuant to a flow-through share agreement" (058). Line
4762
+ * order and printed order disagree, which is the page's own arrangement and
4763
+ * the whole reason this array exists rather than a sort.
4764
+ */
4765
+ const AREA_C_ROWS = [
4766
+ {
4767
+ label: "Balance at end of preceding taxation year",
4768
+ regular: "041",
4769
+ successor: "064"
4770
+ },
4771
+ {
4772
+ label: "Add: current year expenses excluding expenses incurred under look-back rule",
4773
+ regular: "043",
4774
+ shaded: ["successor"]
4775
+ },
4776
+ {
4777
+ label: "Add: current year expenses under look-back rule [federal subsection 66(12.66)]",
4778
+ regular: "044",
4779
+ shaded: ["successor"]
4780
+ },
4781
+ {
4782
+ label: "Add: reclassified Canadian development expenses [federal subsections 66.1(9) and 66.7(9)]",
4783
+ regular: "045",
4784
+ successor: "065"
4785
+ },
4786
+ {
4787
+ label: "Add: transferred on amalgamation or wind-up of subsidiary",
4788
+ regular: "047",
4789
+ successor: "067",
4790
+ footnoteMarks: [3]
4791
+ },
4792
+ {
4793
+ label: "Add: transferred other than on amalgamation or wind-up of subsidiary",
4794
+ successor: "069",
4795
+ shaded: ["regular"],
4796
+ footnoteMarks: [3]
4797
+ },
4798
+ {
4799
+ label: "Add: Canadian renewable and conservation expenses",
4800
+ regular: "049",
4801
+ shaded: ["successor"]
4802
+ },
4803
+ {
4804
+ label: "Add: other additions",
4805
+ regular: "051",
4806
+ shaded: ["successor"]
4807
+ },
4808
+ {
4809
+ label: "Deduct: government assistance and grants",
4810
+ regular: "053",
4811
+ shaded: ["successor"]
4812
+ },
4813
+ {
4814
+ label: "Deduct: other deductions or transfers",
4815
+ regular: "055",
4816
+ successor: "077"
4817
+ },
4818
+ {
4819
+ label: "Deduct: transferred on disposition of resource property to successor",
4820
+ regular: "059",
4821
+ successor: "079"
4822
+ },
4823
+ {
4824
+ label: "Deduct: current and previous year Canadian exploration expenses renounced in the year pursuant to a flow-through share agreement",
4825
+ regular: "058",
4826
+ shaded: ["successor"]
4827
+ },
4828
+ {
4829
+ label: "Deduct: expenses renounced under look-back rule [federal subsection 66(12.66)]",
4830
+ regular: "060",
4831
+ shaded: ["successor"]
4832
+ },
4833
+ {
4834
+ label: "Amount Available",
4835
+ unnumbered: true,
4836
+ footnoteMarks: [4]
4837
+ },
4838
+ {
4839
+ label: "Deduct: current year claim per federal subsections 66.1(2) and 66.7(3)",
4840
+ regular: "061",
4841
+ successor: "081",
4842
+ footnoteMarks: [5]
4843
+ },
4844
+ {
4845
+ label: "Closing balance",
4846
+ regular: "063",
4847
+ successor: "083"
4848
+ }
4849
+ ];
4850
+ /**
4851
+ * Seventeen rows, and the same printed-order inversion Area C has: the page
4852
+ * sets 107, then **111, then 110**, then 112.
4853
+ *
4854
+ * Two rows here are unlike anything in Areas A-C. Line 105/133 deducts a
4855
+ * CREDIT BALANCE in the CCOGPE pool on the next page — a cross-area link the
4856
+ * page's own "**" footnote then routes in either direction depending on
4857
+ * whether a federal 66.7(4)(a)(iii) designation was made. That footnote is
4858
+ * the most operationally dangerous text on the schedule and is transcribed in
4859
+ * full at index 7.
4860
+ */
4861
+ const AREA_D_ROWS = [
4862
+ {
4863
+ label: "Balance at end of preceding taxation year",
4864
+ regular: "091",
4865
+ successor: "119"
4866
+ },
4867
+ {
4868
+ label: "Add: current year expenses excluding expenses incurred under look-back rule",
4869
+ regular: "093",
4870
+ shaded: ["successor"]
4871
+ },
4872
+ {
4873
+ label: "Add: current year expenses under look-back rule [federal subsection 66(12.66)]",
4874
+ regular: "094",
4875
+ shaded: ["successor"]
4876
+ },
4877
+ {
4878
+ label: "Add: transferred on amalgamation or wind-up of subsidiary",
4879
+ regular: "095",
4880
+ successor: "121",
4881
+ footnoteMarks: [6]
4882
+ },
4883
+ {
4884
+ label: "Add: transferred other than on amalgamation or wind-up of subsidiary",
4885
+ successor: "123",
4886
+ shaded: ["regular"],
4887
+ footnoteMarks: [6]
4888
+ },
4889
+ {
4890
+ label: "Add: other additions",
4891
+ regular: "097",
4892
+ shaded: ["successor"]
4893
+ },
4894
+ {
4895
+ label: "Deduct: reclassified Canadian exploration expenses [federal subsections 66.1(9) and 66.7(9)]",
4896
+ regular: "099",
4897
+ successor: "127"
4898
+ },
4899
+ {
4900
+ label: "Deduct: government assistance and grants",
4901
+ regular: "101",
4902
+ shaded: ["successor"]
4903
+ },
4904
+ {
4905
+ label: "Deduct: receivable on disposition of underground oil and gas storage rights or mining property",
4906
+ regular: "103",
4907
+ shaded: ["successor"]
4908
+ },
4909
+ {
4910
+ label: "Deduct: credit balance in the cumulative Canadian oil and gas property expense pool",
4911
+ regular: "105",
4912
+ successor: "133"
4913
+ },
4914
+ {
4915
+ label: "Deduct: other deductions or transfers",
4916
+ regular: "107",
4917
+ successor: "135"
4918
+ },
4919
+ {
4920
+ label: "Deduct: transferred on disposition of resource property to successor",
4921
+ regular: "111",
4922
+ successor: "137"
4923
+ },
4924
+ {
4925
+ label: "Deduct: current and previous year Canadian development expenses renounced in the year pursuant to a flow-through share agreement",
4926
+ regular: "110",
4927
+ shaded: ["successor"]
4928
+ },
4929
+ {
4930
+ label: "Deduct: expenses renounced under look-back rule [federal subsection 66(12.66)]",
4931
+ regular: "112",
4932
+ shaded: ["successor"]
4933
+ },
4934
+ {
4935
+ label: "Amount Available",
4936
+ unnumbered: true,
4937
+ footnoteMarks: [7]
4938
+ },
4939
+ {
4940
+ label: "Deduct: current year claim per federal subsection 66.2(2)",
4941
+ regular: "115",
4942
+ successor: "141",
4943
+ footnoteMarks: [8]
4944
+ },
4945
+ {
4946
+ label: "Closing balance",
4947
+ regular: "117",
4948
+ successor: "143"
4949
+ }
4950
+ ];
4951
+ /**
4952
+ * Note the opening row: "Balance at **the** end of preceding taxation year".
4953
+ *
4954
+ * Areas A, B, C, D and F all print "at end"; only this one has the article,
4955
+ * and the page prints the one label across both columns. The specification's
4956
+ * MAPPINGS table disagrees with itself here — it gives line 151 "at end" and
4957
+ * line 173 "at the end" — and the return editor carries that split with a
4958
+ * comment noting it. The PDF settles it: one row, one label, with "the".
4959
+ */
4960
+ const AREA_E_ROWS = [
4961
+ {
4962
+ label: "Balance at the end of preceding taxation year",
4963
+ regular: "151",
4964
+ successor: "173"
4965
+ },
4966
+ {
4967
+ label: "Add: current year expenses",
4968
+ regular: "153",
4969
+ shaded: ["successor"]
4970
+ },
4971
+ {
4972
+ label: "Add: transferred on amalgamation or wind-up of subsidiary",
4973
+ regular: "155",
4974
+ successor: "175",
4975
+ footnoteMarks: [9]
4976
+ },
4977
+ {
4978
+ label: "Add: transferred other than on amalgamation or wind-up of subsidiary",
4979
+ successor: "177",
4980
+ shaded: ["regular"],
4981
+ footnoteMarks: [9]
4982
+ },
4983
+ {
4984
+ label: "Add: other additions",
4985
+ regular: "157",
4986
+ shaded: ["successor"]
4987
+ },
4988
+ {
4989
+ label: "Deduct: received or receivable on disposition of Canadian oil and gas property",
4990
+ regular: "159",
4991
+ successor: "181"
4992
+ },
4993
+ {
4994
+ label: "Deduct: government assistance and grants",
4995
+ regular: "161",
4996
+ shaded: ["successor"]
4997
+ },
4998
+ {
4999
+ label: "Deduct: transferred on disposition of resource property to successor",
5000
+ regular: "165",
5001
+ successor: "185"
5002
+ },
5003
+ {
5004
+ label: "Deduct: other deductions or transfers",
5005
+ regular: "167",
5006
+ successor: "187"
5007
+ },
5008
+ {
5009
+ label: "Amount Available",
5010
+ unnumbered: true,
5011
+ footnoteMarks: [10]
5012
+ },
5013
+ {
5014
+ label: "Deduct: current year claim per federal subsections 66.4(2) and 66.7(5)",
5015
+ regular: "169",
5016
+ successor: "189",
5017
+ footnoteMarks: [11]
5018
+ },
5019
+ {
5020
+ label: "Closing balance",
5021
+ regular: "171",
5022
+ successor: "191"
5023
+ }
5024
+ ];
5025
+ /**
5026
+ * The shortest continuity table on the schedule, and the only one whose two
5027
+ * transfer rows are marked DIFFERENTLY.
5028
+ *
5029
+ * Areas A, C, D and E all hang their "*" on both the amalgamation row and the
5030
+ * "transferred other than" row. Area F prints it on the "other than" row
5031
+ * only. Transcribed as printed rather than templated from its neighbours —
5032
+ * if that asterisk turns out to be on both rows, this comment is where to
5033
+ * look, which is the point of recording the difference rather than smoothing
5034
+ * it.
5035
+ *
5036
+ * The last row is the one box on the schedule the page sets apart: see
5037
+ * {@link ResourceContinuityRow.separateBox}.
5038
+ */
5039
+ const AREA_F_ROWS = [
5040
+ {
5041
+ label: "Balance at end of preceding taxation year",
5042
+ regular: "201",
5043
+ successor: "213"
5044
+ },
5045
+ {
5046
+ label: "Add: transferred on amalgamation or wind-up of subsidiary",
5047
+ regular: "205",
5048
+ successor: "215"
5049
+ },
5050
+ {
5051
+ label: "Add: transferred other than on amalgamation or wind-up of subsidiary",
5052
+ successor: "217",
5053
+ shaded: ["regular"],
5054
+ footnoteMarks: [12]
5055
+ },
5056
+ {
5057
+ label: "Deduct: other deductions or transfers",
5058
+ regular: "207",
5059
+ successor: "219"
5060
+ },
5061
+ {
5062
+ label: "Amount Available",
5063
+ unnumbered: true,
5064
+ footnoteMarks: [13]
5065
+ },
5066
+ {
5067
+ label: "Deduct: current year claim per federal subsections 66(4) and 66.7(2)",
5068
+ regular: "209",
5069
+ successor: "221",
5070
+ footnoteMarks: [14]
5071
+ },
5072
+ {
5073
+ label: "Closing balance",
5074
+ regular: "211",
5075
+ successor: "223"
5076
+ },
5077
+ {
5078
+ label: "Foreign-source resource income",
5079
+ regular: "231",
5080
+ successor: "233",
5081
+ separateBox: true
5082
+ }
5083
+ ];
5084
+ const AT1_SCHEDULE_15_PER_COUNTRY = [{
5085
+ section: "sfede",
5086
+ title: "AREA G - SPECIFIED FOREIGN EXPLORATION AND DEVELOPMENT EXPENSES",
5087
+ subtitle: "Specified foreign exploration and development expenses are those that are in respect of a specific country and have been incurred before 2001. If they are in respect of two or more countries, determine a reasonable allocation to each country and maintain a consistent allocation in the following years.",
5088
+ tables: [{
5089
+ title: "Regular Expenses",
5090
+ columns: [
5091
+ {
5092
+ heading: "Country in which regular expenses were incurred",
5093
+ line: "241",
5094
+ kind: "code",
5095
+ role: "input"
5096
+ },
5097
+ {
5098
+ letter: "A",
5099
+ heading: "Balance at the end of the preceding taxation year",
5100
+ line: "243",
5101
+ kind: "money",
5102
+ role: "input"
5103
+ },
5104
+ {
5105
+ letter: "B",
5106
+ heading: "Amount transferred on amalgamation or wind-up of subsidiary",
5107
+ line: "247",
5108
+ kind: "money",
5109
+ role: "input",
5110
+ footnoteMarks: [15]
5111
+ },
5112
+ {
5113
+ letter: "C",
5114
+ heading: "Other additions",
5115
+ line: "249",
5116
+ kind: "money",
5117
+ role: "input"
5118
+ },
5119
+ {
5120
+ letter: "D",
5121
+ heading: "Other deductions or transfers",
5122
+ line: "251",
5123
+ kind: "money",
5124
+ role: "input"
5125
+ },
5126
+ {
5127
+ letter: "E",
5128
+ heading: "Amount available (A+B+C-D)",
5129
+ kind: "money",
5130
+ role: "computed",
5131
+ footnoteMarks: [16]
5132
+ },
5133
+ {
5134
+ letter: "F",
5135
+ heading: "Current year claim per federal subsection 66(4)",
5136
+ line: "253",
5137
+ kind: "money",
5138
+ role: "input",
5139
+ footnoteMarks: [17]
5140
+ },
5141
+ {
5142
+ letter: "G",
5143
+ heading: "Closing balance (E-F)",
5144
+ line: "255",
5145
+ kind: "money",
5146
+ role: "computed"
5147
+ },
5148
+ {
5149
+ letter: "H",
5150
+ heading: "Foreign resource income",
5151
+ line: "257",
5152
+ kind: "money",
5153
+ role: "input",
5154
+ footnoteMarks: [18]
5155
+ }
5156
+ ],
5157
+ grandTotal: {
5158
+ letter: "I",
5159
+ ofColumn: "F"
5160
+ }
5161
+ }, {
5162
+ title: "Successor Expenses",
5163
+ columns: [
5164
+ {
5165
+ heading: "Country in which successor expenses were incurred",
5166
+ line: "261",
5167
+ kind: "code",
5168
+ role: "input"
5169
+ },
5170
+ {
5171
+ letter: "J",
5172
+ heading: "Balance at the end of the preceding taxation year",
5173
+ line: "263",
5174
+ kind: "money",
5175
+ role: "input"
5176
+ },
5177
+ {
5178
+ letter: "K",
5179
+ heading: "Amount transferred on amalgamation or wind-up of subsidiary",
5180
+ line: "265",
5181
+ kind: "money",
5182
+ role: "input"
5183
+ },
5184
+ {
5185
+ letter: "L",
5186
+ heading: "Amount transferred other than on amalgamation or wind-up of subsidiary",
5187
+ line: "267",
5188
+ kind: "money",
5189
+ role: "input"
5190
+ },
5191
+ {
5192
+ letter: "M",
5193
+ heading: "Other deductions or transfers",
5194
+ line: "269",
5195
+ kind: "money",
5196
+ role: "input"
5197
+ },
5198
+ {
5199
+ letter: "N",
5200
+ heading: "Amount available (J+K+L-M)",
5201
+ kind: "money",
5202
+ role: "computed",
5203
+ footnoteMarks: [16]
5204
+ },
5205
+ {
5206
+ letter: "O",
5207
+ heading: "Current year claim per federal subsection 66.7(2)",
5208
+ line: "273",
5209
+ kind: "money",
5210
+ role: "input",
5211
+ footnoteMarks: [17]
5212
+ },
5213
+ {
5214
+ letter: "P",
5215
+ heading: "Closing balance (N-O)",
5216
+ line: "275",
5217
+ kind: "money",
5218
+ role: "computed"
5219
+ },
5220
+ {
5221
+ letter: "Q",
5222
+ heading: "Foreign resource income",
5223
+ line: "277",
5224
+ kind: "money",
5225
+ role: "input"
5226
+ }
5227
+ ],
5228
+ grandTotal: {
5229
+ letter: "R",
5230
+ ofColumn: "O"
5231
+ }
5232
+ }]
5233
+ }, {
5234
+ section: "cfre",
5235
+ title: "AREA H - CUMULATIVE FOREIGN RESOURCE EXPENSES",
5236
+ subtitle: "Foreign resource expenses are those that are in respect of a specific country and that have been incurred in a taxation year beginning in 2001 or after. If there are two or more countries, determine a reasonable allocation to each country and maintain a consistent allocation in the following years.",
5237
+ tables: [{
5238
+ title: "Regular Expenses",
5239
+ columns: [
5240
+ {
5241
+ heading: "Country in which regular expenses were incurred",
5242
+ line: "281",
5243
+ kind: "code",
5244
+ role: "input"
5245
+ },
5246
+ {
5247
+ letter: "AA",
5248
+ heading: "Balance at the end of the preceding taxation year",
5249
+ line: "283",
5250
+ kind: "money",
5251
+ role: "input"
5252
+ },
5253
+ {
5254
+ letter: "BB",
5255
+ heading: "Current year expenses",
5256
+ line: "285",
5257
+ kind: "money",
5258
+ role: "input"
5259
+ },
5260
+ {
5261
+ letter: "CC",
5262
+ heading: "Amount transferred on amalgamation or wind-up of subsidiary",
5263
+ line: "287",
5264
+ kind: "money",
5265
+ role: "input",
5266
+ footnoteMarks: [19]
5267
+ },
5268
+ {
5269
+ letter: "DD",
5270
+ heading: "Other additions",
5271
+ line: "289",
5272
+ kind: "money",
5273
+ role: "input"
5274
+ },
5275
+ {
5276
+ letter: "EE",
5277
+ heading: "Other deductions or transfers",
5278
+ line: "291",
5279
+ kind: "money",
5280
+ role: "input"
5281
+ },
5282
+ {
5283
+ letter: "FF",
5284
+ heading: "Amount available (AA+BB+CC+DD-EE)",
5285
+ kind: "money",
5286
+ role: "computed",
5287
+ footnoteMarks: [20]
5288
+ },
5289
+ {
5290
+ letter: "GG",
5291
+ heading: "Current year claim per federal subsection 66.21(4)",
5292
+ line: "293",
5293
+ kind: "money",
5294
+ role: "input",
5295
+ footnoteMarks: [21]
5296
+ },
5297
+ {
5298
+ letter: "HH",
5299
+ heading: "Closing balance (FF - GG)",
5300
+ line: "295",
5301
+ kind: "money",
5302
+ role: "computed"
5303
+ },
5304
+ {
5305
+ letter: "II",
5306
+ heading: "Foreign resource income(loss)",
5307
+ line: "297",
5308
+ kind: "money",
5309
+ role: "input",
5310
+ footnoteMarks: [22]
5311
+ }
5312
+ ],
5313
+ grandTotal: {
5314
+ letter: "JJ",
5315
+ ofColumn: "GG"
5316
+ }
5317
+ }, {
5318
+ title: "Successor Expenses",
5319
+ columns: [
5320
+ {
5321
+ heading: "Country in which successor expenses were incurred",
5322
+ line: "301",
5323
+ kind: "code",
5324
+ role: "input"
5325
+ },
5326
+ {
5327
+ letter: "KK",
5328
+ heading: "Balance at the end of the preceding taxation year",
5329
+ line: "303",
5330
+ kind: "money",
5331
+ role: "input"
5332
+ },
5333
+ {
5334
+ letter: "LL",
5335
+ heading: "Amount transferred on amalgamation or wind-up of subsidiary",
5336
+ line: "305",
5337
+ kind: "money",
5338
+ role: "input"
5339
+ },
5340
+ {
5341
+ letter: "MM",
5342
+ heading: "Amount transferred other than on amalgamation or wind-up of subsidiary",
5343
+ line: "307",
5344
+ kind: "money",
5345
+ role: "input"
5346
+ },
5347
+ {
5348
+ letter: "NN",
5349
+ heading: "Other deductions or transfers",
5350
+ line: "309",
5351
+ kind: "money",
5352
+ role: "input"
5353
+ },
5354
+ {
5355
+ letter: "OO",
5356
+ heading: "Amount available (KK+LL+MM-NN)",
5357
+ kind: "money",
5358
+ role: "computed",
5359
+ footnoteMarks: [20]
5360
+ },
5361
+ {
5362
+ letter: "PP",
5363
+ heading: "Current year claim per federal subsection 66.7(2.3)",
5364
+ line: "313",
5365
+ kind: "money",
5366
+ role: "input",
5367
+ footnoteMarks: [21]
5368
+ },
5369
+ {
5370
+ letter: "QQ",
5371
+ heading: "Closing balance (OO-PP)",
5372
+ line: "315",
5373
+ kind: "money",
5374
+ role: "computed"
5375
+ },
5376
+ {
5377
+ letter: "RR",
5378
+ heading: "Foreign resource income (loss)",
5379
+ line: "317",
5380
+ kind: "money",
5381
+ role: "input"
5382
+ }
5383
+ ],
5384
+ grandTotal: {
5385
+ letter: "SS",
5386
+ ofColumn: "PP"
5387
+ }
5388
+ }]
5389
+ }];
5390
+ /**
5391
+ * The instruction the page closes with, verbatim.
5392
+ *
5393
+ * It belongs to no area: it is printed in bold at the foot of page 6, below
5394
+ * Area H, and it totals Area F's two claims with the four per-country grand
5395
+ * totals. Four of its six terms are LETTERS — I, R, JJ and SS — boxes the page
5396
+ * numbers nowhere, which is why `lines` and `letters` are separate fields
5397
+ * rather than one list of "terms". A caller that treated the letters as line
5398
+ * numbers would look for 015I00001.
5399
+ *
5400
+ * AT1 Schedule 12's own definition records the mirror from its side, on its
5401
+ * line 030: `albertaSource: 'Schedule 15 lines 209 +221 + I + R + JJ + SS'`.
5402
+ * A test asserts the two pages agree.
5403
+ */
5404
+ const AT1_SCHEDULE_15_CLOSING_INSTRUCTION = Object.freeze({
5405
+ text: "Enter the total of lines 209, 221, I, R, JJ, and SS at line 030 of Schedule 12.",
5406
+ /** AT1 Schedule 12's line, as `SSSFFFOOO`. */
5407
+ to: "012030001",
5408
+ /** The two real line numbers it names. */
5409
+ lines: Object.freeze(["209", "221"]),
5410
+ /** The four unnumbered grand totals it names, by printed letter. */
5411
+ letters: Object.freeze([
5412
+ "I",
5413
+ "R",
5414
+ "JJ",
5415
+ "SS"
5416
+ ])
5417
+ });
5418
+ const REGULAR_AND_SUCCESSOR = ["Regular Expenses ($)", "Successor Expenses ($)"];
5419
+ const AT1_SCHEDULE_15_AREAS = [
5420
+ {
5421
+ section: "area-a",
5422
+ title: "AREA A - CONTINUITY OF EARNED DEPLETION BASE",
5423
+ columnHeadings: REGULAR_AND_SUCCESSOR,
5424
+ rows: AREA_A_ROWS
5425
+ },
5426
+ {
5427
+ section: "area-b",
5428
+ title: "AREA B - CONTINUITY OF MINING EXPLORATION DEPLETION BASE",
5429
+ rows: AREA_B_ROWS,
5430
+ carryForward: "Total lines 007 + 019 + 031 and carry this amount forward to Schedule 12, line 022.",
5431
+ carryForwardTo: {
5432
+ line: "012022001",
5433
+ claims: [
5434
+ "007",
5435
+ "019",
5436
+ "031"
5437
+ ]
5438
+ }
5439
+ },
5440
+ {
5441
+ section: "area-c",
5442
+ title: "AREA C - CUMULATIVE CANADIAN EXPLORATION EXPENSES",
5443
+ columnHeadings: REGULAR_AND_SUCCESSOR,
5444
+ rows: AREA_C_ROWS,
5445
+ carryForward: "Total lines 061 + 081 and carry this amount forward to Schedule 12, line 026.",
5446
+ carryForwardTo: {
5447
+ line: "012026001",
5448
+ claims: ["061", "081"]
5449
+ }
5450
+ },
5451
+ {
5452
+ section: "area-d",
5453
+ title: "AREA D - CUMULATIVE CANADIAN DEVELOPMENT EXPENSES",
5454
+ columnHeadings: REGULAR_AND_SUCCESSOR,
5455
+ rows: AREA_D_ROWS,
5456
+ carryForward: "Total lines 115 + 141 and carry this amount forward to Schedule 12, line 028.",
5457
+ carryForwardTo: {
5458
+ line: "012028001",
5459
+ claims: ["115", "141"]
5460
+ }
5461
+ },
5462
+ {
5463
+ section: "area-e",
5464
+ title: "AREA E - CUMULATIVE CANADIAN OIL AND GAS PROPERTY EXPENSES (CCOGPE)",
5465
+ columnHeadings: REGULAR_AND_SUCCESSOR,
5466
+ rows: AREA_E_ROWS,
5467
+ carryForward: "Total lines 169 + 189 and carry this amount forward to Schedule 12, line 032.",
5468
+ carryForwardTo: {
5469
+ line: "012032001",
5470
+ claims: ["169", "189"]
5471
+ }
5472
+ },
5473
+ {
5474
+ section: "area-f",
5475
+ title: "AREA F - FOREIGN EXPLORATION AND DEVELOPMENT EXPENSES",
5476
+ subtitle: "Foreign exploration and development expenses are those that are not in respect of a country. If they are in respect of a country, complete AREA G or H.",
5477
+ columnHeadings: REGULAR_AND_SUCCESSOR,
5478
+ rows: AREA_F_ROWS
5479
+ }
5480
+ ];
5481
+ const SECTIONS$28 = [
5482
+ {
5483
+ id: "area-a",
5484
+ title: "AREA A - Continuity of Earned Depletion Base",
5485
+ page: 1,
5486
+ printedBefore: "This schedule is required if the balance at the end of the preceding taxation year or the claim for Alberta purposes differs from that for federal purposes. Report all monetary values in dollars; DO NOT include cents. Show negative amounts in brackets ( ).",
5487
+ description: "A grandfathered pool — no new earned depletion has accrued since the mid-1990s, but a legacy balance can still be drawn down. The two claims are made under different regulations per side: 1201 on regular expenses, 1202(2) on successor."
5488
+ },
5489
+ {
5490
+ id: "area-b",
5491
+ title: "AREA B - Continuity of Mining Exploration Depletion Base",
5492
+ page: 1,
5493
+ description: "One column. This pool has no successor side at all, which is why the page heads no columns here."
5494
+ },
5495
+ {
5496
+ id: "area-c",
5497
+ title: "AREA C - Cumulative Canadian Exploration Expenses",
5498
+ page: 2,
5499
+ printedBefore: "Report all monetary amounts in dollars; DO NOT include cents. Show negative amounts in brackets ( )."
5500
+ },
5501
+ {
5502
+ id: "area-d",
5503
+ title: "AREA D - Cumulative Canadian Development Expenses",
5504
+ page: 3,
5505
+ printedBefore: "Report all monetary amounts in dollars; DO NOT include cents. Show negative amounts in brackets ( ).",
5506
+ description: "The pool whose credit-balance lines (105 / 133) reach across into Area E, in a direction the page’s own footnote makes conditional on a federal 66.7(4)(a)(iii) designation."
5507
+ },
5508
+ {
5509
+ id: "area-e",
5510
+ title: "AREA E - Cumulative Canadian Oil and Gas Property Expenses (CCOGPE)",
5511
+ page: 4,
5512
+ printedBefore: "Report all monetary amounts in dollars; DO NOT include cents. Show negative amounts in brackets ( ).",
5513
+ description: "The other end of Area D’s credit-balance link. A negative amount available here routes to Area D at line 133 or line 107 depending on the same designation — see the footnote on the Amount Available row."
5514
+ },
5515
+ {
5516
+ id: "area-f",
5517
+ title: "AREA F - Foreign Exploration and Development Expenses",
5518
+ page: 4,
5519
+ description: "Expenses NOT in respect of a country — the page says so under its own heading, and a country-specific expense belongs in Area G or H instead. Its claims do not total here: page 6 sums them with the per-country areas’."
5520
+ },
5521
+ {
5522
+ id: "sfede",
5523
+ title: "AREA G - Specified Foreign Exploration and Development Expenses",
5524
+ page: 5,
5525
+ printedBefore: "Report all monetary amounts in dollars; DO NOT include cents. Show negative amounts in brackets ( ).",
5526
+ description: "One row per country, and a different shape from every area before it: the printed lines are COLUMNS, lettered A to I and J to R, with one occurrence per country. Pre-2001 expenses only — see the paragraph the page prints under its heading."
5527
+ },
5528
+ {
5529
+ id: "cfre",
5530
+ title: "AREA H - Cumulative Foreign Resource Expenses",
5531
+ page: 6,
5532
+ printedBefore: "Report all monetary amounts in dollars; DO NOT include cents. Show negative amounts in brackets ( ).",
5533
+ description: "The 2001-and-after counterpart of Area G, lettered AA to JJ and KK to SS. Its regular claim (column GG) carries the most involved cap on the schedule, half of which rests on a \"global foreign resource limit\" the specification never defines."
5534
+ }
5535
+ ];
5536
+ /**
5537
+ * Lines the engine derives rather than collecting: every area's closing
5538
+ * balance.
5539
+ *
5540
+ * The page prints a box for each, and each is pure arithmetic on the rows
5541
+ * above it — so rendering one editable invites a preparer to overwrite a
5542
+ * figure the return then does not foot against.
5543
+ */
5544
+ const CLOSING_BALANCES = /* @__PURE__ */ new Set([
5545
+ "009",
5546
+ "021",
5547
+ "033",
5548
+ "063",
5549
+ "083",
5550
+ "117",
5551
+ "143",
5552
+ "171",
5553
+ "191",
5554
+ "211",
5555
+ "223"
5556
+ ]);
5557
+ /** Per-line additions the grid itself has no room for. */
5558
+ const LINE_NOTES = {
5559
+ "007": "Regular-side claim, under federal Regulation 1201. The successor side claims under Regulation 1202(2) at line 019 instead, and the page shades each column out on the other’s row — the two are not interchangeable.",
5560
+ "009": "Computed. The page’s own footnote requires \"0\" here and at line 007 when the amount available is negative, rather than a negative closing balance.",
5561
+ "019": "Successor-side claim, under federal Regulation 1202(2). See line 007.",
5562
+ "021": "Computed. \"0\" when the amount available is negative, per the page’s footnote.",
5563
+ "031": "A genuinely discretionary Alberta claim: no federal line defaults it, unlike every other claim on this schedule.",
5564
+ "033": "Computed. \"0\" when the amount available is negative, per the page’s footnote.",
5565
+ "043": "Excludes look-back expenses, which the next row collects separately at 044 — the split exists because 060 renounces against the look-back half only.",
5566
+ "044": "The look-back half of the current year’s expenses, added here and renounced at 060. Regular side only; the page shades the successor column.",
5567
+ "058": "Printed ABOVE line 060 and BELOW line 059, so this schedule’s printed order and its line order disagree. Renounces current AND previous year expenses under a flow-through share agreement; 060 renounces the look-back expenses added at 044.",
5568
+ "061": "Claimable at 100%, with no percentage rate. When the amount available is negative the page does not permit a claim at all: the negative goes into income in the \"Other\" area at Schedule 12 line 040 and both this line and 063 are \"0\".",
5569
+ "063": "Computed. \"0\" when the regular amount available is negative — see line 061.",
5570
+ "081": "Same 100% claim and the same income-inclusion rule as line 061, on the successor pool.",
5571
+ "083": "Computed. \"0\" when the successor amount available is negative — see line 081.",
5572
+ "105": "Deducts a CREDIT balance in Area E’s regular pool — a cross-area link, and one the page traverses in both directions. Area E’s own footnote sends a negative regular amount available here; this page’s footnote sends a negative Area E figure here too when a federal 66.7(4)(a)(iii) designation was made. The engine derives it from Area E’s negative subtotal and reports the designation ambiguity rather than guessing.",
5573
+ "107": "Also the destination the page routes a negative Area D SUCCESSOR amount available to, when no 66.7(4)(a)(iii) designation was made. See the Amount Available footnote.",
5574
+ "110": "Printed BELOW line 111, so this area’s printed order and its line order disagree — the same inversion Area C has at 059/058. Renounces current AND previous year development expenses under a flow-through share agreement; 112 renounces the look-back expenses added at 094.",
5575
+ "115": "Capped at 30% of the regular amount available plus the lesser of 30% of the successor amount available and the federal 66.7(4)(b) figure. Prorated by days/365 for a fiscal period under 51 weeks — the page’s own threshold, which is not the same as \"a short year\".",
5576
+ "117": "Computed. \"0\" when the regular amount available is negative — see the footnote.",
5577
+ "133": "Area D successor’s credit-balance line, and the destination Area E’s footnote names when a 66.7(4)(a)(iii) designation HAS been made. The specification gives it no federal default line and words its cap ambiguously; the engine follows line 105’s clearer rule and flags it.",
5578
+ "141": "Same 30% cap and short-period proration as line 115, on the successor pool.",
5579
+ "143": "Computed. \"0\" in both branches of the designation footnote — see the page.",
5580
+ "167": "Also the destination the page routes a negative Area E SUCCESSOR amount available to, when no 66.7(4)(a)(iii) designation was made — and where a negative Area D successor figure lands when one was. Both directions are in the Amount Available footnote.",
5581
+ "169": "Capped at 10% of the regular amount available plus the lesser of 10% of the successor amount available and the federal 66.7(5)(b) figure, prorated for a fiscal period under 51 weeks.",
5582
+ "171": "Computed. \"0\" in both branches of the designation footnote.",
5583
+ "189": "Same 10% cap and short-period proration as line 169, on the successor pool.",
5584
+ "191": "Computed. \"0\" in both branches of the designation footnote.",
5585
+ "209": "The only claim on this schedule the page does NOT total under its own area. Page 6 closes the form with \"Enter the total of lines 209, 221, I, R, JJ, and SS at line 030 of Schedule 12\" — one instruction spanning this area and the two per-country areas, where I, R, JJ and SS are unnumbered grand totals rather than lines. See AT1_SCHEDULE_15_CLOSING_INSTRUCTION.",
5586
+ "211": "Computed. \"0\" when the amount available is negative — the negative becomes income.",
5587
+ "221": "Totalled with line 209 on page 6, not here. See that line’s note.",
5588
+ "223": "Computed. \"0\" when the amount available is negative.",
5589
+ "231": "Printed in a box of its own beneath this area’s footnotes, with the column headings repeated. Not a continuity row: it neither adds to nor deducts from the pool, it CAPS the claim at line 209 — the maximum is the lesser of the pool and the greater of this figure and a 10% floor.",
5590
+ "233": "The successor half of the same income figure, capping line 221 — where the maximum is the lesser of the pool and this income attributable to successored properties, with no percentage floor at all.",
5591
+ "241": "Must equal the federal country code (fed 012601).",
5592
+ "253": "Allocated to a particular country per federal subsection 66(4.2) — the page says the maximum is computed on the TOTALS of columns E and H across every country, then allocated, so no single row’s figure can be checked on its own.",
5593
+ "257": "Not simply the foreign resource income: the page defines this column as the EXCESS of that income over the amount claimed under federal subsection 66.7(2). See footnote ****.",
5594
+ "261": "Must equal the federal country code (fed 012651).",
5595
+ "273": "Allocated to a particular country per federal subsection 66.7(2.2). Capped by the total of column Q attributable to successored properties — with no percentage floor, unlike the regular claim at 253.",
5596
+ "281": "Must equal the federal country code (fed 012701).",
5597
+ "293": "The most involved cap on the schedule: A + B, where A is the greater of a 10% floor and the LEAST of three amounts (30% of the pool, this country’s income, the total of every country’s income), and B draws on a \"global foreign resource limit\" the specification references and never defines. The engine treats B as nil — the under-claim direction — and reports it.",
5598
+ "297": "The page defines this column as the excess of foreign resource income over the total of any amount designated under federal subparagraph 59(1)(b)(ii) and claimed under federal subsections 66(4), 66.7(2) and 66.7(2.3) — so it nets against the claims in Areas F and G as well as this one. See footnote ****.",
5599
+ "301": "Must equal the federal country code (fed 012751).",
5600
+ "313": "Capped at 30% of the pool or the column RR income attributable to successored properties, whichever is less, with the 30% prorated for a fiscal period under 51 weeks."
5601
+ };
5602
+ /**
5603
+ * Where an area's claim carries to, for the lines the printed instruction
5604
+ * names.
5605
+ *
5606
+ * AT1 Schedule 12's own definition records the mirror of each — its line 022
5607
+ * carries `albertaSource: 'Schedule 15 lines 007 + 019 +031'`, transcribed
5608
+ * from ITS page, spurious missing space and all. Two pages, two
5609
+ * transcriptions, and a test asserts they name the same lines.
5610
+ */
5611
+ const CARRIES_TO = (() => {
5612
+ const out = {};
5613
+ for (const area of AT1_SCHEDULE_15_AREAS) {
5614
+ if (!area.carryForwardTo || !area.carryForward) continue;
5615
+ for (const field of area.carryForwardTo.claims) out[field] = {
5616
+ line: area.carryForwardTo.line,
5617
+ note: area.carryForward
5618
+ };
5619
+ }
5620
+ for (const field of AT1_SCHEDULE_15_CLOSING_INSTRUCTION.lines) out[field] = {
5621
+ line: AT1_SCHEDULE_15_CLOSING_INSTRUCTION.to,
5622
+ note: AT1_SCHEDULE_15_CLOSING_INSTRUCTION.text
5623
+ };
5624
+ return out;
5625
+ })();
5626
+ /**
5627
+ * The page's footnotes, MARKED ones first in page order.
5628
+ *
5629
+ * The glyph runs restart per box, which is why {@link FormFootnotePlacement}
5630
+ * carries it as data: index 0 is Area A's "*", index 2 is Area B's "*", and
5631
+ * index 3 is Area C's "*" — three different rules, one glyph, three boxes.
5632
+ */
5633
+ const FOOTNOTES = [
5634
+ "Earned depletion base transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) are applicable should be entered in the regular expenses column if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5635
+ "If the amount is negative, enter \"0\" at lines 007 and 009 and/or lines 019 and 021.",
5636
+ "If the amount is negative, enter \"0\" at lines 031 and 033.",
5637
+ "Canadian exploration expenses transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) are applicable should be entered in the regular expenses column if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5638
+ "If the amount in the regular expenses column is negative, include it in income in the \"Other\" area on line 040 on Schedule 12 and enter \"0\" at lines 061 and 063 above. If the amount in the successor expenses column is negative, include it in income in the \"Other\" area at line 040 on Schedule 12 and enter \"0\" at lines 081 and 083 above.",
5639
+ "The maximum deduction is the amount available in the regular expenses column plus the lesser of the amount available in the successor expenses column and the amount determined pursuant to federal paragraph 66.7(3)(b), which in most cases will be the income attributable to the disposition of successored properties and the production income from successored properties.",
5640
+ "Canadian development expenses transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) are applicable should be entered in the regular expenses column if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5641
+ "(i) When the amount available in the successor expenses column is negative and there is no designation pursuant to federal subparagraph 66.7(4)(a)(iii), enter the amount at line 107. However, if a designation pursuant to federal subparagraph 66.7(4)(a)(iii) has been made, enter the negative amount available from the successor expenses column at line 167 in Area E \"Cumulative Canadian Oil and Gas Property Expenses\". If this results in a negative amount in the regular expenses column of Area E, enter the amount at line 105 above. In both instances, enter \"0\" at lines 141 and 143 above. (ii) If the amount in the regular expenses column is negative, include it in income in the \"Other\" area at line 040 on Schedule 12 and enter \"0\" at lines 115 and 117 above.",
5642
+ "The maximum deduction is 30% of the amount available in the regular expenses column plus the lesser of 30% of the amount available in the successor expenses column and the amount determined pursuant to federal paragraph 66.7(4)(b). In most cases, this will be the income attributed to the production income from successored properties. For a fiscal period of less than 51 weeks, the amount that can be claimed as a deduction is prorated based on the proportion that the number of days in the taxation year is of 365.",
5643
+ "Canadian oil and gas property expenses transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) are applicable should be entered in the regular expenses column if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5644
+ "(i) When the amount available in the successor expenses column is negative and there is no designation pursuant to subparagraph 66.7(4)(a)(iii), enter the amount at line 167 and enter \"0\" at lines 189 and 191. If this results in the amount available in the regular expenses column becoming negative, enter the negative amount at line 133 in Area D \"Cumulative Canadian Development Expenses\" and enter \"0\" at lines 169 and 171 above. If the amount available in the successor expenses column of Area D becomes negative, enter the amount at line 107 in Area D. When a designation pursuant to subparagraph 66.7(4)(a)(iii) has been made, enter the negative amount available from the successor expenses column at line 133 in Area D \"Cumulative Canadian Development Expenses\" and enter \"0\" at lines 189 and 191 above. If the amount available in the successor expenses column in Area D becomes negative, enter the negative amount at line 167 above. If this results in a negative amount in the regular expenses column of Area E above, enter the amount at line 105 in Area D. (ii) When the amount available in the regular expenses column is negative due to other than (i) above, enter the amount at line 105, Area D \"Cumulative Canadian Development Expenses\" and enter \"0\" at lines 169 and 171.",
5645
+ "The maximum deduction is 10% of the amount available in the regular expenses column plus the lesser of 10% of the amount available in the successor expenses column and the amount determined pursuant to federal paragraph 66.7(5)(b). In most cases, this will be the income attributable to the production income from successored properties. For a fiscal period of less than 51 weeks, the amount that can be claimed as a deduction is prorated based on the proportion that the number of days in the taxation year is of 365.",
5646
+ "Foreign exploration and development expenses transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) apply should be entered in the regular expenses column if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5647
+ "If the amount is negative, include it in income in the \"Other\" area at line 040 on Schedule 12 and enter \"0\" at lines 209 and 211 and/or lines 221 and 223.",
5648
+ "The maximum deduction for regular expenses is the lesser of: (a) the amount available in the regular expenses column; and (b) the greater of foreign-source resource income and 10% of the amount available in the regular expenses column. For successor expenses, the maximum allowable is the lesser of the amount available and foreign-source resource income attributable to successored properties. Foreign-source resource income includes income from oil and gas wells or mines outside Canada and proceeds less applicable expenses and reserves on disposition of foreign resource property. For a fiscal period of less than 51 weeks, 10% is prorated based on the proportion that the number of days in the taxation year is of 365.",
5649
+ "Foreign exploration and development expenses transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) apply should be entered in column C if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5650
+ "If an amount in column E is negative, include it as income in the \"Other\" area at line 040 on Schedule 12, and enter \"0\" at the respective lines 253 and 255 above. If an amount in column N is negative, include it as income in the \"Other\" area at line 040 on Schedule 12, and enter \"0\" at the respective lines 273 and 275 above.",
5651
+ "(i) The maximum deduction for regular expenses is the lesser of: a) the total of all amounts available in column E; and b) the greater of the total of all amounts in column H and 10% of the total of all amounts available in column E (for a fiscal period of less than 51 weeks, 10% is prorated based on the number of days in the taxation year divided by 365). The deduction claimed must be allocated to a particular country according to federal subsection 66(4.2) (ii) The maximum deduction for successor expenses is the lesser of: a) the total of all amounts available in column N; and b) the total of all amounts in column Q attributable to successored properties [foreign resource income is calculated in accordance with federal paragraph 66.7(2)(b)]. The deduction claimed must be allocated to a particular country according to federal subsection 66.7(2.2).",
5652
+ "The amount in column H is the excess of foreign resource income over the amount claimed under federal subsection 66.7(2).",
5653
+ "Foreign resource expenses transferred on amalgamation or wind-up to which federal subsections 87(1.2) and 88(1.5) apply should be entered in column CC if the expenses were regular expenses in the hands of the amalgamating company or the subsidiary being wound up.",
5654
+ "If an amount in column FF is negative, include it as income in the \"Other\" area at line 040 on Schedule 12, and enter \"0\" at the respective lines 293 and 295 above. If an amount in column OO is negative, include it as income in the \"Other\" area at line 040 on Schedule 12, and enter \"0\" at the respective lines 313 and 315 above.",
5655
+ "(i) The maximum deduction for regular expenses is the total of A and B where: A = the greater of: (i) 10% of the amount available in column FF; and (ii) the least of the following amounts: (a) 30% of the amount available in column FF; (b) the foreign resource income for the particular country in column II; or (c) the total of all amounts in column II. B = the lesser of: (i) the excess of the amount in column FF minus the amount A above; and (ii) the global foreign resource limit for the year designated for that country. For a fiscal period of less than 51 weeks, 10% and 30% are prorated based on the number of days in the taxation year divided by 365. (ii) The maximum deduction for successor expenses is the lesser of: a) 30% of the amount available in column OO (for a fiscal period of less than 51 weeks, 30% is prorated based on the number of days in the taxation year divided by 365); and b) the foreign resource income in column RR attributable to successored properties [foreign resource income is calculated in accordance with federal paragraph 66.7(2.3)(b)].",
5656
+ "Column II is the excess of foreign resource income over the total of any amount designated under federal subparagraph 59(1)(b)(ii) and claimed under federal subsections 66(4), 66.7(2), and 66.7(2.3)."
5657
+ ];
5658
+ const FOOTNOTE_PLACEMENT$1 = [
5659
+ {
5660
+ footnote: 0,
5661
+ section: "area-a",
5662
+ mark: "*"
5663
+ },
5664
+ {
5665
+ footnote: 1,
5666
+ section: "area-a",
5667
+ mark: "**"
5668
+ },
5669
+ {
5670
+ footnote: 2,
5671
+ section: "area-b",
5672
+ mark: "*"
5673
+ },
5674
+ {
5675
+ footnote: 3,
5676
+ section: "area-c",
5677
+ mark: "*"
5678
+ },
5679
+ {
5680
+ footnote: 4,
5681
+ section: "area-c",
5682
+ mark: "**"
5683
+ },
5684
+ {
5685
+ footnote: 5,
5686
+ section: "area-c",
5687
+ mark: "***"
5688
+ },
5689
+ {
5690
+ footnote: 6,
5691
+ section: "area-d",
5692
+ mark: "*"
5693
+ },
5694
+ {
5695
+ footnote: 7,
5696
+ section: "area-d",
5697
+ mark: "**"
5698
+ },
5699
+ {
5700
+ footnote: 8,
5701
+ section: "area-d",
5702
+ mark: "***"
5703
+ },
5704
+ {
5705
+ footnote: 9,
5706
+ section: "area-e",
5707
+ mark: "*"
5708
+ },
5709
+ {
5710
+ footnote: 10,
5711
+ section: "area-e",
5712
+ mark: "**"
5713
+ },
5714
+ {
5715
+ footnote: 11,
5716
+ section: "area-e",
5717
+ mark: "***"
5718
+ },
5719
+ {
5720
+ footnote: 12,
5721
+ section: "area-f",
5722
+ mark: "*"
5723
+ },
5724
+ {
5725
+ footnote: 13,
5726
+ section: "area-f",
5727
+ mark: "**"
5728
+ },
5729
+ {
5730
+ footnote: 14,
5731
+ section: "area-f",
5732
+ mark: "***"
5733
+ },
5734
+ {
5735
+ footnote: 15,
5736
+ section: "sfede",
5737
+ mark: "*"
5738
+ },
5739
+ {
5740
+ footnote: 16,
5741
+ section: "sfede",
5742
+ mark: "**"
5743
+ },
5744
+ {
5745
+ footnote: 17,
5746
+ section: "sfede",
5747
+ mark: "***"
5748
+ },
5749
+ {
5750
+ footnote: 18,
5751
+ section: "sfede",
5752
+ mark: "****"
5753
+ },
5754
+ {
5755
+ footnote: 19,
5756
+ section: "cfre",
5757
+ mark: "*"
5758
+ },
5759
+ {
5760
+ footnote: 20,
5761
+ section: "cfre",
5762
+ mark: "**"
5763
+ },
5764
+ {
5765
+ footnote: 21,
5766
+ section: "cfre",
5767
+ mark: "***"
5768
+ },
5769
+ {
5770
+ footnote: 22,
5771
+ section: "cfre",
5772
+ mark: "****"
5773
+ }
5774
+ ];
5775
+ /**
5776
+ * Every numbered cell in the grids above, as a field.
5777
+ *
5778
+ * DERIVED, not written beside them. Both cells of one row carry the same
5779
+ * caption because the page prints one label between them — a test asserts
5780
+ * that, so the duplication is a checked property of the page rather than an
5781
+ * accident waiting to be "tidied".
5782
+ */
5783
+ /**
5784
+ * Which printed page each section is on, read off {@link SECTIONS} rather than
5785
+ * restated.
5786
+ *
5787
+ * Every field gets the page its box is printed on. Worth having on a six-page
5788
+ * form: "line 167" and "line 105" are a page apart and route into each other,
5789
+ * and a reader reconciling against paper needs to know which sheet to turn to.
5790
+ */
5791
+ const PAGE_OF_SECTION = new Map(SECTIONS$28.map((s) => [s.id, s.page]));
5792
+ function fieldsFromAreas() {
5793
+ const out = [];
5794
+ for (const area of AT1_SCHEDULE_15_AREAS) {
5795
+ const page = PAGE_OF_SECTION.get(area.section);
5796
+ for (const row of area.rows) for (const field of [row.regular, row.successor]) {
5797
+ if (!field) continue;
5798
+ const to = CARRIES_TO[field];
5799
+ const note = LINE_NOTES[field];
5800
+ out.push({
5801
+ line: id$6(field),
5802
+ caption: row.label,
5803
+ kind: "money",
5804
+ role: CLOSING_BALANCES.has(field) ? "computed" : "input",
5805
+ section: area.section,
5806
+ ...page ? { page } : {},
5807
+ ...row.footnoteMarks ? { footnoteMarks: row.footnoteMarks } : {},
5808
+ ...to ? { to: {
5809
+ form: "AT1SCH12",
5810
+ line: to.line,
5811
+ note: to.note
5812
+ } } : {},
5813
+ ...note ? { note } : {}
5814
+ });
5815
+ }
5816
+ }
5817
+ return out;
5818
+ }
5819
+ /**
5820
+ * Every numbered COLUMN of the per-country tables, as a field.
5821
+ *
5822
+ * Derived for the same reason the continuity cells are: the letters, the
5823
+ * shading and the arithmetic live in one place, and a column that exists in
5824
+ * the table but not the field list is unrepresentable rather than merely
5825
+ * unlikely.
5826
+ *
5827
+ * Each field's note names its printed letter, because that letter is what the
5828
+ * footnotes speak in. A reader who meets line 253 alone has no way to know it
5829
+ * is "column F" and therefore the subject of "the maximum deduction for
5830
+ * regular expenses is the lesser of … the total of all amounts available in
5831
+ * column E".
5832
+ */
5833
+ function fieldsFromPerCountry() {
5834
+ const out = [];
5835
+ for (const area of AT1_SCHEDULE_15_PER_COUNTRY) for (const table of area.tables) for (const column of table.columns) {
5836
+ if (!column.line) continue;
5837
+ const where = column.letter ? `Column ${column.letter} of ${area.title.slice(0, 6)}, ${table.title}.` : `The country stub of ${area.title.slice(0, 6)}, ${table.title}.`;
5838
+ const extra = LINE_NOTES[column.line];
5839
+ out.push({
5840
+ line: id$6(column.line),
5841
+ caption: column.heading,
5842
+ kind: column.kind,
5843
+ role: column.role,
5844
+ section: area.section,
5845
+ ...PAGE_OF_SECTION.get(area.section) ? { page: PAGE_OF_SECTION.get(area.section) } : {},
5846
+ ...column.footnoteMarks ? { footnoteMarks: column.footnoteMarks } : {},
5847
+ note: extra ? `${where} ${extra}` : where
5848
+ });
5849
+ }
5850
+ return out;
5851
+ }
5852
+ const AT1_SCHEDULE_15 = {
5853
+ id: "AT1SCH15",
5854
+ program: "AT1",
5855
+ schedule: "015",
5856
+ title: "Alberta Resource Related Deductions",
5857
+ scheme: "tra-line-item-id",
5858
+ taxYears: { from: 2024 },
5859
+ sections: SECTIONS$28,
5860
+ fields: [...fieldsFromAreas(), ...fieldsFromPerCountry()],
5861
+ provenance: {
5862
+ document: "research/sources/tra-forms/pdf/AT1SCH15-resource-related-deductions-TRA11736.pdf",
5863
+ retrieved: "2026-09-14",
5864
+ revision: "TRA11736 (AT237) Rev. 2026-03, all six pages. Areas A to H: every numbered line, the shaded cells, the six unnumbered \"Amount Available\" rows, the four unnumbered per-country \"Amount available\" columns, the four grand totals the page names only by letter (I, R, JJ, SS), all 23 marked footnotes — including both cross-area designation rules and both per-country maximum-deduction rules in full — the four carry-forward instructions and the closing instruction at the foot of page 6. Held FIVE lines in total until 2026-09-14, while the filing builder emitted ~22 and the return editor cited a dozen more that nothing could confirm; transcribed in three passes, pages 1-2, 3-4 and 5-6."
5865
+ },
5866
+ footnotes: FOOTNOTES,
5867
+ footnotePlacement: FOOTNOTE_PLACEMENT$1
5868
+ };
5869
+ /**
5870
+ * The claim lines each carry-forward instruction names, by AT1 Schedule 12
5871
+ * destination.
5872
+ *
5873
+ * Derived from the areas, so there is one declaration of it. Exists as its own
5874
+ * export because AT1 Schedule 12's definition records the MIRROR of the same
5875
+ * fact in `albertaSource` — its line 022 reads `Schedule 15 lines 007 + 019
5876
+ * +031`, transcribed from Schedule 12's own page, spurious missing space and
5877
+ * all. A test asserts the two pages name the same lines, which is what makes
5878
+ * either one worth trusting.
5879
+ */
5880
+ const AT1_SCHEDULE_15_CARRY_FORWARD = Object.freeze(Object.fromEntries(AT1_SCHEDULE_15_AREAS.filter((a) => a.carryForwardTo).map((a) => [a.carryForwardTo.line, Object.freeze([...a.carryForwardTo.claims])])));
4744
5881
  //#endregion
4745
5882
  //#region src/t2/at1/forms/schedule16.ts
4746
5883
  /** `SSSFFFOOO` — schedule, field, occurrence. */
@@ -14069,4 +15206,4 @@ function findBrokenLinks() {
14069
15206
  return problems;
14070
15207
  }
14071
15208
  //#endregion
14072
- export { SCHEDULE_3_ELIGIBLE_PAID_LINE as $, AT1_SECTION_34_2_GROSS_UP as $t, T2_SCHEDULE_21 as A, AT1_BALANCE_CREDIT_LINES as An, AT1_SCHEDULE_29 as At, T2_SCHEDULE_7 as B, AT1_PRINTED_DEDUCTION_LINES as Bn, AT1_SCHEDULE_20 as Bt, T2_SCHEDULE_31 as C, AT1_SCHEDULE_1_AREA_B_PREAMBLE as Cn, CO17_TAXABLE_INCOME_BOX as Ct, T2_SCHEDULE_23 as D, AT1_SCHEDULE_1_COLUMNS as Dn, AT1_IEG_JACKET_LINE as Dt, SCHEDULE_23_GROUP_BUSINESS_LIMIT as E, AT1_SCHEDULE_1_BLOCK_HEADINGS as En, AT1_IEG_ENHANCED_RATE as Et, SCHEDULE_8_RECAPTURE_LINE as F, AT1_JACKET_CODE_OPTIONS as Fn, AT1_SCHEDULE_21_POOLS as Ft, SCHEDULE_5_SALARIES_OFFSET as G, AT1_SCHEDULE_18_ABIL_COLUMNS as Gt, T2_SCHEDULE_6 as H, AT4970 as Hn, COMPUTED_CONTINUITY_ROWS as Ht, SCHEDULE_8_TERMINAL_LOSS_LINE as I, AT1_JACKET_DAY_BANDS as In, CONTINUITY_CAPTIONS as It, SCHEDULE_4_LPP_CARRYFORWARD_YEARS as J, AT1_SCHEDULE_18_CATEGORIES as Jt, T2_SCHEDULE_5 as K, AT1_SCHEDULE_18_ABIL_TOTALS_LABEL as Kt, T2_SCHEDULE_8 as L, AT1_JACKET_DEPARTMENT_USE as Ln, CONTINUITY_ORDER as Lt, T2_SCHEDULE_13 as M, AT1_BALANCE_LINE as Mn, AT1_SCHEDULE_29_ALLOCATION_TOTALS_LABEL as Mt, SCHEDULE_8_CCA_LINE as N, AT1_JACKET as Nn, AT1_SCHEDULE_29_BLOCK_HEADINGS as Nt, SCHEDULE_21_BUSINESS_CREDIT_LINE as O, AT1_SCHEDULE_1_RATE_PERIODS as On, AT1_IEG_MAX_EXPENDITURE as Ot, SCHEDULE_8_COLUMNS as P, AT1_JACKET_BLOCK_HEADINGS as Pn, AT1_SCHEDULE_21 as Pt, buildFields as Q, AT1_SCHEDULE_18_PRINTED_AFTER as Qt, SCHEDULE_7_ADJUSTED_AII_LINE as R, AT1_JACKET_LINES_NOT_PRINTED as Rn, scheduleTwentyOneLineId as Rt, SCHEDULE_31_GENERAL_SRED_RATE as S, AT1_SCHEDULE_1_AREA_B_LARGE_CORPORATIONS as Sn, CO17_RETURN as St, T2_SCHEDULE_24 as T, AT1_SCHEDULE_1_AREA_B_TITLE as Tn, AT1_IEG_BASE_RATE as Tt, SCHEDULE_5_JURISDICTIONS as U, AT4970_JURISDICTIONS as Un, CONTINUITY_ROWS as Ut, SCHEDULE_6_GRIDS as V, AT1_TAX_PAYABLE_LINE as Vn, AT1_SCHEDULE_20_POOLS as Vt, SCHEDULE_5_REVENUE_OFFSET as W, AT1_SCHEDULE_18 as Wt, T2_SCHEDULE_4 as X, AT1_SCHEDULE_18_GAIN_FORMULA as Xt, SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS as Y, AT1_SCHEDULE_18_COLUMNS as Yt, UnclassifiedLineError as Z, AT1_SCHEDULE_18_GRIDS as Zt, SCHEDULE_43_DIVIDEND_ALLOWANCE as _, AT1_SCHEDULE_2_FACTOR_DESTINATION as _n, T2_NET_INCOME_FOR_TAX_LINE as _t, getField as a, AT1_SCHEDULE_13 as an, SCHEDULE_1_LINES as at, T2_SCHEDULE_33 as b, AT1_SCHEDULE_1_AGREEMENT_COLUMNS as bn, T2_TOTAL_TAX_PAYABLE_LINE as bt, SCHEDULE_141_RESERVATION_LINE as c, AT1_SCHEDULE_12_PAIRS as cn, SCHEDULE_1_TOTAL_DEDUCTIONS_LINE as ct, T2_SCHEDULE_55 as d, AT1_SCHEDULE_4_COLUMNS as dn, indexByLine as dt, AT1_SCHEDULE_17 as en, SCHEDULE_3_TAXABLE_PAID_LINE as et, SCHEDULE_53_CLOSING_GRIP_LINE as f, AT1_SCHEDULE_3 as fn, inputFields as ft, T2_SCHEDULE_50 as g, AT1_SCHEDULE_2 as gn, T2_JACKET as gt, SCHEDULE_50_DISCLOSURE_THRESHOLD as h, albertaVintageRowLabel as hn, T2_BASE_PART_I_RATE as ht, formsForProgram as i, AT1_SCHEDULE_15 as in, T2_SCHEDULE_2 as it, SCHEDULE_13_RESERVE_ROWS as j, AT1_BALANCE_CREDIT_LINES_PER_SPEC as jn, AT1_SCHEDULE_29_ALLOCATION_COLUMNS as jt, SCHEDULE_21_NON_BUSINESS_CREDIT_LINE as k, AT1_SCHEDULE_1_TOTAL_DAYS_LABEL as kn, AT1_IEG_PRIOR_YEARS as kt, T2_SCHEDULE_141 as l, AT1_SCHEDULE_10 as ln, T2_SCHEDULE_1 as lt, T2_SCHEDULE_53 as m, AT1_SCHEDULE_3_VINTAGE_TOTALS_LABEL as mn, validateFormDefinition as mt, describeLine as n, AT1_SCHEDULE_16 as nn, SCHEDULE_2_CARRYFORWARD_YEARS as nt, getForm as o, AT1_SCHEDULE_13_COLUMNS as on, SCHEDULE_1_LINE_BY_NUMBER as ot, SCHEDULE_53_GENERAL_RATE_FACTOR as p, AT1_SCHEDULE_3_VINTAGE_TABLES as pn, isEnterableLine as pt, SCHEDULE_4_CARRYBACK_YEARS as q, AT1_SCHEDULE_18_BLOCK_HEADINGS as qt, findBrokenLinks as r, AT1_SCHEDULE_16_CARRYFORWARD_LINE as rn, SCHEDULE_2_CHARITABLE_CURRENT_LINE as rt, SCHEDULE_141_PREPARER_IDENTIFIED_LINE as s, AT1_SCHEDULE_12 as sn, SCHEDULE_1_TOTAL_ADDITIONS_LINE as st, FORMS as t, AT1_SCHEDULE_17_RESERVES as tn, T2_SCHEDULE_3 as tt, T2_SCHEDULE_130 as u, AT1_SCHEDULE_4 as un, fieldsInSection as ut, T2_SCHEDULE_43 as v, AT1_SCHEDULE_2_FORMULAS as vn, T2_SMALL_BUSINESS_DEDUCTION_RATE as vt, SCHEDULE_24_OPERATION_TYPE_LINE as w, AT1_SCHEDULE_1_AREA_B_STEPS as wn, CO17_TAX_PAYABLE_BOX as wt, SCHEDULE_31_ENHANCED_SRED_RATE as x, AT1_SCHEDULE_1_AGREEMENT_TOTALS_LABEL as xn, CO17_QUEBEC_PROPORTION_BOX as xt, SCHEDULE_33_TAXABLE_CAPITAL_IN_CANADA_LINE as y, AT1_SCHEDULE_1 as yn, T2_TAXABLE_INCOME_LINE as yt, SCHEDULE_7_PASSIVE_INCOME_THRESHOLD as z, AT1_JACKET_RATE_ROWS as zn, AT1_DONATION_CARRYFORWARD_YEARS as zt };
15209
+ export { SCHEDULE_3_ELIGIBLE_PAID_LINE as $, AT1_SECTION_34_2_GROSS_UP as $t, T2_SCHEDULE_21 as A, AT1_SCHEDULE_1_BLOCK_HEADINGS as An, AT1_SCHEDULE_29 as At, T2_SCHEDULE_7 as B, AT1_JACKET_DAY_BANDS as Bn, AT1_SCHEDULE_20 as Bt, T2_SCHEDULE_31 as C, AT1_SCHEDULE_1 as Cn, CO17_TAXABLE_INCOME_BOX as Ct, T2_SCHEDULE_23 as D, AT1_SCHEDULE_1_AREA_B_PREAMBLE as Dn, AT1_IEG_JACKET_LINE as Dt, SCHEDULE_23_GROUP_BUSINESS_LIMIT as E, AT1_SCHEDULE_1_AREA_B_LARGE_CORPORATIONS as En, AT1_IEG_ENHANCED_RATE as Et, SCHEDULE_8_RECAPTURE_LINE as F, AT1_BALANCE_CREDIT_LINES_PER_SPEC as Fn, AT1_SCHEDULE_21_POOLS as Ft, SCHEDULE_5_SALARIES_OFFSET as G, AT1_TAX_PAYABLE_LINE as Gn, AT1_SCHEDULE_18_ABIL_COLUMNS as Gt, T2_SCHEDULE_6 as H, AT1_JACKET_LINES_NOT_PRINTED as Hn, COMPUTED_CONTINUITY_ROWS as Ht, SCHEDULE_8_TERMINAL_LOSS_LINE as I, AT1_BALANCE_LINE as In, CONTINUITY_CAPTIONS as It, SCHEDULE_4_LPP_CARRYFORWARD_YEARS as J, AT1_SCHEDULE_18_CATEGORIES as Jt, T2_SCHEDULE_5 as K, AT4970 as Kn, AT1_SCHEDULE_18_ABIL_TOTALS_LABEL as Kt, T2_SCHEDULE_8 as L, AT1_JACKET as Ln, CONTINUITY_ORDER as Lt, T2_SCHEDULE_13 as M, AT1_SCHEDULE_1_RATE_PERIODS as Mn, AT1_SCHEDULE_29_ALLOCATION_TOTALS_LABEL as Mt, SCHEDULE_8_CCA_LINE as N, AT1_SCHEDULE_1_TOTAL_DAYS_LABEL as Nn, AT1_SCHEDULE_29_BLOCK_HEADINGS as Nt, SCHEDULE_21_BUSINESS_CREDIT_LINE as O, AT1_SCHEDULE_1_AREA_B_STEPS as On, AT1_IEG_MAX_EXPENDITURE as Ot, SCHEDULE_8_COLUMNS as P, AT1_BALANCE_CREDIT_LINES as Pn, AT1_SCHEDULE_21 as Pt, buildFields as Q, AT1_SCHEDULE_18_PRINTED_AFTER as Qt, SCHEDULE_7_ADJUSTED_AII_LINE as R, AT1_JACKET_BLOCK_HEADINGS as Rn, scheduleTwentyOneLineId as Rt, SCHEDULE_31_GENERAL_SRED_RATE as S, AT1_SCHEDULE_2_FORMULAS as Sn, CO17_RETURN as St, T2_SCHEDULE_24 as T, AT1_SCHEDULE_1_AGREEMENT_TOTALS_LABEL as Tn, AT1_IEG_BASE_RATE as Tt, SCHEDULE_5_JURISDICTIONS as U, AT1_JACKET_RATE_ROWS as Un, CONTINUITY_ROWS as Ut, SCHEDULE_6_GRIDS as V, AT1_JACKET_DEPARTMENT_USE as Vn, AT1_SCHEDULE_20_POOLS as Vt, SCHEDULE_5_REVENUE_OFFSET as W, AT1_PRINTED_DEDUCTION_LINES as Wn, AT1_SCHEDULE_18 as Wt, T2_SCHEDULE_4 as X, AT1_SCHEDULE_18_GAIN_FORMULA as Xt, SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS as Y, AT1_SCHEDULE_18_COLUMNS as Yt, UnclassifiedLineError as Z, AT1_SCHEDULE_18_GRIDS as Zt, SCHEDULE_43_DIVIDEND_ALLOWANCE as _, AT1_SCHEDULE_3_VINTAGE_TABLES as _n, T2_NET_INCOME_FOR_TAX_LINE as _t, getField as a, AT1_SCHEDULE_15_AREAS as an, SCHEDULE_1_LINES as at, T2_SCHEDULE_33 as b, AT1_SCHEDULE_2 as bn, T2_TOTAL_TAX_PAYABLE_LINE as bt, SCHEDULE_141_RESERVATION_LINE as c, AT1_SCHEDULE_15_PER_COUNTRY as cn, SCHEDULE_1_TOTAL_DEDUCTIONS_LINE as ct, T2_SCHEDULE_55 as d, AT1_SCHEDULE_12 as dn, indexByLine as dt, AT1_SCHEDULE_17 as en, SCHEDULE_3_TAXABLE_PAID_LINE as et, SCHEDULE_53_CLOSING_GRIP_LINE as f, AT1_SCHEDULE_12_PAIRS as fn, inputFields as ft, T2_SCHEDULE_50 as g, AT1_SCHEDULE_3 as gn, T2_JACKET as gt, SCHEDULE_50_DISCLOSURE_THRESHOLD as h, AT1_SCHEDULE_4_COLUMNS as hn, T2_BASE_PART_I_RATE as ht, formsForProgram as i, AT1_SCHEDULE_15 as in, T2_SCHEDULE_2 as it, SCHEDULE_13_RESERVE_ROWS as j, AT1_SCHEDULE_1_COLUMNS as jn, AT1_SCHEDULE_29_ALLOCATION_COLUMNS as jt, SCHEDULE_21_NON_BUSINESS_CREDIT_LINE as k, AT1_SCHEDULE_1_AREA_B_TITLE as kn, AT1_IEG_PRIOR_YEARS as kt, T2_SCHEDULE_141 as l, AT1_SCHEDULE_13 as ln, T2_SCHEDULE_1 as lt, T2_SCHEDULE_53 as m, AT1_SCHEDULE_4 as mn, validateFormDefinition as mt, describeLine as n, AT1_SCHEDULE_16 as nn, SCHEDULE_2_CARRYFORWARD_YEARS as nt, getForm as o, AT1_SCHEDULE_15_CARRY_FORWARD as on, SCHEDULE_1_LINE_BY_NUMBER as ot, SCHEDULE_53_GENERAL_RATE_FACTOR as p, AT1_SCHEDULE_10 as pn, isEnterableLine as pt, SCHEDULE_4_CARRYBACK_YEARS as q, AT4970_JURISDICTIONS as qn, AT1_SCHEDULE_18_BLOCK_HEADINGS as qt, findBrokenLinks as r, AT1_SCHEDULE_16_CARRYFORWARD_LINE as rn, SCHEDULE_2_CHARITABLE_CURRENT_LINE as rt, SCHEDULE_141_PREPARER_IDENTIFIED_LINE as s, AT1_SCHEDULE_15_CLOSING_INSTRUCTION as sn, SCHEDULE_1_TOTAL_ADDITIONS_LINE as st, FORMS as t, AT1_SCHEDULE_17_RESERVES as tn, T2_SCHEDULE_3 as tt, T2_SCHEDULE_130 as u, AT1_SCHEDULE_13_COLUMNS as un, fieldsInSection as ut, T2_SCHEDULE_43 as v, AT1_SCHEDULE_3_VINTAGE_TOTALS_LABEL as vn, T2_SMALL_BUSINESS_DEDUCTION_RATE as vt, SCHEDULE_24_OPERATION_TYPE_LINE as w, AT1_SCHEDULE_1_AGREEMENT_COLUMNS as wn, CO17_TAX_PAYABLE_BOX as wt, SCHEDULE_31_ENHANCED_SRED_RATE as x, AT1_SCHEDULE_2_FACTOR_DESTINATION as xn, CO17_QUEBEC_PROPORTION_BOX as xt, SCHEDULE_33_TAXABLE_CAPITAL_IN_CANADA_LINE as y, albertaVintageRowLabel as yn, T2_TAXABLE_INCOME_LINE as yt, SCHEDULE_7_PASSIVE_INCOME_THRESHOLD as z, AT1_JACKET_CODE_OPTIONS as zn, AT1_DONATION_CARRYFORWARD_YEARS as zt };