Open navigation

T4 Slips - Update Tax Slip Count on the XML file

This is last year's information. Check back in January for more info! 

We’ve discovered that the total slip count listed in the T4 XML file is not including the T4 Continuation Slips in the count, causing an issue when the CRA validates the file.

This only affects you if you submitted T4 XML files to the CRA with continuation slips. If you’ve already contacted CRA’s Electronic Media Processing Unit, this may not apply to you.

This article will guide you through confirming whether you have continuation T4 tax slips. If you have continuation tax slips, you can ensure slip are processed in a timely manor by completing one of the following:

  1. Delete the XML in Avanti, regenerate, and resubmit to the CRA. This is only available for SaaS Clients. 

  2. Update the XML file you previously generated and resubmit to the CRA.

  3. Call CRA request they allow the file to pass validation. You’ll need the submission ID you created the file with - this is displayed in Maintain Tax Slip XML Data Files.

Additional Information
If you haven’t created the XML file for your T4 and you’re: 

  • A SaaS client, you can go ahead and create the file. 

  • An On-premise client, please request an update through Client Care, Care@Avanti.ca. Your IT will need to apply the update before you can generate the file. 

  • Unsure whether you’re a SaaS or On-premise client? Contact Client Care, Care@Avanti.ca.

Confirm Whether there are Continuation T4 Tax Slips

 Step 1: Open Maintain Tax Slip XML Data Files in the Avanti Desktop Application.
By default, this can be found in Canadian Payroll >> Tax Slip Processing >> Generate Transmission Media.

Step 2: Select a file with T4 selected for Tax Slip Type, then select Modify. 

Step 3: You can find the total number of T4 continuation Slips here.

  • If this is greater than 0, add the Total Number of T4 Slips to the Total Number of T4 Continuation Slips, and note this number.

Step 4: Repeat Steps 2 and 3 for each T4.

  • If none of your T4 XML files contain T4 Continuation Slips, you don’t need to make any changes to your XML files.

  • If you have any affected files, complete one of the remediation steps. You can find more details on each below.

    • Regenerate the XML and resubmit it to the CRA.

    • Update the XML file and resubmit it to the CRA.

    • Call CRA request they allow the file to pass validation. You’ll need the submission ID you created the file with - this is displayed in Maintain Tax Slip XML Data Files.

Regenerate the XML and Resubmit it to the CRA

If you are an Avanti SaaS, your environment is updated, and you can regenerate your XML file.

If you’re an On-Premise Client, you’ll need to fix the XML File using a different method. Skip to section Update the XML File or Contact the CRA below

Step 1: Open Maintain Tax Slip XML Data Files in the Avanti Desktop Application if it’s not already open.
By default, this can be found in Canadian Payroll >> Tax Slip Processing >> Generate Transmission Media.

Step 2: Select the T4 file with continuation tax slips, then select Modify. 

Step 3: Delete the Transmitted Date, then select OK.

Additional Information
Take note of the tax slip groups in the XML Data file. You’ll need this information to recreate the file. 

Step 4: Select the Slip, then select Delete. 

Step 5: Open Generate T4 XML Data in the Avanti Desktop Application.
By default, this can be found in Canadian Payroll >> Tax Slip Processing >> Generate Transmission Media.

Step 6: Recreate the file by selecting the correct tax slip groups.

Additional Information
This should be recreated as an original file since the CRA hasn’t accepted your previously submitted file. Ensure All is selected for the file. 

For all the information on creating XML files, go to Create Tax Slip Transmission Files for CRA or MRQ.

Step 7: Select OK to generate the file in the database.

Step 8: Select Yes to save the new file to your network, then navigate to the file location and save the file.

Update the XML File

Step 1: Find your T4 XML file in your folders and open it in Notepad.
Additional Information 
Typically, right-click and selecting Edit will open in Notepad. 

Step 2: Under Edit, select Find.

Step 3: Enter <slp_cnt>in Find What, then select Find Next.

Additional Information 
You should now be at the <slp_cnt> line, which appears similar to: 

Step 4: Replace the number with the correct number found in Step 3 of Confirm Whether there are Continuation T4 Tax Slips. 

Additional Information 
Please don’t add any spaces, and be careful not to affect the markup symbols > & < on either side of the number. 

Step 5: Repeat Steps 3 and 4 if there is more than one summary in the same file.

Step 6: Once you’re done making changes, save the file and exit.

Additional Information 
You can re-open the file to confirm changes saved as expected. 

Step 7: Open Validate T4 and RL XML Files, then select the XML file location in XML File to Validate.

Step 8: Select Validate XML. A message will confirm whether errors are found.

Step 9: Repeat for each T4 with continuation slips.

Contact the CRA

Alternatively, you can contact the CRA, 1 800 959 5525 and request your file to pass verification. You’ll need the submission ID you created the file with - this is displayed in Maintain Tax Slip XML Data Files.

E
Elizabeth is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.