Atrieve Finance

T4A XML Creation Process

The T4A XML Creation Process allows you to generate the XML file for submission to CRA.

Since CRA will Not accept an XML file that fails validation, atrieveERP has modified Register Selection to include a Pre-Validation Report that is automatically appended to the original report.  This will allow you to identify any invalid data that will be rejected when the XML file is passed through the schema.  (Note:  All Canadian Provinces and US States must have valid Province/State Codes and Postal/Zip Codes.  Social Insurance Numbers must be valid, and names complete).

Use the results of the Pre-Validation Report to fix any errors before your transmission.  Since CRA can change the schema without notice, please verify with the CRA website to make sure you have the latest version.  
Once the process has completed, the number of T4A slips generated will be displayed for verification and include the internal submission reference identification numbers used.  The internal submission reference identification number is a unique number that allows you to identify each submission file sent to CRA.  CRA may refer to this value when contacting you about the contents of the XML file.  

The XML file is generated from the values of the CRA Electronic File T4AYYYY.TAP. The location of the electronic files and the newly created XML file is defined by the logical SRB$BASWRK0.

Enter Taxation Year

  • Enter the 4 digit applicable taxation year. The year entered will determine which T4AYYYY.TAP file is to be used as the source of the XML file to be created.

Enter XML File Name

A default file name is supplied.  T4AYYYY_001.XML, where YYYY is the taxation year.

CRA requires the XML file name to use a file extension of XML and that the last 3 positions of the file name be 001 for the first submission.  If you send a second submission you would change the 001.XML to 002.XML.