Upload a Beanflow T4 XML to CRA Internet File Transfer
Beanflow prepares and validates the T4 XML; you send it through CRA Internet File Transfer. This guide follows the full path from generated file to recorded submission number, including what the CRA confirmation does and does not prove.
Last updated November 2026
At a glance
- Beanflow produces a standard CRA T619 XML and validates it against the CRA schema and Beanflow's payroll checks. It does not submit the file.
- Internet File Transfer accepts one XML file, or a ZIP containing one XML, up to 150 MB.
- Sign in with the RP or RZ business number and web access code, or through My Business Account or Represent a Client.
- The submission number is a receipt, not an acceptance. Read the Submission Filing Report before treating the return as filed.
- Record the submission number in Beanflow against the exact XML you uploaded.
What Beanflow produces
Beanflow generates the T4 return in the CRA's Internet File Transfer format: a <Submission> element containing a <T619> transmitter
record and a <Return> with the T4 slips and the T4 Summary. The file is validated
against the CRA's XML schema and Beanflow's own checks before it can be downloaded.
Local validation reduces the chance of a schema rejection, but it cannot guarantee that the CRA will accept every slip. The CRA runs its own electronic filing validations after upload, so treat the confirmation and filing report as the authoritative result.
Before you upload
- Filing is available for the tax year and the XML was generated from the final, approved payroll data.
- The payroll account is open, and the account in the T619 matches the account you will use to sign in.
- You have the exact file that was validated: do not edit, rename or re-save the XML.
- You can sign in with the business number and web access code, or through My Business Account or Represent a Client.
- The file is 150 MB or less and contains a single return type.
Do not upload a stale XML after payroll, slip, employer or contact data has changed. Regenerate and validate a new file instead.
Step 1: generate and validate the XML
Open the T4 report for the company and tax year, then generate the summary and XML. Beanflow runs the CPP and EI consistency preflight, builds the XML, and validates it against the CRA schema.
Read the result as two separate signals. A valid XML means the file passed the structural and business checks. A manual-review flag means one or more CPP or EI findings still need payroll review before filing. Clear the review item first; do not upload a file that still has an unresolved finding.
A warning in the validation result is advisory. It does not block the download, but review it before filing: some warnings describe checks the CRA performs after upload, such as account status or filer authorization, which Beanflow cannot verify locally.
Step 2: download the exact XML
Download the file from the validated generation and note its identity: the file name, the SHA-256 hash and the generation ID. Beanflow ties the submission record to those values, so the confirmation you enter later can be matched to the exact file that was sent.
The XML contains employee SINs and payroll amounts. Store it in a restricted location, not in email or a shared drive.
Step 3: sign in to Internet File Transfer
Open the Internet File Transfer application and enter the business number and web access code. If you do not have the code, the page links to the CRA's online web access code service. You can also start from My Business Account or Represent a Client and choose the file-a-return option, which avoids the separate code prompt.
The account you sign in with must match the transmitter account in the T619. If they do not match, the submission is rejected.
Step 4: attach the return
Select the XML file, or a ZIP that contains a single XML file, and continue. The page accepts files of 150 MB or less.
The CRA does not allow changes to the business account number, the tax year, or filer information such as the business name at upload. If you are filing an amendment only to change one of those fields, the service will reject the return, and regenerating the XML will not help — the field is protected at upload. Follow the CRA's instructions for correcting those specific fields instead, for example through My Business Account or the CRA's payroll account services, rather than filing an amended XML through Internet File Transfer.
Since January 2025, one submission can contain only one information return type. Do not combine a T4 return with another slip type in the same upload.
Step 5: read the confirmation
After the upload, the CRA shows a Confirmation of Receipt with a submission number. Print or save the page and keep the number.
| What you see | What it means |
|---|---|
| Submission number | The CRA received the file. It is a receipt, not an acceptance. |
| Submission Filing Report | Lists the returns in the submission as accepted or rejected, with details for each. |
| Online processing | The file was validated during the upload and the result is shown on the confirmation. |
| Offline processing | The file is large enough that the CRA validates it later and emails the result to the address in the T619 record. |
| Rejected return | The error report is available in My Business Account; correct the data and resubmit. |
A confirmation email is also sent to the return owner. It can say that the return was received, received and still in progress, or received with issues. The email does not include the Submission Filing Report, so read the report on the confirmation page or in My Business Account.
Step 6: record the submission in Beanflow
Return to Beanflow and record the submission against the exact XML: the confirmation number, the submission time, and any notes about the result. Beanflow does not contact the CRA to verify the number; it stores the evidence you provide and links it to the file hash and generation.
If the CRA reports an acceptance or rejection later, record that outcome as well. Keeping the receipt and the result separate makes it clear which step is proven and which is still pending.
If the CRA rejects the return
Download the error report from My Business Account and identify the failing return and field. Correct the source data in Beanflow, regenerate the XML, validate it again, and upload the new file. Do not resubmit the same rejected XML or patch the file by hand.
If the original return was accepted and you later find an error, file an amendment: use the amended report-type codes, include only the affected slips, and include the amended totals on the summary. A slip that should never have been reported is cancelled with the cancel code.
These corrections do not depend on the normal generation window. Beanflow opens original generation on January 1 and closes it at the end of February; rejection fixes and post-acceptance amendments are controlled corrections with a recorded reason, and they remain available after the window closes. If no original was ever published after the close, the product offers a controlled late original instead: you record a reason, and the file is built from the complete approved payroll source.
Security and retention
- The XML contains employee SINs and payroll amounts. Treat it as sensitive payroll data.
- Do not email the XML or place it in an unsecured shared folder.
- Keep the file, the confirmation page and the filing result for at least six years.
- Redact the business number and submission number before sharing screenshots externally.
Troubleshooting
| Symptom | Likely cause and fix |
|---|---|
| Schema error on upload | A missing mandatory value, a blank optional tag, or a badly formatted amount. Regenerate from corrected source data rather than editing the XML. |
| Transmitter account rejected | The T619 account does not match the account used to sign in. Sign in with the matching account or regenerate the XML with the correct transmitter. |
| Multiple return types rejected | One submission can contain only one information return type. Split the files. |
| File too large | Compress the single XML into a ZIP, or reduce the number of returns in the file. The limit is 150 MB. |
| Cannot change tax year or business name | Those fields are fixed at upload. On a return that has not been filed yet, correct the source data and regenerate. On an accepted return, follow the CRA's instructions for correcting those fields through My Business Account or the CRA's payroll account services — an amended XML through Internet File Transfer will be rejected again. |
| Submission number received, no acceptance | The receipt only proves delivery. Check the Submission Filing Report and My Business Account. |
Frequently asked questions
Does Beanflow submit the T4 XML to the CRA for me?
No. Beanflow generates and validates the XML, and stores the exact file you downloaded. You upload it through CRA Internet File Transfer and record the submission number that the CRA returns.
Can I upload the Beanflow XML through Web Forms instead?
No. Web Forms only opens files created by Web Forms. A payroll-generated XML has to go through Internet File Transfer.
What file does Internet File Transfer accept?
One XML file, or a ZIP file that contains a single XML file. The upload must be 150 MB or less, and all returns in one submission must be the same information return type.
Is the submission number proof that the CRA accepted the return?
No. The submission number confirms receipt. Acceptance or rejection is shown in the Submission Filing Report that accompanies the confirmation, and rejected returns have error reports in My Business Account.
Can I file an amended T4 with the same upload process?
Yes. Generate an amended XML with the amended report-type codes, include only the slips being amended, and upload it the same way. A cancellation uses the amended return with a cancel code for the slip.