FinchContext
Run with

Build a T5 Statement of Investment Income Return (XML)

Skill: Convert investment-income data into the T5 information return XML for CRA

Region: Canada Category: Tax — Information returns (CRA) Does: Takes investment income paid to recipients (dividends, interest, certain other income) and produces the T5 information return as the CRA XML filed via Internet File Transfer (XML) — the T5 slips plus the T5 Summary — and provides the recipient slips. System: CRA — Internet File Transfer (information return XML; T5 slip + summary)

Payers of investment income issue T5 slips and file the return by the last day of February following the calendar year. Filers issuing slips above the electronic-filing threshold must file by Internet File Transfer using the CRA information-return XML schema (the same envelope used for T4/T5/T5018 etc., keyed by the payer's BN/Account number and Web Access Code or transmitter number). Confirm the current XML schema version before generating.


When this applies


Input data required

Group Fields
Transmitter / payer BN (RZ account), payer name, address, transmitter number / Web Access Code
Per recipient (slip) recipient name, address, SIN/BN, recipient type
Amounts (T5 boxes) actual eligible dividends (24) + taxable (25) + credit (26); other-than-eligible (10/11/12); interest from Canadian sources (13); foreign income/tax
Summary totals per box across all slips

Structure (CRA information-return XML)

Submission
├── Transmitter (BN, Name, transmitter number)
└── Return (T5)
    ├── T5Slip ...
    │   ├── RecipientName / Address / SIN
    │   └── Amounts: ELG_DIV_AMT (24), TXBL_ELG_DIV_AMT (25), DIV_TX_CR (26),
    │                OTH_THAN_ELG_DIV (10/11), FED_DIV_TX_CR (12), INT_FRM_CDN_SRC (13)
    └── T5Summary (per-box totals, slip count)

Calculation rules


Worked example (one slip, outline)

<T5Slip>
  <RECIPIENT><snm>Smith</snm><gvn_nm>John</gvn_nm><sin>123456789</sin></RECIPIENT>
  <T5_AMT>
    <elg_div_amt>1000.00</elg_div_amt>        <!-- box 24 actual eligible -->
    <txbl_elg_div_amt>1380.00</txbl_elg_div_amt> <!-- box 25 grossed-up -->
    <div_tx_cr>207.00</div_tx_cr>              <!-- box 26 dividend tax credit -->
    <int_frm_cdn_src>250.00</int_frm_cdn_src>  <!-- box 13 interest -->
  </T5_AMT>
</T5Slip>

(Box 25 = 1,000 × eligible gross-up; box 26 = box 25 × eligible DTC rate — use current rates.)


Validation checklist


Last updated: 2026-06-04 — confirm the active T5 / information-return XML schema, box codes, and gross-up/credit rates against the current Canada Revenue Agency specifications before use.