ccpcrate — Canadian CCPC corporate tax is an MCP server published by ca.ccpcrate, hosted at ccpcrate.ca. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 5 tools, including ccpcrate_resolve, ccpcrate_group, ccpcrate_compensation, ccpcrate_explain, ccpcrate_rules.
Deterministic Canadian CCPC rate stack: small business deduction and grinds, Part IV, RDTOH.
1 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
Compute the federal Part I / Part IV / refundable / RDTOH / dividend-refund lines and the provincial layer for one CCPC and one taxation year. Returns a readable summary plus the structured result: lines (rounded, as printed), unrounded audit values, facts, warnings, layers, balances carried forward, the inputs still missing, engine and rules versions and a request hash. Deductions are negative, taxes positive. A missing required input is an error, not a default. Free during the launch period; the planned price is 0.25 USDC per call.
| Parameter | Type | Description |
|---|---|---|
| qc | object | Québec inputs (CO-771) |
| taxYear * | object | |
| province * | string | Province of the permanent establishment (two-letter code) |
| cdaOpening | number |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| Capital dividend account opening balance (returns cda_closing) |
| gripOpening | number | GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward |
| rdtohOpening | object | Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters |
| taxableIncome | number | Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it |
| netIncomeForTax | number | Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation |
| propertyExpenses | number | Holdco: deductible property expenses of the year (total) |
| groupAaiiPriorYear | number | T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed |
| netIncomeAccounting | number | Holdco: net income per financial statements |
| otherPropertyIncome | number | Holdco: property income other than dividends and capital-gains dividends |
| taxableCapitalGains | number | Sch 6: taxable capital gains (the included half) |
| activeBusinessIncome | number | T2 line 400: income from an active business carried on in Canada |
| lossesByYearOfOrigin | object | Sch 4 Part 6: opening balances by year of origin, e.g. {"2011": 263564} |
| provincialProportion | number | Share of taxable income allocated to the province (Reg. 402). Default 1 |
| capitalGainsDividends | number | Capital-gains dividends received (full amount; half to CDA) |
| dividendsPaidEligible | number | Eligible dividends paid (designated) in the year |
| allowableCapitalLosses | number | Sch 6: allowable capital losses of the year |
| businessLimitAllocated | number | Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero |
| foreignInvestmentIncome | number | T2 line 445: foreign investment income |
| nonCapitalLossesOpening | number | Sch 4: non-capital loss pool at the start of the year |
| dividendsPaidNonEligible | number | Non-eligible taxable dividends paid in the year |
| foreignBusinessTaxCredit | number | T2 line 636: foreign business income tax credit |
| aggregateInvestmentIncome | number | T2 line 440: aggregate investment income (s.129(4)) |
| dividendsReceivedConnected | array | Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund |
| foreignNonBusinessTaxCredit | number | T2 line 632: foreign non-business income tax credit |
| taxableCapitalGroupPriorYear | number | T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M |
| dividendsPaidOfWhichConnected | number | How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern th… |
| dividendsReceivedPortfolioEligible | number | Eligible taxable dividends from non-connected payers (Part IV → ERDTOH) |
| nonCapitalLossesClaimedAgainstPartI | number | Non-capital losses claimed against Part I income |
| nonCapitalLossesClaimedAgainstPartIV | number | Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount |
| dividendsReceivedPortfolioNonEligible | number | Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH) |
{
"name": "ccpcrate_resolve",
"title": "Resolve the CCPC rate stack for one taxation year",
"description": "Compute the federal Part I / Part IV / refundable / RDTOH / dividend-refund lines and the provincial layer for one CCPC and one taxation year. Returns a readable summary plus the structured result: lines (rounded, as printed), unrounded audit values, facts, warnings, layers, balances carried forward, the inputs still missing, engine and rules versions and a request hash. Deductions are negative, taxes positive. A missing required input is an error, not a default. Free during the launch period; the planned price is 0.25 USDC per call.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"taxYear",
"province"
],
"properties": {
"qc": {
"type": "object",
"properties": {
"instalmentsPaid": {
"type": "number",
"minimum": 0,
"description": "Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines"
},
"taxableIncomeQc": {
"type": "number",
"description": "CO-17 taxable income when it differs from federal"
},
"hours07aCurrentYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)"
},
"plafondGroupAllocated": {
"type": "number",
"minimum": 0,
"description": "CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)"
},
"hours07bGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07b: remunerated hours, associated group, prior year"
},
"capitalVerseGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "Capital versé of the associated group, prior year (CO-17 line 426a)"
}
},
"description": "Québec inputs (CO-771)"
},
"taxYear": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of the taxation year"
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the taxation year"
}
}
},
"province": {
"enum": [
"AB",
"BC",
"MB",
"NB",
"NL",
"NS",
"NT",
"NU",
"ON",
"PE",
"QC",
"SK",
"YT"
],
"type": "string",
"description": "Province of the permanent establishment (two-letter code)"
},
"cdaOpening": {
"type": "number",
"minimum": 0,
"description": "Capital dividend account opening balance (returns cda_closing)"
},
"gripOpening": {
"type": "number",
"minimum": 0,
"description": "GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward"
},
"rdtohOpening": {
"type": "object",
"properties": {
"erdtohLine520": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)"
},
"nerdtohLine535": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing NERDTOH, T2 line 545"
},
"erdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of ERDTOH (line 570)"
},
"nerdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of NERDTOH (line 575)"
}
},
"description": "Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters"
},
"taxableIncome": {
"type": "number",
"description": "Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it"
},
"netIncomeForTax": {
"type": "number",
"description": "Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation"
},
"propertyExpenses": {
"type": "number",
"minimum": 0,
"description": "Holdco: deductible property expenses of the year (total)"
},
"groupAaiiPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed"
},
"netIncomeAccounting": {
"type": "number",
"description": "Holdco: net income per financial statements"
},
"otherPropertyIncome": {
"type": "number",
"minimum": 0,
"description": "Holdco: property income other than dividends and capital-gains dividends"
},
"taxableCapitalGains": {
"type": "number",
"minimum": 0,
"description": "Sch 6: taxable capital gains (the included half)"
},
"activeBusinessIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 400: income from an active business carried on in Canada"
},
"lossesByYearOfOrigin": {
"type": "object",
"description": "Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}",
"propertyNames": {
"type": "string",
"pattern": "^\\d{4}$"
},
"additionalProperties": {
"type": "number",
"minimum": 0
}
},
"provincialProportion": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Share of taxable income allocated to the province (Reg. 402). Default 1"
},
"capitalGainsDividends": {
"type": "number",
"minimum": 0,
"description": "Capital-gains dividends received (full amount; half to CDA)"
},
"dividendsPaidEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible dividends paid (designated) in the year"
},
"allowableCapitalLosses": {
"type": "number",
"minimum": 0,
"description": "Sch 6: allowable capital losses of the year"
},
"businessLimitAllocated": {
"type": "number",
"minimum": 0,
"description": "Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero"
},
"foreignInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 445: foreign investment income"
},
"nonCapitalLossesOpening": {
"type": "number",
"minimum": 0,
"description": "Sch 4: non-capital loss pool at the start of the year"
},
"dividendsPaidNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends paid in the year"
},
"foreignBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 636: foreign business income tax credit"
},
"aggregateInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 440: aggregate investment income (s.129(4))"
},
"dividendsReceivedConnected": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"description": "Taxable dividend received from the connected corporation"
},
"payerId": {
"type": "string",
"minLength": 1,
"description": "Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation"
},
"cascadeShare": {
"type": "number",
"minimum": 0,
"description": "Precomputed share of the payer's refund, when already known (overrides the two fields above)"
},
"payerDividendRefund": {
"type": "number",
"minimum": 0,
"description": "The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning"
},
"payerTotalDividendsPaid": {
"type": "number",
"description": "Total taxable dividends the payer paid that year (denominator of the recipient's share)",
"exclusiveMinimum": 0
}
}
},
"description": "Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund"
},
"foreignNonBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 632: foreign non-business income tax credit"
},
"taxableCapitalGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M"
},
"dividendsPaidOfWhichConnected": {
"type": "number",
"minimum": 0,
"description": "How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them"
},
"dividendsReceivedPortfolioEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)"
},
"nonCapitalLossesClaimedAgainstPartI": {
"type": "number",
"minimum": 0,
"description": "Non-capital losses claimed against Part I income"
},
"nonCapitalLossesClaimedAgainstPartIV": {
"type": "number",
"minimum": 0,
"description": "Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount"
},
"dividendsReceivedPortfolioNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Compute a whole associated group (s.256) in one call: federal line 417 as the sum of the members' prior-year adjusted investment income, the Schedule 23 allocation of the business limit, and every member's return in payer-before-recipient order so that a connected dividend's Part IV under s.186(1)(b) is filled in from the payer's own refund instead of being asked for. Returns each member's lines plus what the grind costs the group and which member causes it — the case a single-corporation computation cannot show. Free during the launch period; the planned price is 0.25 USDC for the group and its first 2 computed members, 0.05 per additional member, never more than 1.
| Parameter | Type | Description |
|---|---|---|
| members * | array | The associated corporations (s.256). A member with no input still counts toward line 417. Order does not matter — the engine computes payers before recipients |
| taxYear | object | The group's taxation year, used to read the statutory business limit when no member computes |
| groupAaiiPriorYear | number | Federal line 417 for the group, when the per-member figures are not available. A member's own input.groupAaiiPriorYear still wins |
{
"name": "ccpcrate_group",
"title": "Resolve an associated group",
"description": "Compute a whole associated group (s.256) in one call: federal line 417 as the sum of the members' prior-year adjusted investment income, the Schedule 23 allocation of the business limit, and every member's return in payer-before-recipient order so that a connected dividend's Part IV under s.186(1)(b) is filled in from the payer's own refund instead of being asked for. Returns each member's lines plus what the grind costs the group and which member causes it — the case a single-corporation computation cannot show. Free during the launch period; the planned price is 0.25 USDC for the group and its first 2 computed members, 0.05 per additional member, never more than 1.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"members"
],
"properties": {
"members": {
"type": "array",
"items": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Your label for this corporation (any string); connected dividends refer to it by this id"
},
"input": {
"type": "object",
"required": [
"taxYear",
"province"
],
"properties": {
"qc": {
"type": "object",
"properties": {
"instalmentsPaid": {
"type": "number",
"minimum": 0,
"description": "Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines"
},
"taxableIncomeQc": {
"type": "number",
"description": "CO-17 taxable income when it differs from federal"
},
"hours07aCurrentYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)"
},
"plafondGroupAllocated": {
"type": "number",
"minimum": 0,
"description": "CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)"
},
"hours07bGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07b: remunerated hours, associated group, prior year"
},
"capitalVerseGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "Capital versé of the associated group, prior year (CO-17 line 426a)"
}
},
"description": "Québec inputs (CO-771)"
},
"taxYear": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of the taxation year"
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the taxation year"
}
}
},
"province": {
"enum": [
"AB",
"BC",
"MB",
"NB",
"NL",
"NS",
"NT",
"NU",
"ON",
"PE",
"QC",
"SK",
"YT"
],
"type": "string",
"description": "Province of the permanent establishment (two-letter code)"
},
"cdaOpening": {
"type": "number",
"minimum": 0,
"description": "Capital dividend account opening balance (returns cda_closing)"
},
"gripOpening": {
"type": "number",
"minimum": 0,
"description": "GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward"
},
"rdtohOpening": {
"type": "object",
"properties": {
"erdtohLine520": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)"
},
"nerdtohLine535": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing NERDTOH, T2 line 545"
},
"erdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of ERDTOH (line 570)"
},
"nerdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of NERDTOH (line 575)"
}
},
"description": "Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters"
},
"taxableIncome": {
"type": "number",
"description": "Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it"
},
"netIncomeForTax": {
"type": "number",
"description": "Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation"
},
"propertyExpenses": {
"type": "number",
"minimum": 0,
"description": "Holdco: deductible property expenses of the year (total)"
},
"groupAaiiPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed"
},
"netIncomeAccounting": {
"type": "number",
"description": "Holdco: net income per financial statements"
},
"otherPropertyIncome": {
"type": "number",
"minimum": 0,
"description": "Holdco: property income other than dividends and capital-gains dividends"
},
"taxableCapitalGains": {
"type": "number",
"minimum": 0,
"description": "Sch 6: taxable capital gains (the included half)"
},
"activeBusinessIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 400: income from an active business carried on in Canada"
},
"lossesByYearOfOrigin": {
"type": "object",
"description": "Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}",
"propertyNames": {
"type": "string",
"pattern": "^\\d{4}$"
},
"additionalProperties": {
"type": "number",
"minimum": 0
}
},
"provincialProportion": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Share of taxable income allocated to the province (Reg. 402). Default 1"
},
"capitalGainsDividends": {
"type": "number",
"minimum": 0,
"description": "Capital-gains dividends received (full amount; half to CDA)"
},
"dividendsPaidEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible dividends paid (designated) in the year"
},
"allowableCapitalLosses": {
"type": "number",
"minimum": 0,
"description": "Sch 6: allowable capital losses of the year"
},
"businessLimitAllocated": {
"type": "number",
"minimum": 0,
"description": "Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero"
},
"foreignInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 445: foreign investment income"
},
"nonCapitalLossesOpening": {
"type": "number",
"minimum": 0,
"description": "Sch 4: non-capital loss pool at the start of the year"
},
"dividendsPaidNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends paid in the year"
},
"foreignBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 636: foreign business income tax credit"
},
"aggregateInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 440: aggregate investment income (s.129(4))"
},
"dividendsReceivedConnected": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"description": "Taxable dividend received from the connected corporation"
},
"payerId": {
"type": "string",
"minLength": 1,
"description": "Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation"
},
"cascadeShare": {
"type": "number",
"minimum": 0,
"description": "Precomputed share of the payer's refund, when already known (overrides the two fields above)"
},
"payerDividendRefund": {
"type": "number",
"minimum": 0,
"description": "The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning"
},
"payerTotalDividendsPaid": {
"type": "number",
"description": "Total taxable dividends the payer paid that year (denominator of the recipient's share)",
"exclusiveMinimum": 0
}
}
},
"description": "Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund"
},
"foreignNonBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 632: foreign non-business income tax credit"
},
"taxableCapitalGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M"
},
"dividendsPaidOfWhichConnected": {
"type": "number",
"minimum": 0,
"description": "How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them"
},
"dividendsReceivedPortfolioEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)"
},
"nonCapitalLossesClaimedAgainstPartI": {
"type": "number",
"minimum": 0,
"description": "Non-capital losses claimed against Part I income"
},
"nonCapitalLossesClaimedAgainstPartIV": {
"type": "number",
"minimum": 0,
"description": "Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount"
},
"dividendsReceivedPortfolioNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)"
}
},
"description": "This member's own taxation year. Omit for a member that only contributes to line 417"
},
"priorYearAaii": {
"type": "number",
"minimum": 0,
"description": "This member's adjusted aggregate investment income (Sch 7 line 745) for its taxation year ending in the preceding calendar year — its contribution to every member's line 417"
}
}
},
"examples": [
[
{
"id": "holdco",
"priorYearAaii": 75000
},
{
"id": "opco",
"input": {
"taxYear": {
"end": "2025-12-31",
"start": "2025-01-01"
},
"province": "ON",
"taxableIncome": 500000,
"activeBusinessIncome": 500000,
"businessLimitAllocated": 500000
},
"priorYearAaii": 0
}
],
[
{
"id": "opco",
"input": {
"taxYear": {
"end": "2025-12-31",
"start": "2025-01-01"
},
"province": "ON",
"taxableIncome": 400000,
"activeBusinessIncome": 340000,
"businessLimitAllocated": 400000,
"dividendsPaidNonEligible": 100000,
"aggregateInvestmentIncome": 60000,
"dividendsPaidOfWhichConnected": 60000
},
"priorYearAaii": 55000
},
{
"id": "holdco",
"input": {
"taxYear": {
"end": "2025-12-31",
"start": "2025-01-01"
},
"province": "ON",
"dividendsReceivedConnected": [
{
"amount": 60000,
"payerId": "opco"
}
]
},
"priorYearAaii": 20000
}
]
],
"minItems": 1,
"description": "The associated corporations (s.256). A member with no input still counts toward line 417. Order does not matter — the engine computes payers before recipients"
},
"taxYear": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of the taxation year"
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the taxation year"
}
},
"description": "The group's taxation year, used to read the statutory business limit when no member computes"
},
"groupAaiiPriorYear": {
"type": "number",
"minimum": 0,
"description": "Federal line 417 for the group, when the per-member figures are not available. A member's own input.groupAaiiPriorYear still wins"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}For a corporation's income before its owner's remuneration, compute what each way of taking it out costs and leaves: a salary, a dividend, or a mix. Per scenario it runs the payroll contributions and employer levies on the salary, the corporate return on what is left with the dividend paid out of it (designated eligible up to the GRIP, with the dividend refund), and the owner's personal return (federal T1 with Ontario's ON428 or Québec's TP-1). Give scenarios, or none for a sweep of the salary from nothing to the most the income can pay. Returns the totals, the cash in the owner's hands, what stays in the corporation, the cheapest scenario, and with detail "full" the lines of the three layers. Ontario and Québec, 2025 and 2026. The reasonableness of a salary, income splitting and the minimum tax are not assessed, and the result says so. Free during the launch period; the planned price is 0.25 USDC for up to 5 scenarios, 0.5 for a sweep or a longer list.
| Parameter | Type | Description |
|---|---|---|
| on | object | Ontario options |
| qc | object | Québec options |
| detail | string | How much each scenario returns: "full" adds the lines of the three layers (payroll, corporation, personal return); "totals" keeps the totals and facts. Default: full for listed scenarios, totals for a sweep |
| province * | string | Province of the corporation and of the owner's residence. Ontario or Québec in this release |
| scenarios | array | The salary / dividend combinations to compute. Omit for a sweep of the salary from 0 to the most the income can pay, each with the remainder as a dividend |
| sweepStep | number | Step of the salary sweep when no scenarios are given. Default 5,000 |
| corporation | object | The corporation's context, as in ccpcrate_resolve: groupAaiiPriorYear (line 417, required whenever a business limit is claimed), businessLimitAllocated, rdtohOpening, gripOpening, aggregateInvestmentIncome, and for Québec qc.hours07aCurrentYear / hours07bGroupPriorYear. Its income, dividends and pro… |
| eiInsurable | boolean | Whether the owner's employment is insurable under the EI Act. Default false: a shareholder controlling more than 40 % of the voting shares is not |
| calendarYear * | integer | Calendar year of the salary, the dividend and the owner's return. 2025 or 2026 |
| otherPayroll | number | Remuneration the employer pays to its other employees in the year. Sets the Québec health services fund rate and the Ontario employer health tax exemption. Default 0 |
| otherPersonalIncome | number | The owner's other income of the year, taxed in full (interest, pension). It fills the brackets with the salary and dividend |
| incomeBeforeRemuneration * | number | The corporation's active business income for the year BEFORE the owner's salary and the employer's contributions and levies on it |
{
"name": "ccpcrate_compensation",
"title": "Salary or dividends for an owner-manager",
"description": "For a corporation's income before its owner's remuneration, compute what each way of taking it out costs and leaves: a salary, a dividend, or a mix. Per scenario it runs the payroll contributions and employer levies on the salary, the corporate return on what is left with the dividend paid out of it (designated eligible up to the GRIP, with the dividend refund), and the owner's personal return (federal T1 with Ontario's ON428 or Québec's TP-1). Give scenarios, or none for a sweep of the salary from nothing to the most the income can pay. Returns the totals, the cash in the owner's hands, what stays in the corporation, the cheapest scenario, and with detail \"full\" the lines of the three layers. Ontario and Québec, 2025 and 2026. The reasonableness of a salary, income splitting and the minimum tax are not assessed, and the result says so. Free during the launch period; the planned price is 0.25 USDC for up to 5 scenarios, 0.5 for a sweep or a longer list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"calendarYear",
"province",
"incomeBeforeRemuneration"
],
"properties": {
"on": {
"type": "object",
"properties": {
"ehtExemptionAvailable": {
"type": "boolean",
"description": "Whether the employer may claim the Employer Health Tax exemption. Default true"
},
"taxReductionDependants": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Dependent children and impaired dependants, for the Ontario tax reduction. Default 0"
},
"spouseAdjustedNetIncome": {
"type": "number",
"minimum": 0,
"description": "Adjusted net income of the spouse or common-law partner, for the LIFT credit. Omitted = computed as a single individual"
}
},
"description": "Ontario options"
},
"qc": {
"type": "object",
"properties": {
"cnesst": {
"type": "object",
"required": [
"ratePer100"
],
"properties": {
"ratePer100": {
"type": "number",
"minimum": 0,
"description": "CNESST premium rate of the employer's classification unit, dollars per 100 dollars of insurable salary"
},
"maxInsurable": {
"type": "number",
"description": "Maximum annual insurable salary. Default: the labour-standards maximum of the year, with a warning",
"exclusiveMinimum": 0
}
},
"description": "CNESST premium. Omitted = not computed, and said"
},
"fssRateClass": {
"enum": [
"general",
"primary_manufacturing"
],
"type": "string",
"description": "Employer health services fund rate class. Default general"
},
"privateDrugPlan": {
"type": "boolean",
"description": "Whether the owner is covered by a group drug plan all year. false charges the public plan's premium (TP-1 line 447). Omitted = not charged, with a warning"
}
},
"description": "Québec options"
},
"detail": {
"enum": [
"totals",
"full"
],
"type": "string",
"description": "How much each scenario returns: \"full\" adds the lines of the three layers (payroll, corporation, personal return); \"totals\" keeps the totals and facts. Default: full for listed scenarios, totals for a sweep"
},
"province": {
"enum": [
"ON",
"QC"
],
"type": "string",
"description": "Province of the corporation and of the owner's residence. Ontario or Québec in this release"
},
"scenarios": {
"type": "array",
"items": {
"type": "object",
"required": [
"salary"
],
"properties": {
"salary": {
"type": "number",
"minimum": 0,
"description": "Gross salary paid to the owner in the calendar year"
},
"dividend": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "string",
"const": "remainder"
}
],
"description": "Taxable dividend paid to the owner, in whole dollars, or \"remainder\" for everything the year leaves after tax, the dividend refund included. Default \"remainder\""
}
}
},
"examples": [
[
{
"salary": 0
},
{
"salary": 100000
},
{
"salary": 195569.9
}
],
[
{
"salary": 80000,
"dividend": 40000
}
]
],
"maxItems": 50,
"minItems": 1,
"description": "The salary / dividend combinations to compute. Omit for a sweep of the salary from 0 to the most the income can pay, each with the remainder as a dividend"
},
"sweepStep": {
"type": "number",
"description": "Step of the salary sweep when no scenarios are given. Default 5,000",
"exclusiveMinimum": 0
},
"corporation": {
"type": "object",
"properties": {
"qc": {
"type": "object",
"properties": {
"instalmentsPaid": {
"type": "number",
"minimum": 0,
"description": "Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines"
},
"taxableIncomeQc": {
"type": "number",
"description": "CO-17 taxable income when it differs from federal"
},
"hours07aCurrentYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)"
},
"plafondGroupAllocated": {
"type": "number",
"minimum": 0,
"description": "CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)"
},
"hours07bGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07b: remunerated hours, associated group, prior year"
},
"capitalVerseGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "Capital versé of the associated group, prior year (CO-17 line 426a)"
}
},
"description": "Québec inputs (CO-771)"
},
"taxYear": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of the taxation year"
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the taxation year"
}
},
"description": "The corporation's taxation year. Default: the calendar year. A different year is computed and flagged"
},
"cdaOpening": {
"type": "number",
"minimum": 0,
"description": "Capital dividend account opening balance (returns cda_closing)"
},
"gripOpening": {
"type": "number",
"minimum": 0,
"description": "GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward"
},
"rdtohOpening": {
"type": "object",
"properties": {
"erdtohLine520": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)"
},
"nerdtohLine535": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing NERDTOH, T2 line 545"
},
"erdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of ERDTOH (line 570)"
},
"nerdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of NERDTOH (line 575)"
}
},
"description": "Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters"
},
"netIncomeForTax": {
"type": "number",
"description": "Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation"
},
"propertyExpenses": {
"type": "number",
"minimum": 0,
"description": "Holdco: deductible property expenses of the year (total)"
},
"groupAaiiPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed"
},
"netIncomeAccounting": {
"type": "number",
"description": "Holdco: net income per financial statements"
},
"otherPropertyIncome": {
"type": "number",
"minimum": 0,
"description": "Holdco: property income other than dividends and capital-gains dividends"
},
"taxableCapitalGains": {
"type": "number",
"minimum": 0,
"description": "Sch 6: taxable capital gains (the included half)"
},
"lossesByYearOfOrigin": {
"type": "object",
"description": "Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}",
"propertyNames": {
"type": "string",
"pattern": "^\\d{4}$"
},
"additionalProperties": {
"type": "number",
"minimum": 0
}
},
"provincialProportion": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Share of taxable income allocated to the province (Reg. 402). Default 1"
},
"capitalGainsDividends": {
"type": "number",
"minimum": 0,
"description": "Capital-gains dividends received (full amount; half to CDA)"
},
"allowableCapitalLosses": {
"type": "number",
"minimum": 0,
"description": "Sch 6: allowable capital losses of the year"
},
"businessLimitAllocated": {
"type": "number",
"minimum": 0,
"description": "Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero"
},
"foreignInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 445: foreign investment income"
},
"nonCapitalLossesOpening": {
"type": "number",
"minimum": 0,
"description": "Sch 4: non-capital loss pool at the start of the year"
},
"foreignBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 636: foreign business income tax credit"
},
"aggregateInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 440: aggregate investment income (s.129(4))"
},
"dividendsReceivedConnected": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"description": "Taxable dividend received from the connected corporation"
},
"payerId": {
"type": "string",
"minLength": 1,
"description": "Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation"
},
"cascadeShare": {
"type": "number",
"minimum": 0,
"description": "Precomputed share of the payer's refund, when already known (overrides the two fields above)"
},
"payerDividendRefund": {
"type": "number",
"minimum": 0,
"description": "The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning"
},
"payerTotalDividendsPaid": {
"type": "number",
"description": "Total taxable dividends the payer paid that year (denominator of the recipient's share)",
"exclusiveMinimum": 0
}
}
},
"description": "Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund"
},
"foreignNonBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 632: foreign non-business income tax credit"
},
"taxableCapitalGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M"
},
"dividendsPaidOfWhichConnected": {
"type": "number",
"minimum": 0,
"description": "How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them"
},
"dividendsReceivedPortfolioEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)"
},
"nonCapitalLossesClaimedAgainstPartI": {
"type": "number",
"minimum": 0,
"description": "Non-capital losses claimed against Part I income"
},
"nonCapitalLossesClaimedAgainstPartIV": {
"type": "number",
"minimum": 0,
"description": "Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount"
},
"dividendsReceivedPortfolioNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)"
}
},
"description": "The corporation's context, as in ccpcrate_resolve: groupAaiiPriorYear (line 417, required whenever a business limit is claimed), businessLimitAllocated, rdtohOpening, gripOpening, aggregateInvestmentIncome, and for Québec qc.hours07aCurrentYear / hours07bGroupPriorYear. Its income, dividends and province are set by this tool"
},
"eiInsurable": {
"type": "boolean",
"description": "Whether the owner's employment is insurable under the EI Act. Default false: a shareholder controlling more than 40 % of the voting shares is not"
},
"calendarYear": {
"type": "integer",
"maximum": 2026,
"minimum": 2025,
"description": "Calendar year of the salary, the dividend and the owner's return. 2025 or 2026"
},
"otherPayroll": {
"type": "number",
"minimum": 0,
"description": "Remuneration the employer pays to its other employees in the year. Sets the Québec health services fund rate and the Ontario employer health tax exemption. Default 0"
},
"otherPersonalIncome": {
"type": "number",
"minimum": 0,
"description": "The owner's other income of the year, taxed in full (interest, pension). It fills the brackets with the salary and dividend"
},
"incomeBeforeRemuneration": {
"type": "number",
"minimum": 0,
"description": "The corporation's active business income for the year BEFORE the owner's salary and the employer's contributions and levies on it"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Free diagnostic pass over the same input as ccpcrate_resolve: which layers run, the defaults the engine would apply, every warning with its meaning (grind binding, provincial asymmetries, missing inputs), the rule rows in force for the year with sources and verification status, the open verifications, and what the paid computation would return. Contains no computed amounts — the numbers are in ccpcrate_resolve.
| Parameter | Type | Description |
|---|---|---|
| qc | object | Québec inputs (CO-771) |
| taxYear * | object | |
| province * | string | Province of the permanent establishment (two-letter code) |
| cdaOpening | number | Capital dividend account opening balance (returns cda_closing) |
| gripOpening | number | GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward |
| rdtohOpening | object | Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters |
| taxableIncome | number | Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it |
| netIncomeForTax | number | Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation |
| propertyExpenses | number | Holdco: deductible property expenses of the year (total) |
| groupAaiiPriorYear | number | T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed |
| netIncomeAccounting | number | Holdco: net income per financial statements |
| otherPropertyIncome | number | Holdco: property income other than dividends and capital-gains dividends |
| taxableCapitalGains | number | Sch 6: taxable capital gains (the included half) |
| activeBusinessIncome | number | T2 line 400: income from an active business carried on in Canada |
| lossesByYearOfOrigin | object | Sch 4 Part 6: opening balances by year of origin, e.g. {"2011": 263564} |
| provincialProportion | number | Share of taxable income allocated to the province (Reg. 402). Default 1 |
| capitalGainsDividends | number | Capital-gains dividends received (full amount; half to CDA) |
| dividendsPaidEligible | number | Eligible dividends paid (designated) in the year |
| allowableCapitalLosses | number | Sch 6: allowable capital losses of the year |
| businessLimitAllocated | number | Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero |
| foreignInvestmentIncome | number | T2 line 445: foreign investment income |
| nonCapitalLossesOpening | number | Sch 4: non-capital loss pool at the start of the year |
| dividendsPaidNonEligible | number | Non-eligible taxable dividends paid in the year |
| foreignBusinessTaxCredit | number | T2 line 636: foreign business income tax credit |
| aggregateInvestmentIncome | number | T2 line 440: aggregate investment income (s.129(4)) |
| dividendsReceivedConnected | array | Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund |
| foreignNonBusinessTaxCredit | number | T2 line 632: foreign non-business income tax credit |
| taxableCapitalGroupPriorYear | number | T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M |
| dividendsPaidOfWhichConnected | number | How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern th… |
| dividendsReceivedPortfolioEligible | number | Eligible taxable dividends from non-connected payers (Part IV → ERDTOH) |
| nonCapitalLossesClaimedAgainstPartI | number | Non-capital losses claimed against Part I income |
| nonCapitalLossesClaimedAgainstPartIV | number | Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount |
| dividendsReceivedPortfolioNonEligible | number | Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH) |
{
"name": "ccpcrate_explain",
"title": "Explain a resolution",
"description": "Free diagnostic pass over the same input as ccpcrate_resolve: which layers run, the defaults the engine would apply, every warning with its meaning (grind binding, provincial asymmetries, missing inputs), the rule rows in force for the year with sources and verification status, the open verifications, and what the paid computation would return. Contains no computed amounts — the numbers are in ccpcrate_resolve.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"taxYear",
"province"
],
"properties": {
"qc": {
"type": "object",
"properties": {
"instalmentsPaid": {
"type": "number",
"minimum": 0,
"description": "Acomptes provisionnels paid (CO-17 line 440) — enables the balance lines"
},
"taxableIncomeQc": {
"type": "number",
"description": "CO-17 taxable income when it differs from federal"
},
"hours07aCurrentYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07a: remunerated hours, current year (required with 07b for the CO-771 layer)"
},
"plafondGroupAllocated": {
"type": "number",
"minimum": 0,
"description": "CO-771 plafond allocated to this corporation (defaults to businessLimitAllocated)"
},
"hours07bGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "CO-771 line 07b: remunerated hours, associated group, prior year"
},
"capitalVerseGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "Capital versé of the associated group, prior year (CO-17 line 426a)"
}
},
"description": "Québec inputs (CO-771)"
},
"taxYear": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day of the taxation year"
},
"start": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day of the taxation year"
}
}
},
"province": {
"enum": [
"AB",
"BC",
"MB",
"NB",
"NL",
"NS",
"NT",
"NU",
"ON",
"PE",
"QC",
"SK",
"YT"
],
"type": "string",
"description": "Province of the permanent establishment (two-letter code)"
},
"cdaOpening": {
"type": "number",
"minimum": 0,
"description": "Capital dividend account opening balance (returns cda_closing)"
},
"gripOpening": {
"type": "number",
"minimum": 0,
"description": "GRIP carried into the year: Schedule 53 line 100 less the eligible dividends paid in the previous year (line 300 net of 310). Returns the GRIP at the end of the year, against which this year's eligible dividends are tested, and what is left to carry forward"
},
"rdtohOpening": {
"type": "object",
"properties": {
"erdtohLine520": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing ERDTOH, T2 line 530 (printed before that year's refund)"
},
"nerdtohLine535": {
"type": "number",
"minimum": 0,
"description": "Prior year's closing NERDTOH, T2 line 545"
},
"erdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of ERDTOH (line 570)"
},
"nerdtohRefundPrev": {
"type": "number",
"minimum": 0,
"description": "Prior year's dividend refund out of NERDTOH (line 575)"
}
},
"description": "Opening ERDTOH / NERDTOH in T2 terms. Omitted = 0 with a warning when it matters"
},
"taxableIncome": {
"type": "number",
"description": "Part I taxable income (T2 line 360). Omit for a holdco and supply the income lines instead; the engine derives it"
},
"netIncomeForTax": {
"type": "number",
"description": "Holdco: net income for tax purposes (Sch 1 result) — overrides the derivation"
},
"propertyExpenses": {
"type": "number",
"minimum": 0,
"description": "Holdco: deductible property expenses of the year (total)"
},
"groupAaiiPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 417: Σ Sch 7 line 745 of the associated group for taxation years ending in the preceding calendar year. REQUIRED whenever a business limit is claimed"
},
"netIncomeAccounting": {
"type": "number",
"description": "Holdco: net income per financial statements"
},
"otherPropertyIncome": {
"type": "number",
"minimum": 0,
"description": "Holdco: property income other than dividends and capital-gains dividends"
},
"taxableCapitalGains": {
"type": "number",
"minimum": 0,
"description": "Sch 6: taxable capital gains (the included half)"
},
"activeBusinessIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 400: income from an active business carried on in Canada"
},
"lossesByYearOfOrigin": {
"type": "object",
"description": "Sch 4 Part 6: opening balances by year of origin, e.g. {\"2011\": 263564}",
"propertyNames": {
"type": "string",
"pattern": "^\\d{4}$"
},
"additionalProperties": {
"type": "number",
"minimum": 0
}
},
"provincialProportion": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Share of taxable income allocated to the province (Reg. 402). Default 1"
},
"capitalGainsDividends": {
"type": "number",
"minimum": 0,
"description": "Capital-gains dividends received (full amount; half to CDA)"
},
"dividendsPaidEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible dividends paid (designated) in the year"
},
"allowableCapitalLosses": {
"type": "number",
"minimum": 0,
"description": "Sch 6: allowable capital losses of the year"
},
"businessLimitAllocated": {
"type": "number",
"minimum": 0,
"description": "Business limit allocated to this corporation (Sch 23 line 410 if associated, else the statutory limit). 0 = allocation zero"
},
"foreignInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 445: foreign investment income"
},
"nonCapitalLossesOpening": {
"type": "number",
"minimum": 0,
"description": "Sch 4: non-capital loss pool at the start of the year"
},
"dividendsPaidNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends paid in the year"
},
"foreignBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 636: foreign business income tax credit"
},
"aggregateInvestmentIncome": {
"type": "number",
"minimum": 0,
"description": "T2 line 440: aggregate investment income (s.129(4))"
},
"dividendsReceivedConnected": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount"
],
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"description": "Taxable dividend received from the connected corporation"
},
"payerId": {
"type": "string",
"minLength": 1,
"description": "Id of the paying corporation when it is a member of the same ccpcrate_group call: its refund and total dividends paid are then taken from its own computation"
},
"cascadeShare": {
"type": "number",
"minimum": 0,
"description": "Precomputed share of the payer's refund, when already known (overrides the two fields above)"
},
"payerDividendRefund": {
"type": "number",
"minimum": 0,
"description": "The payer's dividend refund for the year it paid the dividend (s.186(1)(b)); 0 = no refund → no cascade; omitted = unknown → cascade withheld with a warning"
},
"payerTotalDividendsPaid": {
"type": "number",
"description": "Total taxable dividends the payer paid that year (denominator of the recipient's share)",
"exclusiveMinimum": 0
}
}
},
"description": "Dividends from connected corporations (s.186(4)) — Part IV only through the payer's refund"
},
"foreignNonBusinessTaxCredit": {
"type": "number",
"minimum": 0,
"description": "T2 line 632: foreign non-business income tax credit"
},
"taxableCapitalGroupPriorYear": {
"type": "number",
"minimum": 0,
"description": "T2 line 415: taxable capital employed in Canada of the group, prior year. Omit when under 10 M"
},
"dividendsPaidOfWhichConnected": {
"type": "number",
"minimum": 0,
"description": "How much OF the dividends paid above went to connected corporations — a portion of dividendsPaidEligible + dividendsPaidNonEligible, never an amount on top of them. Raises the cascade warning on the payer side. In a ccpcrate_group call the recipients' own dividendsReceivedConnected amounts govern the 186(1)(b) share; this field is then cross-checked against them"
},
"dividendsReceivedPortfolioEligible": {
"type": "number",
"minimum": 0,
"description": "Eligible taxable dividends from non-connected payers (Part IV → ERDTOH)"
},
"nonCapitalLossesClaimedAgainstPartI": {
"type": "number",
"minimum": 0,
"description": "Non-capital losses claimed against Part I income"
},
"nonCapitalLossesClaimedAgainstPartIV": {
"type": "number",
"minimum": 0,
"description": "Non-capital / farm losses claimed against Part IV (s.186(1)(c),(d)) — the loss amount"
},
"dividendsReceivedPortfolioNonEligible": {
"type": "number",
"minimum": 0,
"description": "Non-eligible taxable dividends from non-connected payers (Part IV → NERDTOH)"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}The statutory rates and parameters the engine uses (14 jurisdictions, effective dates, application modes, sources, verification status), filterable by jurisdiction, key and date. Free.
| Parameter | Type | Description |
|---|---|---|
| key | string | Row key (e.g. sbd_rate, business_limit, passive_income_grind); omit for all keys |
| date | string | Only the rows in force on this date (default: every row, all periods) |
| scope | string | corporate = the T2 / CO-17 rows (default set before 0.3.0); personal = T1 / TP-1 rows; payroll = contributions and employer levies. Omit for all. |
| jurisdiction | string | Jurisdiction; omit for all |
{
"name": "ccpcrate_rules",
"title": "Rules table",
"description": "The statutory rates and parameters the engine uses (14 jurisdictions, effective dates, application modes, sources, verification status), filterable by jurisdiction, key and date. Free.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"key": {
"type": "string",
"description": "Row key (e.g. sbd_rate, business_limit, passive_income_grind); omit for all keys"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Only the rows in force on this date (default: every row, all periods)"
},
"scope": {
"enum": [
"corporate",
"personal",
"payroll"
],
"type": "string",
"description": "corporate = the T2 / CO-17 rows (default set before 0.3.0); personal = T1 / TP-1 rows; payroll = contributions and employer levies. Omit for all."
},
"jurisdiction": {
"enum": [
"FED",
"AB",
"BC",
"MB",
"NB",
"NL",
"NS",
"NT",
"NU",
"ON",
"PE",
"QC",
"SK",
"YT"
],
"type": "string",
"description": "Jurisdiction; omit for all"
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}ccpcrate resolves the Canadian CCPC corporate rate stack (engine 0.0.1, rules 0.3.2): federal Part I with the SBD and its passive-income / taxable-capital grinds, GRR, refundable Part I, Part IV, ERDTOH / NERDTOH continuity and dividend refund, GRIP, CDA and loss continuity for holdcos, and the provincial layer (Québec CO-771 with the hours test, Ontario / New Brunswick without the passive grind, the other provinces through line 428). Every printed line is rounded half-up to the dollar; the engine never assumes a required input away — read the warnings. Amounts are in dollars. Give groupAaiiPriorYear (line 417) whenever a business limit is claimed, and Québec hours 07a / 07b for the CO-771 layer. ccpcrate_compensation answers the owner-manager's question on top of it: for a given income before remuneration, what a salary, a dividend or a mix costs in corporate tax, payroll contributions and personal tax (federal T1 with Ontario's ON428 or Québec's TP-1), and what the owner keeps. Each result has a human-readable summary (text) and the full machine-readable object (structuredContent). ccpcrate_explain and ccpcrate_rules are free; ccpcrate_resolve: Free during the launch period; the planned price is 0.25 USDC per call. ccpcrate_group: Free during the launch period; the planned price is 0.25 USDC for the group and its first 2 computed members, 0.05 per additional member, never more than 1. ccpcrate_compensation: Free during the launch period; the planned price is 0.25 USDC for up to 5 scenarios, 0.5 for a sweep or a longer list.
Names, descriptions and schemas were written by the server and are shown as data.