T4A XML Validator

Validate and restructure T4A XML files for CRA electronic filing. CRA T4A 2026 Spec

Upload XML File
Click to select or drag and drop

Accepts .xml files

    # Surname Given Name SIN City Amount Status
    Generate Corrected XML

    This will restructure the XML to match CRA's T4A 2026 spec, strip empty optional fields, and auto-generate the T4ASummary. Review the fields below before generating.

    T619 Transmitter Details
    You log in with your personal CRA account and represent the business. RepID is required.
    Must match the RepID used to sign in to CRA. Up to 7 alphanumeric.
    The client's BN you are representing.
    Up to 8 alphanumeric characters, no spaces/hyphens
    Transmitter Contact
    T4A Summary (Payer Info)
    T4A XML Validator -- Spec: CRA T4A 2026V2 / T619 2026V4 -- About

    About

    Developed by Romeo Macabuhay (Northern Lights College)
    For support, please contact us at [email protected]
    Changelog

    v1.5.0

    2026-02-17
    • Added inline slip editing: click any slip row or issue to open the editor
    • Edit recipient name, SIN, address, postal code, amounts and other fields directly in the browser
    • Save & Re-validate button instantly re-checks the edited slip
    • Edited slips show a blue "Edited" badge in the Slips tab
    • Form fields are highlighted red/amber when they have validation errors or warnings
    • All edits are applied when generating the corrected XML
    • Edits reset when re-validating or uploading a new file

    v1.4.0

    2026-02-17
    • Added Filing Method selector (RAC / MyBA / WAC) with context-aware hints and validation
    • Added TransmitterRepID (Representative ID) support for RAC (Represent a Client) filers
    • RepID field shown only when RAC is selected; hidden and cleared for MyBA/WAC
    • RepID is required when filing via RAC -- missing RepID was causing T619 "empty tags or missing mandatory tags" rejection
    • RepID parsed from input XML if present, displayed in T619 detail, and included in corrected output

    v1.3.0

    2026-02-11
    • Added xsi:noNamespaceSchemaLocation="T619_T4A.xsd" to Submission element (required by CRA)
    • Switched to compact XML output (no whitespace between tags) to match CRA-expected format
    • Fixed T4ASummary CNTC: removed cntc_email_area (CRA ContactType2 has no email field)
    • Validated XML output against official CRA 2026 XSD schema

    v1.2.0

    2026-02-11
    • Fixed T619 XML structure to match CRA 2026V4 spec (TransmitterAccountNumber, TransmitterName, TransmitterCountryCode)
    • Removed transmitter address from T619 (not part of the CRA spec)

    v1.1.0

    2026-02-11
    • Added About modal with developer info and changelog
    • Added link to CRA T4A 2026 spec in subtitle
    • Added mandatory field validation before XML generation to prevent CRA rejection
    • Pre-filled NLC default address for payer section
    • Fixed button hover color contrast
    • Fixed file info bar appearing when no file is uploaded

    v1.0.0

    2026-02-11
    • Initial release
    • T4A XML validation against CRA 2026V2 spec
    • T619 header validation (detects legacy element names)
    • Per-slip validation: SIN, BN, province codes, postal codes, field lengths, empty optional fields (Oct 2025 rule), dental code requirement, OTH_INFO limits
    • Auto-generation of T4ASummary with computed totals
    • XML restructuring to correct CRA element names
    • Stripping of empty optional fields per Oct 2025 CRA rule
    • SIN masking in the UI for privacy
    • Corrected XML download

    Edit Slip #1

    Recipient
    Address
    Amounts