@classytic/ca-tax 0.0.17 → 0.0.19
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/CHANGELOG.md +182 -0
- package/dist/forms/index.d.mts +2 -2
- package/dist/forms/index.mjs +2 -2
- package/dist/forms.mjs +746 -1356
- package/dist/index.d.mts +132 -20
- package/dist/index.mjs +3 -3
- package/dist/index3.d.mts +187 -1198
- package/dist/index4.d.mts +3 -3
- package/dist/t2/index.d.mts +3 -3
- package/dist/t2/index.mjs +3 -3
- package/dist/t2.mjs +213 -839
- package/package.json +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,187 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.19] - 2026-09-09
|
|
4
|
+
|
|
5
|
+
### Fixed — AT1 Schedule 12 was missing three mandatory computed lines entirely
|
|
6
|
+
|
|
7
|
+
Lines 050, 090 and 091 are all marked `M` (mandatory) in §3.2.3.13 and none was ever filed. The
|
|
8
|
+
schedule went out with net income at 054 but neither the federal total that produces it (050)
|
|
9
|
+
nor the taxable income it leads to (090/091) — and 090 is what AT1 page 2 line 062 is taken
|
|
10
|
+
from, so its absence left the jacket's own taxable income undisclosed on the schedule that
|
|
11
|
+
derives it.
|
|
12
|
+
|
|
13
|
+
- **050** — the federal/Alberta discretionary-difference total, signed per the spec's own
|
|
14
|
+
formula (`−005 +007 −009 −011 +013 +015 −017 +019 −021 −023 −027 −029 −031 −033 +037 −039
|
|
15
|
+
+041`). Filed as an explicit zero, not omitted, when nothing diverges — the spec states so
|
|
16
|
+
verbatim.
|
|
17
|
+
- **090/091** — taxable income, Alberta and federal: `054 − (Area B Alberta) + 082` and
|
|
18
|
+
`002 − (Area B federal) + 083`, with the printed qualification that a corporation whose
|
|
19
|
+
deductions exhaust its income reports its s.110.5 additions as the figure rather than a
|
|
20
|
+
negative. New `Schedule12FilingInput.taxableIncome?: { alberta, federal }` lets a caller
|
|
21
|
+
supply the real computed figure instead — the line-derived sum is only as complete as the
|
|
22
|
+
deduction lines this engine actually models (a central credit union allocation, prospector's
|
|
23
|
+
shares, the non-qualified-securities deduction, if uncarried, would silently overstate it).
|
|
24
|
+
Line 052 (the printed subtotal en route to 054) and Area B's own 080/081 subtotals are
|
|
25
|
+
confirmed print-only — no line code, nothing to file — same as the jacket's line 088.
|
|
26
|
+
|
|
27
|
+
### Added — five previously-unfiled Schedule 12 Area B pairs
|
|
28
|
+
|
|
29
|
+
Taxable dividends deductible (060/061), Part VI.1 tax deduction (062/063), central credit union
|
|
30
|
+
allocation (074/075), prospector's and grubstaker's shares (078/079), non-qualified-securities
|
|
31
|
+
employer deduction (140/141) — all mandatory pairs with no prior emitter. Each now transmits
|
|
32
|
+
both sides whenever the caller supplies it; absent data stays unfiled rather than defaulting to
|
|
33
|
+
zero, since filing 0 would assert a deduction the corporation is not known to lack.
|
|
34
|
+
|
|
35
|
+
### Fixed — Schedule 12's s.110.5 additions line traced a typo on TRA's own printed form
|
|
36
|
+
|
|
37
|
+
083 is annotated on the page as "T2 line 335" — that line is limited partnership losses, a
|
|
38
|
+
*deduction*, already this schedule's 072/073 pair, and cannot be what an *additions* line reads.
|
|
39
|
+
§3.2.3.13's own rule says "must equal fed 200355", and CRA line 355 is the s.110.5/115(1)(a)(vii)
|
|
40
|
+
additions line. The engine now follows the spec and CRA over the form's own annotation, per
|
|
41
|
+
`section110_5Additions`.
|
|
42
|
+
|
|
43
|
+
### Fixed — Schedule 12 label and note corrections
|
|
44
|
+
|
|
45
|
+
"Taxable dividends deductible under ITA s.112, 113 or **186**(6)" corrected to **138**(6). Four
|
|
46
|
+
Area B notes claiming "no Alberta divergence path" or "both sides read the same federal line"
|
|
47
|
+
corrected — each box in fact accepts a preparer-entered Alberta-side override; there was simply
|
|
48
|
+
no modelled path to supply one until this release.
|
|
49
|
+
|
|
50
|
+
### Fixed — Schedule 18's ABIL rows filed the name and shares/debt flag but none of the money
|
|
51
|
+
|
|
52
|
+
Every printed column on the small-business-corporation row is its own filed box — 086 (date of
|
|
53
|
+
acquisition), 088/090/092 (proceeds, adjusted cost base, outlays) — and the emitter previously
|
|
54
|
+
wrote only 082 and 084. The 094 total was correct; nothing underneath it showed TRA how the loss
|
|
55
|
+
was arrived at. 086 is genuinely optional on the form and is omitted (not filed as an empty
|
|
56
|
+
string) when no acquisition date is recorded.
|
|
57
|
+
|
|
58
|
+
### Fixed — Schedule 18's `FormDefinition` invented a page section that isn't on the form
|
|
59
|
+
|
|
60
|
+
The definition split dispositions into two sections, "Dispositions by category" and "Adjustments
|
|
61
|
+
to the total gain" (lines 062-099). The form prints exactly two block headings total — capital
|
|
62
|
+
property dispositions (page 1) and the ABIL block (page 2) — and every line the definition had
|
|
63
|
+
called "adjustments" sits under the same page-1 heading as the six-category grid above it. A
|
|
64
|
+
preparer holding the paper form would look for that second heading and not find it. Merged back
|
|
65
|
+
into one `dispositions` section per the actual page; both sections now carry their printed page
|
|
66
|
+
number.
|
|
67
|
+
|
|
68
|
+
## [0.0.18] - 2026-09-08
|
|
69
|
+
|
|
70
|
+
### Removed — AT1 Schedules 5, 6, 7, 8 and 9 (BREAKING)
|
|
71
|
+
|
|
72
|
+
Every one of these is a repealed programme, not a dormant one, and the definitions were
|
|
73
|
+
declaring `taxYears: { from: 2024 }` — a year none of them can apply to.
|
|
74
|
+
|
|
75
|
+
| Schedule | Why it is gone |
|
|
76
|
+
|---|---|
|
|
77
|
+
| 5 · Royalty Tax Deduction, 6 · Royalty Tax Credit, 7 · Royalty Supplemental | The Alberta Royalty Tax Credit ended with 2006 |
|
|
78
|
+
| 8 · Political Contributions Tax Credit | Corporate political contributions have been prohibited in Alberta since 2015-06-15 (Bill 1), so the contribution the credit rewards cannot lawfully be made |
|
|
79
|
+
| 9 · SR&ED Tax Credit | Eliminated for expenditures after 2019-12-31 and replaced by the Innovation Employment Grant — Schedule 29, which this package models |
|
|
80
|
+
|
|
81
|
+
Three independent sources agree: `alberta.ca/corporate-income-tax` publishes exactly fifteen AT1
|
|
82
|
+
forms and none of these; TRA's current printed AT1 (TRA11722 Rev. 2025-07) prints no line for any
|
|
83
|
+
of them; and AuraTax, a TRA-certified Net File preparer, offers the same fifteen schedules and no
|
|
84
|
+
more. Evidence and method in
|
|
85
|
+
`research/validation/auratax/2026-09-01-at1-schedules-5-11-missing-pdfs`.
|
|
86
|
+
|
|
87
|
+
Removed: `AT1_SCHEDULE_5` … `AT1_SCHEDULE_9` and their engine modules, result types and
|
|
88
|
+
`schedule{5..9}Values` emitters; the matching optional keys on `computeAlbertaReturn`'s
|
|
89
|
+
`schedules` input (`royaltyTaxDeduction`, `royaltyTaxCredit`, `royaltySupplemental`,
|
|
90
|
+
`politicalContributions`, `sredTaxCredit`).
|
|
91
|
+
|
|
92
|
+
**Not** removed: RSI jacket lines 064, 071, 074 and 081. §3.2.3.1 marks all four mandatory and the
|
|
93
|
+
Net File format stays stable across reassessment years, so they are still emitted — now as a
|
|
94
|
+
documented constant zero carrying its own repeal reason (see `NOTES` in `t2/at1/forms/jacket.ts`).
|
|
95
|
+
|
|
96
|
+
### Fixed — AT1 line 090 overstated the balance by the whole Innovation Employment Grant
|
|
97
|
+
|
|
98
|
+
`albertaBalanceUnpaid` followed §3.2.3.1's own line-090 rule,
|
|
99
|
+
`000080 - (000081 + 000082 + 00085 + 000086 + 000087)`. That rule nets the **eliminated** Alberta
|
|
100
|
+
SR&ED tax credit (081) and omits both the Innovation Employment Grant (129) and the Film and
|
|
101
|
+
Television Tax Credit (115) — two credits the same specification marks mandatory. Every
|
|
102
|
+
corporation claiming an IEG was therefore filed with a balance overstated by the entire grant.
|
|
103
|
+
|
|
104
|
+
Line 090 now follows the printed form, which strikes a subtotal at 088:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
088 = 129 + 082 + 085 + 086 + 115 + 087 (print-only — no line code, not filed)
|
|
108
|
+
090 = 080 − 088
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Four things say the specification's rule is the stale half, not the form's: 088 does not exist in
|
|
112
|
+
the specification at all, so 090 is the only place credits can net; the specification defines 115
|
|
113
|
+
and 129 as mandatory and then omits both from its own formula; the rule text carries a typo
|
|
114
|
+
(`00085` for `000085`); and its worked RSI example is a 2009 tax year carrying lines 083 and 084
|
|
115
|
+
that are not on the current form. `albertaBalanceUnpaidPerSpec` is exported alongside so a host can
|
|
116
|
+
compute both and disclose the difference rather than assert one in silence —
|
|
117
|
+
`apps/server` raises `AT1_BALANCE_FORMULA_CONFLICT` (amber) where they differ.
|
|
118
|
+
|
|
119
|
+
`AT1_BALANCE_CREDIT_LINES` now lists the form's six credits; `AT1_BALANCE_CREDIT_LINES_PER_SPEC`
|
|
120
|
+
is new and lists the specification's five.
|
|
121
|
+
|
|
122
|
+
### Fixed — AT1 Schedule 10 filed the capital column at the wrong amount, and omitted four lines
|
|
123
|
+
|
|
124
|
+
The capital block is four printed columns, not two. `schedule10Values` read the "Amount of Loss
|
|
125
|
+
Applied (Inclusion Rate X Capital Loss)" heading as though it labelled 044/046/048 and wrote the
|
|
126
|
+
rated figure into them, while emitting no inclusion rate at all. Those lines are the **gross**
|
|
127
|
+
amount: §3.2.3.11 requires `010044 ≤ 010042` and `010050 = 010042 − (010044 + 010046 + 010048)`,
|
|
128
|
+
so a rated figure fails TRA's own cross-line rules. The applied column has no line code — TRA
|
|
129
|
+
derives it.
|
|
130
|
+
|
|
131
|
+
Now emitted: 043/045/047 (the inclusion rate, six decimals, per year of *application* — ¾ before
|
|
132
|
+
2000-02-28, ⅔ to 2000-10-17, ½ after, so a three-year carry-back can legitimately carry three
|
|
133
|
+
different rates) and 050 (the balance carried forward), none of which were filed before.
|
|
134
|
+
`LossCarrybackYear` gains an optional per-year `inclusionRate`.
|
|
135
|
+
|
|
136
|
+
### Fixed — AT1 Schedule 18 line 053 was captioned as the wrong deduction
|
|
137
|
+
|
|
138
|
+
Captioned "Add: adjustment under subsection 112(3) to losses". §3.2.3.19 names it "Add: Line 160 of
|
|
139
|
+
federal Schedule 6" and rules it "Must equal fed 006160". The `from` wiring was already right, so
|
|
140
|
+
this was a wrong label on a correctly-wired transmitted line.
|
|
141
|
+
|
|
142
|
+
Also added, all printed on the form and previously unrecorded: 060 → Schedule 21 line 119,
|
|
143
|
+
099 (when negative) → Schedule 21 line 057, and 094 → Schedule 12 line 040. The personal-use and
|
|
144
|
+
listed-personal-property rows now word column D "Gain:" rather than "Gain or (loss):", matching the
|
|
145
|
+
page — a loss on those categories is not deductible and 018058's own rule floors it at zero.
|
|
146
|
+
|
|
147
|
+
### Fixed — AT1 Schedule 16 dropped the negative-pool branch
|
|
148
|
+
|
|
149
|
+
Line 016's caption was "Subtotal". The form states the arithmetic *and* a branch: a **negative**
|
|
150
|
+
subtotal carries to Schedule 12 line 034 with "0" on lines 018/020/022. A negative pool is an income
|
|
151
|
+
inclusion, not a nil deduction, and nothing recorded that. Line 020's printed carry-forward to
|
|
152
|
+
Schedule 12 line 034 was also unwired.
|
|
153
|
+
|
|
154
|
+
### Changed — captions are the form's own words
|
|
155
|
+
|
|
156
|
+
AT1 Schedules 10, 12, 13, 16, 17, 18, 20 and 21 now carry the printed captions verbatim, including
|
|
157
|
+
parentheticals the preparer needs ("(enter as a positive amount)", `Line 001 - line 013: (if
|
|
158
|
+
positive, enter "0")`) and the arithmetic a caption states.
|
|
159
|
+
|
|
160
|
+
Schedule 21's five loss pools each carry their **own** captions. The three printed blocks word the
|
|
161
|
+
same row three ways ("Deduct: losses expired" / "…(see note on page 4)" / "…after seven taxation
|
|
162
|
+
years"), and the "applied" row is genuinely two printed rows per block — 041 "applied against
|
|
163
|
+
taxable income" against 061 "applied against current year capital gain", 079 against 099 "applied
|
|
164
|
+
against farming income". One shared caption map said the capital column was applied against taxable
|
|
165
|
+
income, which it is not. Schedule 20's section order now follows the page (Area A, Area B, gifts,
|
|
166
|
+
carryforward — Area B is on page 1, the gifts block overleaf); its module header had been calling
|
|
167
|
+
the gifts block "Area B", which is the maximum-deduction calculation.
|
|
168
|
+
|
|
169
|
+
Schedule 13 gains `AlbertaCcaColumn.printedHeading`: the column heading verbatim, kept beside the
|
|
170
|
+
short label because this form states each derived column's arithmetic inside its own heading
|
|
171
|
+
("UCC at the end of the year (column 10 minus column 23)") and a forty-word heading is the right
|
|
172
|
+
record of the form and the wrong thing to print twenty-four times across a grid.
|
|
173
|
+
|
|
174
|
+
### Changed — provenance now cites the primary document
|
|
175
|
+
|
|
176
|
+
Schedules 12, 13, 16, 17, 18 and 21 cited derived `research/field-maps/*.md` notes; all six now cite
|
|
177
|
+
the form they were actually read from, and say which half came from where. Schedule 20 cited an
|
|
178
|
+
AuraTax README.
|
|
179
|
+
|
|
180
|
+
AT1 Schedule 18's PDF is a **dynamic XFA form** — its pages carry only Adobe's "requires Adobe
|
|
181
|
+
Reader 8" placeholder, so `pdftotext` and every renderer return that and nothing else. The form
|
|
182
|
+
lives in the `/AcroForm /XFA` template stream; the extraction, and the command to reproduce it, are
|
|
183
|
+
checked in at `research/sources/tra-forms/xfa/`.
|
|
184
|
+
|
|
3
185
|
## [0.0.17] - 2026-09-07
|
|
4
186
|
|
|
5
187
|
### Added — federal per-schedule, per-line filing payloads (`src/t2/filing/t2-schedule-line-items.ts`)
|
package/dist/forms/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SCHEDULE_5_REVENUE_OFFSET, $t as AT1_SCHEDULE_16, A as T2_SCHEDULE_24, An as
|
|
2
|
-
export { AT1_BALANCE_CREDIT_LINES, AT1_BALANCE_LINE, AT1_DONATION_CARRYFORWARD_YEARS, AT1_IEG_BASE_RATE, AT1_IEG_ENHANCED_RATE, AT1_IEG_JACKET_LINE, AT1_IEG_MAX_EXPENDITURE, AT1_IEG_PRIOR_YEARS, AT1_JACKET, AT1_SCHEDULE_1, AT1_SCHEDULE_10, AT1_SCHEDULE_12, AT1_SCHEDULE_12_PAIRS, AT1_SCHEDULE_13, AT1_SCHEDULE_13_COLUMNS, AT1_SCHEDULE_15, AT1_SCHEDULE_16, AT1_SCHEDULE_16_CARRYFORWARD_LINE, AT1_SCHEDULE_17, AT1_SCHEDULE_17_RESERVES, AT1_SCHEDULE_18, AT1_SCHEDULE_18_CATEGORIES, AT1_SCHEDULE_2, AT1_SCHEDULE_20, COMPUTED_CONTINUITY_ROWS as AT1_SCHEDULE_20_COMPUTED_CONTINUITY_ROWS, CONTINUITY_ROWS as AT1_SCHEDULE_20_CONTINUITY_ROWS, AT1_SCHEDULE_20_POOLS, AT1_SCHEDULE_21, CONTINUITY_CAPTIONS as AT1_SCHEDULE_21_CONTINUITY_CAPTIONS, CONTINUITY_ORDER as AT1_SCHEDULE_21_CONTINUITY_ORDER, AT1_SCHEDULE_21_POOLS, AT1_SCHEDULE_29, AT1_SCHEDULE_3, AT1_SCHEDULE_4,
|
|
1
|
+
import { $ as SCHEDULE_5_REVENUE_OFFSET, $t as AT1_SCHEDULE_16, A as T2_SCHEDULE_24, An as indexByLine, At as AT1_IEG_MAX_EXPENDITURE, B as SCHEDULE_8_CCA_LINE, Bt as AT1_SCHEDULE_20, C as T2_SCHEDULE_43, Cn as FormFieldRole, Ct as CO17_QUEBEC_PROPORTION_BOX, D as SCHEDULE_31_GENERAL_SRED_RATE, Dn as FormSection, Dt as AT1_IEG_BASE_RATE, E as SCHEDULE_31_ENHANCED_SRED_RATE, En as FormProvenance, Et as CO17_TAX_PAYABLE_BOX, F as T2_SCHEDULE_21, Ft as AlbertaLossPool, G as SCHEDULE_7_ADJUSTED_AII_LINE, Gt as DonationPool, H as SCHEDULE_8_RECAPTURE_LINE, Ht as COMPUTED_CONTINUITY_ROWS, I as ReserveRow, It as CONTINUITY_CAPTIONS, J as DispositionGrid, Jt as AT1_SECTION_34_2_GROSS_UP, K as SCHEDULE_7_PASSIVE_INCOME_THRESHOLD, Kt as AT1_SCHEDULE_18, L as SCHEDULE_13_RESERVE_ROWS, Lt as CONTINUITY_ORDER, M as T2_SCHEDULE_23, Mn as isEnterableLine, Mt as AT1_SCHEDULE_29, N as SCHEDULE_21_BUSINESS_CREDIT_LINE, Nn as validateFormDefinition, Nt as AT1_SCHEDULE_21, O as T2_SCHEDULE_31, On as LineNumberScheme, Ot as AT1_IEG_ENHANCED_RATE, P as SCHEDULE_21_NON_BUSINESS_CREDIT_LINE, Pt as AT1_SCHEDULE_21_POOLS, Q as SCHEDULE_5_JURISDICTIONS, Qt as AlbertaReserveKind, R as T2_SCHEDULE_13, Rt as scheduleTwentyOneLineId, S as SCHEDULE_43_DIVIDEND_ALLOWANCE, Sn as FormFieldRequirement, St as T2_TOTAL_TAX_PAYABLE_LINE, T as T2_SCHEDULE_33, Tn as FormLineRef, Tt as CO17_TAXABLE_INCOME_BOX, U as SCHEDULE_8_TERMINAL_LOSS_LINE, Ut as CONTINUITY_ROWS, V as SCHEDULE_8_COLUMNS, Vt as AT1_SCHEDULE_20_POOLS, W as T2_SCHEDULE_8, Wt as ContinuityRow, X as T2_SCHEDULE_6, Xt as AT1_SCHEDULE_17, Y as SCHEDULE_6_GRIDS, Yt as DispositionCategory, Z as AllocationJurisdiction, Zt as AT1_SCHEDULE_17_RESERVES, _ as SCHEDULE_53_CLOSING_GRIP_LINE, _n as AT4970, _t as T2_BASE_PART_I_RATE, a as getField, an as AT1_SCHEDULE_12, at as T2_SCHEDULE_4, b as SCHEDULE_50_DISCLOSURE_THRESHOLD, bn as FormField, bt as T2_SMALL_BUSINESS_DEDUCTION_RATE, c as CaptionRow, cn as AT1_SCHEDULE_10, ct as T2_SCHEDULE_3, d as buildFields, dn as AT1_SCHEDULE_2, dt as T2_SCHEDULE_2, en as AT1_SCHEDULE_16_CARRYFORWARD_LINE, et as SCHEDULE_5_SALARIES_OFFSET, f as SCHEDULE_141_PREPARER_IDENTIFIED_LINE, fn as AT1_SCHEDULE_1, ft as SCHEDULE_1_LINES, g as T2_SCHEDULE_55, gn as AT1_TAX_PAYABLE_LINE, gt as T2_SCHEDULE_1, h as T2_SCHEDULE_130, hn as AT1_JACKET, ht as SCHEDULE_1_TOTAL_DEDUCTIONS_LINE, i as formsForProgram, in as AlbertaCcaColumn, it as SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS, j as SCHEDULE_23_GROUP_BUSINESS_LIMIT, jn as inputFields, jt as AT1_IEG_PRIOR_YEARS, k as SCHEDULE_24_OPERATION_TYPE_LINE, kn as fieldsInSection, kt as AT1_IEG_JACKET_LINE, l as LineBand, ln as AT1_SCHEDULE_4, lt as SCHEDULE_2_CARRYFORWARD_YEARS, m as T2_SCHEDULE_141, mn as AT1_BALANCE_LINE, mt as SCHEDULE_1_TOTAL_ADDITIONS_LINE, n as describeLine, nn as AT1_SCHEDULE_13, nt as SCHEDULE_4_CARRYBACK_YEARS, o as getForm, on as AT1_SCHEDULE_12_PAIRS, ot as SCHEDULE_3_ELIGIBLE_PAID_LINE, p as SCHEDULE_141_RESERVATION_LINE, pn as AT1_BALANCE_CREDIT_LINES, pt as SCHEDULE_1_LINE_BY_NUMBER, q as T2_SCHEDULE_7, qt as AT1_SCHEDULE_18_CATEGORIES, r as findBrokenLinks, rn as AT1_SCHEDULE_13_COLUMNS, rt as SCHEDULE_4_LPP_CARRYFORWARD_YEARS, s as BuildFieldsSpec, sn as AlbertaReconcilingPair, st as SCHEDULE_3_TAXABLE_PAID_LINE, t as FORMS, tn as AT1_SCHEDULE_15, tt as T2_SCHEDULE_5, u as UnclassifiedLineError, un as AT1_SCHEDULE_3, ut as SCHEDULE_2_CHARITABLE_CURRENT_LINE, v as SCHEDULE_53_GENERAL_RATE_FACTOR, vn as AT4970_JURISDICTIONS, vt as T2_JACKET, w as SCHEDULE_33_TAXABLE_CAPITAL_IN_CANADA_LINE, wn as FormFieldSide, wt as CO17_RETURN, x as T2_SCHEDULE_50, xn as FormFieldKind, xt as T2_TAXABLE_INCOME_LINE, y as T2_SCHEDULE_53, yn as FormDefinition, yt as T2_NET_INCOME_FOR_TAX_LINE, z as CcaColumn, zt as AT1_DONATION_CARRYFORWARD_YEARS } from "../index.mjs";
|
|
2
|
+
export { AT1_BALANCE_CREDIT_LINES, AT1_BALANCE_LINE, AT1_DONATION_CARRYFORWARD_YEARS, AT1_IEG_BASE_RATE, AT1_IEG_ENHANCED_RATE, AT1_IEG_JACKET_LINE, AT1_IEG_MAX_EXPENDITURE, AT1_IEG_PRIOR_YEARS, AT1_JACKET, AT1_SCHEDULE_1, AT1_SCHEDULE_10, AT1_SCHEDULE_12, AT1_SCHEDULE_12_PAIRS, AT1_SCHEDULE_13, AT1_SCHEDULE_13_COLUMNS, AT1_SCHEDULE_15, AT1_SCHEDULE_16, AT1_SCHEDULE_16_CARRYFORWARD_LINE, AT1_SCHEDULE_17, AT1_SCHEDULE_17_RESERVES, AT1_SCHEDULE_18, AT1_SCHEDULE_18_CATEGORIES, AT1_SCHEDULE_2, AT1_SCHEDULE_20, COMPUTED_CONTINUITY_ROWS as AT1_SCHEDULE_20_COMPUTED_CONTINUITY_ROWS, CONTINUITY_ROWS as AT1_SCHEDULE_20_CONTINUITY_ROWS, AT1_SCHEDULE_20_POOLS, AT1_SCHEDULE_21, CONTINUITY_CAPTIONS as AT1_SCHEDULE_21_CONTINUITY_CAPTIONS, CONTINUITY_ORDER as AT1_SCHEDULE_21_CONTINUITY_ORDER, AT1_SCHEDULE_21_POOLS, AT1_SCHEDULE_29, AT1_SCHEDULE_3, AT1_SCHEDULE_4, AT1_SECTION_34_2_GROSS_UP, AT1_TAX_PAYABLE_LINE, AT4970, AT4970_JURISDICTIONS, type AlbertaCcaColumn, type AlbertaLossPool, type AlbertaReconcilingPair, type AlbertaReserveKind, type AllocationJurisdiction, type BuildFieldsSpec, CO17_QUEBEC_PROPORTION_BOX, CO17_RETURN, CO17_TAXABLE_INCOME_BOX, CO17_TAX_PAYABLE_BOX, type CaptionRow, type CcaColumn, type ContinuityRow, type DispositionCategory, type DispositionGrid, type DonationPool, FORMS, type FormDefinition, type FormField, type FormFieldKind, type FormFieldRequirement, type FormFieldRole, type FormFieldSide, type FormLineRef, type FormProvenance, type FormSection, type LineBand, type LineNumberScheme, type ReserveRow, SCHEDULE_13_RESERVE_ROWS, SCHEDULE_141_PREPARER_IDENTIFIED_LINE, SCHEDULE_141_RESERVATION_LINE, SCHEDULE_1_LINES, SCHEDULE_1_LINE_BY_NUMBER, SCHEDULE_1_TOTAL_ADDITIONS_LINE, SCHEDULE_1_TOTAL_DEDUCTIONS_LINE, SCHEDULE_21_BUSINESS_CREDIT_LINE, SCHEDULE_21_NON_BUSINESS_CREDIT_LINE, SCHEDULE_23_GROUP_BUSINESS_LIMIT, SCHEDULE_24_OPERATION_TYPE_LINE, SCHEDULE_2_CARRYFORWARD_YEARS, SCHEDULE_2_CHARITABLE_CURRENT_LINE, SCHEDULE_31_ENHANCED_SRED_RATE, SCHEDULE_31_GENERAL_SRED_RATE, SCHEDULE_33_TAXABLE_CAPITAL_IN_CANADA_LINE, SCHEDULE_3_ELIGIBLE_PAID_LINE, SCHEDULE_3_TAXABLE_PAID_LINE, SCHEDULE_43_DIVIDEND_ALLOWANCE, SCHEDULE_4_CARRYBACK_YEARS, SCHEDULE_4_LPP_CARRYFORWARD_YEARS, SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS, SCHEDULE_50_DISCLOSURE_THRESHOLD, SCHEDULE_53_CLOSING_GRIP_LINE, SCHEDULE_53_GENERAL_RATE_FACTOR, SCHEDULE_5_JURISDICTIONS, SCHEDULE_5_REVENUE_OFFSET, SCHEDULE_5_SALARIES_OFFSET, SCHEDULE_6_GRIDS, SCHEDULE_7_ADJUSTED_AII_LINE, SCHEDULE_7_PASSIVE_INCOME_THRESHOLD, SCHEDULE_8_CCA_LINE, SCHEDULE_8_COLUMNS, SCHEDULE_8_RECAPTURE_LINE, SCHEDULE_8_TERMINAL_LOSS_LINE, T2_BASE_PART_I_RATE, T2_JACKET, T2_NET_INCOME_FOR_TAX_LINE, T2_SCHEDULE_1, T2_SCHEDULE_13, T2_SCHEDULE_130, T2_SCHEDULE_141, T2_SCHEDULE_2, T2_SCHEDULE_21, T2_SCHEDULE_23, T2_SCHEDULE_24, T2_SCHEDULE_3, T2_SCHEDULE_31, T2_SCHEDULE_33, T2_SCHEDULE_4, T2_SCHEDULE_43, T2_SCHEDULE_5, T2_SCHEDULE_50, T2_SCHEDULE_53, T2_SCHEDULE_55, T2_SCHEDULE_6, T2_SCHEDULE_7, T2_SCHEDULE_8, T2_SMALL_BUSINESS_DEDUCTION_RATE, T2_TAXABLE_INCOME_LINE, T2_TOTAL_TAX_PAYABLE_LINE, UnclassifiedLineError, buildFields, describeLine, fieldsInSection, findBrokenLinks, formsForProgram, getField, getForm, indexByLine, inputFields, isEnterableLine, scheduleTwentyOneLineId, validateFormDefinition };
|
package/dist/forms/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SCHEDULE_3_ELIGIBLE_PAID_LINE, $t as AT1_SCHEDULE_10, A as T2_SCHEDULE_21, At as AT1_SCHEDULE_29, B as T2_SCHEDULE_7, Bt as CONTINUITY_ROWS, C as T2_SCHEDULE_31, Ct as CO17_TAXABLE_INCOME_BOX, D as T2_SCHEDULE_23, Dt as AT1_IEG_JACKET_LINE, E as SCHEDULE_23_GROUP_BUSINESS_LIMIT, Et as AT1_IEG_ENHANCED_RATE, F as SCHEDULE_8_RECAPTURE_LINE, Ft as scheduleTwentyOneLineId, G as SCHEDULE_5_SALARIES_OFFSET, Gt as AT1_SCHEDULE_17_RESERVES, H as T2_SCHEDULE_6, Ht as AT1_SCHEDULE_18_CATEGORIES, I as SCHEDULE_8_TERMINAL_LOSS_LINE, It as AT1_DONATION_CARRYFORWARD_YEARS, J as SCHEDULE_4_LPP_CARRYFORWARD_YEARS, Jt as AT1_SCHEDULE_15, K as T2_SCHEDULE_5, Kt as AT1_SCHEDULE_16, L as T2_SCHEDULE_8, Lt as AT1_SCHEDULE_20, M as T2_SCHEDULE_13, Mt as AT1_SCHEDULE_21_POOLS, N as SCHEDULE_8_CCA_LINE, Nt as CONTINUITY_CAPTIONS, O as SCHEDULE_21_BUSINESS_CREDIT_LINE, Ot as AT1_IEG_MAX_EXPENDITURE, P as SCHEDULE_8_COLUMNS, Pt as CONTINUITY_ORDER, Q as buildFields, Qt as AT1_SCHEDULE_12_PAIRS, R as SCHEDULE_7_ADJUSTED_AII_LINE, Rt as AT1_SCHEDULE_20_POOLS, S as SCHEDULE_31_GENERAL_SRED_RATE, St as CO17_RETURN, T as T2_SCHEDULE_24, Tt as AT1_IEG_BASE_RATE, U as SCHEDULE_5_JURISDICTIONS, Ut as AT1_SECTION_34_2_GROSS_UP, V as SCHEDULE_6_GRIDS, Vt as AT1_SCHEDULE_18, W as SCHEDULE_5_REVENUE_OFFSET, Wt as AT1_SCHEDULE_17, X as T2_SCHEDULE_4, Xt as AT1_SCHEDULE_13_COLUMNS, Y as SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS, Yt as AT1_SCHEDULE_13, Z as UnclassifiedLineError, Zt as AT1_SCHEDULE_12, _ as SCHEDULE_43_DIVIDEND_ALLOWANCE, _t as T2_NET_INCOME_FOR_TAX_LINE, a as getField, an as
|
|
2
|
-
export { AT1_BALANCE_CREDIT_LINES, AT1_BALANCE_LINE, AT1_DONATION_CARRYFORWARD_YEARS, AT1_IEG_BASE_RATE, AT1_IEG_ENHANCED_RATE, AT1_IEG_JACKET_LINE, AT1_IEG_MAX_EXPENDITURE, AT1_IEG_PRIOR_YEARS, AT1_JACKET, AT1_SCHEDULE_1, AT1_SCHEDULE_10, AT1_SCHEDULE_12, AT1_SCHEDULE_12_PAIRS, AT1_SCHEDULE_13, AT1_SCHEDULE_13_COLUMNS, AT1_SCHEDULE_15, AT1_SCHEDULE_16, AT1_SCHEDULE_16_CARRYFORWARD_LINE, AT1_SCHEDULE_17, AT1_SCHEDULE_17_RESERVES, AT1_SCHEDULE_18, AT1_SCHEDULE_18_CATEGORIES, AT1_SCHEDULE_2, AT1_SCHEDULE_20, COMPUTED_CONTINUITY_ROWS as AT1_SCHEDULE_20_COMPUTED_CONTINUITY_ROWS, CONTINUITY_ROWS as AT1_SCHEDULE_20_CONTINUITY_ROWS, AT1_SCHEDULE_20_POOLS, AT1_SCHEDULE_21, CONTINUITY_CAPTIONS as AT1_SCHEDULE_21_CONTINUITY_CAPTIONS, CONTINUITY_ORDER as AT1_SCHEDULE_21_CONTINUITY_ORDER, AT1_SCHEDULE_21_POOLS, AT1_SCHEDULE_29, AT1_SCHEDULE_3, AT1_SCHEDULE_4,
|
|
1
|
+
import { $ as SCHEDULE_3_ELIGIBLE_PAID_LINE, $t as AT1_SCHEDULE_10, A as T2_SCHEDULE_21, At as AT1_SCHEDULE_29, B as T2_SCHEDULE_7, Bt as CONTINUITY_ROWS, C as T2_SCHEDULE_31, Ct as CO17_TAXABLE_INCOME_BOX, D as T2_SCHEDULE_23, Dt as AT1_IEG_JACKET_LINE, E as SCHEDULE_23_GROUP_BUSINESS_LIMIT, Et as AT1_IEG_ENHANCED_RATE, F as SCHEDULE_8_RECAPTURE_LINE, Ft as scheduleTwentyOneLineId, G as SCHEDULE_5_SALARIES_OFFSET, Gt as AT1_SCHEDULE_17_RESERVES, H as T2_SCHEDULE_6, Ht as AT1_SCHEDULE_18_CATEGORIES, I as SCHEDULE_8_TERMINAL_LOSS_LINE, It as AT1_DONATION_CARRYFORWARD_YEARS, J as SCHEDULE_4_LPP_CARRYFORWARD_YEARS, Jt as AT1_SCHEDULE_15, K as T2_SCHEDULE_5, Kt as AT1_SCHEDULE_16, L as T2_SCHEDULE_8, Lt as AT1_SCHEDULE_20, M as T2_SCHEDULE_13, Mt as AT1_SCHEDULE_21_POOLS, N as SCHEDULE_8_CCA_LINE, Nt as CONTINUITY_CAPTIONS, O as SCHEDULE_21_BUSINESS_CREDIT_LINE, Ot as AT1_IEG_MAX_EXPENDITURE, P as SCHEDULE_8_COLUMNS, Pt as CONTINUITY_ORDER, Q as buildFields, Qt as AT1_SCHEDULE_12_PAIRS, R as SCHEDULE_7_ADJUSTED_AII_LINE, Rt as AT1_SCHEDULE_20_POOLS, S as SCHEDULE_31_GENERAL_SRED_RATE, St as CO17_RETURN, T as T2_SCHEDULE_24, Tt as AT1_IEG_BASE_RATE, U as SCHEDULE_5_JURISDICTIONS, Ut as AT1_SECTION_34_2_GROSS_UP, V as SCHEDULE_6_GRIDS, Vt as AT1_SCHEDULE_18, W as SCHEDULE_5_REVENUE_OFFSET, Wt as AT1_SCHEDULE_17, X as T2_SCHEDULE_4, Xt as AT1_SCHEDULE_13_COLUMNS, Y as SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS, Yt as AT1_SCHEDULE_13, Z as UnclassifiedLineError, Zt as AT1_SCHEDULE_12, _ as SCHEDULE_43_DIVIDEND_ALLOWANCE, _t as T2_NET_INCOME_FOR_TAX_LINE, a as getField, an as AT1_BALANCE_LINE, at as SCHEDULE_1_LINES, b as T2_SCHEDULE_33, bt as T2_TOTAL_TAX_PAYABLE_LINE, c as SCHEDULE_141_RESERVATION_LINE, cn as AT4970, ct as SCHEDULE_1_TOTAL_DEDUCTIONS_LINE, d as T2_SCHEDULE_55, dt as indexByLine, en as AT1_SCHEDULE_4, et as SCHEDULE_3_TAXABLE_PAID_LINE, f as SCHEDULE_53_CLOSING_GRIP_LINE, ft as inputFields, g as T2_SCHEDULE_50, gt as T2_JACKET, h as SCHEDULE_50_DISCLOSURE_THRESHOLD, ht as T2_BASE_PART_I_RATE, i as formsForProgram, in as AT1_BALANCE_CREDIT_LINES, it as T2_SCHEDULE_2, j as SCHEDULE_13_RESERVE_ROWS, jt as AT1_SCHEDULE_21, k as SCHEDULE_21_NON_BUSINESS_CREDIT_LINE, kt as AT1_IEG_PRIOR_YEARS, l as T2_SCHEDULE_141, ln as AT4970_JURISDICTIONS, lt as T2_SCHEDULE_1, m as T2_SCHEDULE_53, mt as validateFormDefinition, n as describeLine, nn as AT1_SCHEDULE_2, nt as SCHEDULE_2_CARRYFORWARD_YEARS, o as getForm, on as AT1_JACKET, ot as SCHEDULE_1_LINE_BY_NUMBER, p as SCHEDULE_53_GENERAL_RATE_FACTOR, pt as isEnterableLine, q as SCHEDULE_4_CARRYBACK_YEARS, qt as AT1_SCHEDULE_16_CARRYFORWARD_LINE, r as findBrokenLinks, rn as AT1_SCHEDULE_1, rt as SCHEDULE_2_CHARITABLE_CURRENT_LINE, s as SCHEDULE_141_PREPARER_IDENTIFIED_LINE, sn as AT1_TAX_PAYABLE_LINE, st as SCHEDULE_1_TOTAL_ADDITIONS_LINE, t as FORMS, tn as AT1_SCHEDULE_3, tt as T2_SCHEDULE_3, u as T2_SCHEDULE_130, ut as fieldsInSection, v as T2_SCHEDULE_43, vt as T2_SMALL_BUSINESS_DEDUCTION_RATE, w as SCHEDULE_24_OPERATION_TYPE_LINE, wt as CO17_TAX_PAYABLE_BOX, x as SCHEDULE_31_ENHANCED_SRED_RATE, xt as CO17_QUEBEC_PROPORTION_BOX, y as SCHEDULE_33_TAXABLE_CAPITAL_IN_CANADA_LINE, yt as T2_TAXABLE_INCOME_LINE, z as SCHEDULE_7_PASSIVE_INCOME_THRESHOLD, zt as COMPUTED_CONTINUITY_ROWS } from "../forms.mjs";
|
|
2
|
+
export { AT1_BALANCE_CREDIT_LINES, AT1_BALANCE_LINE, AT1_DONATION_CARRYFORWARD_YEARS, AT1_IEG_BASE_RATE, AT1_IEG_ENHANCED_RATE, AT1_IEG_JACKET_LINE, AT1_IEG_MAX_EXPENDITURE, AT1_IEG_PRIOR_YEARS, AT1_JACKET, AT1_SCHEDULE_1, AT1_SCHEDULE_10, AT1_SCHEDULE_12, AT1_SCHEDULE_12_PAIRS, AT1_SCHEDULE_13, AT1_SCHEDULE_13_COLUMNS, AT1_SCHEDULE_15, AT1_SCHEDULE_16, AT1_SCHEDULE_16_CARRYFORWARD_LINE, AT1_SCHEDULE_17, AT1_SCHEDULE_17_RESERVES, AT1_SCHEDULE_18, AT1_SCHEDULE_18_CATEGORIES, AT1_SCHEDULE_2, AT1_SCHEDULE_20, COMPUTED_CONTINUITY_ROWS as AT1_SCHEDULE_20_COMPUTED_CONTINUITY_ROWS, CONTINUITY_ROWS as AT1_SCHEDULE_20_CONTINUITY_ROWS, AT1_SCHEDULE_20_POOLS, AT1_SCHEDULE_21, CONTINUITY_CAPTIONS as AT1_SCHEDULE_21_CONTINUITY_CAPTIONS, CONTINUITY_ORDER as AT1_SCHEDULE_21_CONTINUITY_ORDER, AT1_SCHEDULE_21_POOLS, AT1_SCHEDULE_29, AT1_SCHEDULE_3, AT1_SCHEDULE_4, AT1_SECTION_34_2_GROSS_UP, AT1_TAX_PAYABLE_LINE, AT4970, AT4970_JURISDICTIONS, CO17_QUEBEC_PROPORTION_BOX, CO17_RETURN, CO17_TAXABLE_INCOME_BOX, CO17_TAX_PAYABLE_BOX, FORMS, SCHEDULE_13_RESERVE_ROWS, SCHEDULE_141_PREPARER_IDENTIFIED_LINE, SCHEDULE_141_RESERVATION_LINE, SCHEDULE_1_LINES, SCHEDULE_1_LINE_BY_NUMBER, SCHEDULE_1_TOTAL_ADDITIONS_LINE, SCHEDULE_1_TOTAL_DEDUCTIONS_LINE, SCHEDULE_21_BUSINESS_CREDIT_LINE, SCHEDULE_21_NON_BUSINESS_CREDIT_LINE, SCHEDULE_23_GROUP_BUSINESS_LIMIT, SCHEDULE_24_OPERATION_TYPE_LINE, SCHEDULE_2_CARRYFORWARD_YEARS, SCHEDULE_2_CHARITABLE_CURRENT_LINE, SCHEDULE_31_ENHANCED_SRED_RATE, SCHEDULE_31_GENERAL_SRED_RATE, SCHEDULE_33_TAXABLE_CAPITAL_IN_CANADA_LINE, SCHEDULE_3_ELIGIBLE_PAID_LINE, SCHEDULE_3_TAXABLE_PAID_LINE, SCHEDULE_43_DIVIDEND_ALLOWANCE, SCHEDULE_4_CARRYBACK_YEARS, SCHEDULE_4_LPP_CARRYFORWARD_YEARS, SCHEDULE_4_NON_CAPITAL_CARRYFORWARD_YEARS, SCHEDULE_50_DISCLOSURE_THRESHOLD, SCHEDULE_53_CLOSING_GRIP_LINE, SCHEDULE_53_GENERAL_RATE_FACTOR, SCHEDULE_5_JURISDICTIONS, SCHEDULE_5_REVENUE_OFFSET, SCHEDULE_5_SALARIES_OFFSET, SCHEDULE_6_GRIDS, SCHEDULE_7_ADJUSTED_AII_LINE, SCHEDULE_7_PASSIVE_INCOME_THRESHOLD, SCHEDULE_8_CCA_LINE, SCHEDULE_8_COLUMNS, SCHEDULE_8_RECAPTURE_LINE, SCHEDULE_8_TERMINAL_LOSS_LINE, T2_BASE_PART_I_RATE, T2_JACKET, T2_NET_INCOME_FOR_TAX_LINE, T2_SCHEDULE_1, T2_SCHEDULE_13, T2_SCHEDULE_130, T2_SCHEDULE_141, T2_SCHEDULE_2, T2_SCHEDULE_21, T2_SCHEDULE_23, T2_SCHEDULE_24, T2_SCHEDULE_3, T2_SCHEDULE_31, T2_SCHEDULE_33, T2_SCHEDULE_4, T2_SCHEDULE_43, T2_SCHEDULE_5, T2_SCHEDULE_50, T2_SCHEDULE_53, T2_SCHEDULE_55, T2_SCHEDULE_6, T2_SCHEDULE_7, T2_SCHEDULE_8, T2_SMALL_BUSINESS_DEDUCTION_RATE, T2_TAXABLE_INCOME_LINE, T2_TOTAL_TAX_PAYABLE_LINE, UnclassifiedLineError, buildFields, describeLine, fieldsInSection, findBrokenLinks, formsForProgram, getField, getForm, indexByLine, inputFields, isEnterableLine, scheduleTwentyOneLineId, validateFormDefinition };
|