How do I get the xml file required for electronic filing of T4 slips to CRA? Every time I try, I get a system error message.


Hi there, 

Accessing the XML file for your electronic T4 slips is important. I'd like to make sure you're able to get back on track. 

Here's another user with a similar question. These steps will work for you as well:

Hi there,

Thanks for reaching out to us here on Community. Another customer recently asked a similar question. Here's the info you need to get your archived T4 forms.

Have a great day. :)


Many people export this document to a PDF file, as you still have to download an official document from the CRA and enter your T4 information manually. QuickBooks Online simply generates the information for you to copy to the official form.

However, there's also a workaround to allow for an XML file to be downloaded. On the screen where you press "View" to obtain a copy of your "T4 Employer" slips, there is an "Archive" button below.  Enter the "Transmitter #" under the Federal settings section (use the default "555555" if you don't have a transmitter #).

Once you enter this number and press "OK", go back to the "T4 Employer" slip screen and the "Archive" button will have changed to "Submit".  Click "Submit" and locate your XML file in its saved location on your computer.

I hope this helps. Let me know if this works for you.

Have a great day.

Was this answer helpful? Yes No
Default user avatars original
IntuitAdelaide , Digital Engagement Specialist
Employee SuperUser

No answers have been posted

More Actions

People come to QuickBooks Learn & Support for help and answers—we want to let them know that we're here to listen and share our knowledge. We do that with the style and format of our responses. Here are five guidelines:

  1. Keep it conversational. When answering questions, write like you speak. Imagine you're explaining something to a trusted friend, using simple, everyday language. Avoid jargon and technical terms when possible. When no other word will do, explain technical terms in plain English.
  2. Be clear and state the answer right up front. Ask yourself what specific information the person really needs and then provide it. Stick to the topic and avoid unnecessary details. Break information down into a numbered or bulleted list and highlight the most important details in bold.
  3. Be concise. Aim for no more than two short sentences in a paragraph, and try to keep paragraphs to two lines. A wall of text can look intimidating and many won't read it, so break it up. It's okay to link to other resources for more details, but avoid giving answers that contain little more than a link.
  4. Be a good listener. When people post very general questions, take a second to try to understand what they're really looking for. Then, provide a response that guides them to the best possible outcome.
  5. Be encouraging and positive. Look for ways to eliminate uncertainty by anticipating people's concerns. Make it apparent that we really like helping them achieve positive outcomes.

Select a file to attach:

Qb community
Looking for advice from other business owners?

Visit our QuickBooks Community site.