How to Submit a Previous Year's XML File to CRA

How to Submit a Previous Year's XML File to Revenu Québec

On occasion, you may be required to submit a previous year's XML file to CRA. Since CRA typically will only accept XML data in the current year's format you can no longer use older versions of eForms to generate the XML file for upload.

Here's how you can prepare a previous year's XML file for upload to CRA. This procedure assumes that the previous year's data exists in a current eForms database:

  1. Click TOOLS > GLOBAL CHANGES > SLIP INFORMATION - Select the company and slip type being processed
  2. Select “Change tax year to” - In the OPTIONS section change the year to the current year and click APPLY
    • This is necessary because eForms cannot generate XML files for years other than the current year
  3. Review your data, confirming that any calculated data is correct, and generate the XML file
  4. Make a backup of the XML file and open the original in a text editor such as Notepad (included with Windows)
    • DO NOT use a word processor
    • The XML file's location is shown on line 5 of the HELP > DIAGNOSTICS AND FILE LOCATIONS screen
  5. Scroll to the bottom of the XML file, the current year will be inside XML tags similar to <tx_yr>year</tx_yr>
  6. Edit the year so that it shows the year being processed and save the XML file
  7. Submit the XML file to CRA

If you'll be distributing recipient slips you will also need to to the following:

  1. Click TOOLS > GLOBAL CHANGES > SLIP INFORMATION - Select the company and slip type being processed
  2. Select “Change tax year to” - In the OPTIONS section change the year to the current year and click APPLY
    • This is necessary to print the correct year on the recipient slips
  3. Print and distribute the forms

And you're finished!

Return to eForms QuickHelps

"I just have to tell you how great it is to work with a company that has such a good support team, it is a joy to talk to someone who knows the product and wants to help us make it work."

Here at AvanTax eForms, we are dedicated to a standard of exemplary customer service. Being in the buisness for over 30 years has taught us that customers want informative, effective and friendly service that caters to their immediate needs.

Support is avaliable all year round. We're committed to answering your questions promptly and courteously, so if you get our voice-mail, leave a detailed message, including contact information and we'll call you back as soon as we can.

If that sounds like something you might need, give us a call:


English Technical Support

Telephone: 416 495 1624
Toll-free: 800 268 3211
Fax: 416 495 0044
Email: Support@AvanTax.ca
Live chat: 


Click only when instructed

Soutien technique en français

Téléphone : 514-499-9669

Télécopieur : 514-499-9669
Courriel : SoutienTechnique@AvanTax.ca
Clavardage en direct : 


Cliquez uniquement sur instructions