This process allows organizations to report to the Canadian government, from the employees' YTD information, according to the government defined requirements and to generate the Magnetic Media files for this reporting.
New for 2018
An amendment reason explanation tag has been added at the Summary level for the following form types: T4, T4A, T4A-NR, T4RSP, T4RIF, T4E, T4AP, T4OAS, T1204, PRPP, T5, T5007, T5008, T5013, T5018, T3, NR4, TFSA, RRSP. The tag is not mandatory and is intended allow a filer to provide a brief explanation for the amendments within the file, up to 1309 characters.
https://www.canada.ca/en/revenue-agency/services/e-services/filing-information-returns-electronically-t4-t5-other-types-returns-overview/filing-information-returns-electronically-t4-t5-other-types-returns-what-you-should-know-before.html#xmlspcs
For 2017 reporting, T4 (14) Form Layout is used.
https://www.canada.ca/content/dam/cra-arc/migration/cra-arc/E/pbg/tf/t4/t4flat-14b.pdf
The latest T4 form (14) has no changes in alignment from lat year's form. For Oracle reports, users must run all Government Form Print programs (i.e. RPT4, RPT4A, RPT4ANR, RPNR4, RPRL1, RPRL2) and send the report to PDF file instead of to the Previewer. All Form Print programs are aligned with the government forms in PDF format and allow you to adjust the parameters for 'Top Margin' and the 'Between Form Space' when generating the PDF file. Once the PDF file is generated, you do not need to adjust the page setup when printing.
Please download CRA 2017 XML Schema from:
http://www.cra-arc.gc.ca/esrvc-srvce/rf/hwfl-eng.html
T4A Form
For 2017 reporting, the T4A(17) Form Layout is used.
https://www.canada.ca/content/dam/cra-arc/migration/cra-arc/E/pbg/tf/t4a/t4a-17e.pdf
https://www.canada.ca/content/dam/cra-arc/migration/cra-arc/E/pub/tg/rc4157/rc4157-17e.pdf
Please download CRA 2017 XML Schema from:
http://www.cra-arc.gc.ca/esrvc-srvce/rf/hwfl-eng.html
RPREGT
IDFD
IDFDV
RDFD
IDIF
RDIF
RPYEC
IPGR
IPGH
RPGRC
Form Print
RMEX
UPGRUNDO
High Line provides seed data scripts to our clients with the Year End software release to load in the IDFD Form Code SEED_IDFD_HL$CAN_T4_YYYY.sql.
Example: Users can reference pay components, elements, database items, etc. For more information regarding the possible sources, refer the Field Descriptions table below.
Users should only work with the 'Field Source' and 'Field Variable' columns. The Derivation Expression field can be used by advanced users or under the guidance of a High Line consultant.
Please refer to Revenue Canada for a clearer and more in depth description of the appropriate method to complete your forms. Users should read the following Form Descriptions and refer to the ‘Employer’s Guide – Filing T4 Slip and Summary 2017 (RC4120)’ prior to setting up IDFDV form.
Field | Desciption |
---|---|
Identifer | This value defaults in from the IDFD form and shows the relevant box on the T4 form or stored on the file. |
Seq # | Defines the sequence number of the Identifier |
Description | This value defaults in from the IDFD form and displays the corresponding T4 Form Box description form or stored on the file. |
Level | Defaults from the IDFD form, displays the Level (Federal, State, Employer, etc.) that is being reported on for forms/media file. |
O/R Prompt | Displays the user-defined text (prompt) to print on the Summary Reports. These user-defined terms are not all used on the T4 forms but are all used on the summary reports. |
Source | Defines the source of the variable data to report on the T4 from. The Source defines the Field Variables that will be available. Options are: * Constant: Input a character string, such as the company name. Manual data entry * Database column: Choose from a list of Data Base fields available * Statistic: Choose from a list of Statistics from IDSC * Pay Component: Choose from a list of Pay Components from IPPC * Element: Choose from a list of Elements from IPPE * IDGV Variable: Choose from a list of User Defined fields defined for the Government Registration (IDGV) form |
Field Variable | Defines the relevant value for the record from the LOV previously defined in the Source field. |
Field Usage | This value defaults in from the IDFD form and defines where this record will be used. Options are: Form only, File only or Form and File. |
Text | Defaults in from the IDFD form, help/explanation text for the field. |
Derivation Expression | Used to format the information so that it is presented as required. Example: Users can show all of the information in upper case. This is where a string formula would be defined. |
Descriptions and Suggestions
Users should read the following prior to setting up the IDFDV form:
IDFD FORM: HL$CAN-T4-YYYY - supplied by system IDFD FORM TYPE: CDN T4 Definition - defines the T4 definition is used
Field Identifier | Description | Suggested Field Source | Suggested Variable |
---|---|---|---|
T4-ER-NAME | Employer Name | Data Base Column | DED.ENTITY_NAME |
T4-ER-NAME2 | Employer Name Line 2 | Data Base Column | DED.ENTITY_NAME, optional |
T4-ER-CAREOF | Employer Name (care of) | Data Base Column | optional |
T4-ER-ADDR1 | Employer Address Line 1 | Data Base Column | DLN.ADDRESS_LINE_1 |
T4-ER-ADDR2 | Employer Address Line 2 | Data Base Column | DLN.ADDRESS_LINE_2 |
T4-ER-ADDR3 | Employer City | Data Base Column | DLN.LOCALITY |
T4-ER-ADDR4 | Employer Province | Data Base Column | DSP.STATE_PROVINCE_CODE |
T4-ER-ADDR5 | Employer Country | Data Base Column | DCO.COUNTRY_CODE |
T4-ER-POSTAL | Employer Postal Code | Data Base Column | DLN.ZIP_POSTAL |
T4-ER-MAG-PROV | Employer Prov for Mag File | Constant | blank |
T4-ER-MAG-CNTRY | Employer Country for Mag File | Constant | blank |
T4-ACCT-NAME | Accounting contact name | Constant | Enter your company data |
T4-ACCT-TEL-AREA | Accounting contact tel area code | Constant | Enter your company data |
T4-ACCT-TEL | Accounting contact telephone | Constant | Enter your company data |
T4-ACCT-TEL-EXT | Accounting contact tel extn | Constant | Enter your company data |
T4-ACCT-LANG | Accounting contact Language | Constant | E |
T4-REGIST-PEN1 | Registered pension plan number 1 | Constant | Enter your company data |
T4-REGIST-PEN2 | Registered pension plan number 2 | Constant | Enter your company data |
T4-REGIST-PEN3 | Registered pension plan number 3 | Constant | Enter your company data |
T4-REGIST-PEN4 | Registered pension plan number 4 | Constant | Enter your company data |
T4-REGIST-PEN5 | Registered pension plan number 5 | Constant | Enter your company data |
T4-PROP1-SIN | Proprietor #1 SIN | Constant | Enter your company data |
T4-PROP2-SIN | Proprietor #2 SIN | Constant | Enter your company data |
T4-YOUTH-IND | Youth Hires Program Indicator | Constant | 1 |
T4-EE-NAME1 | Employee Surname | Data Base Column | EID.LAST_NAME |
T4-EE-NAME2 | Employee First Name | Data Base Column | EID.FIRST_NAME |
T4-EE-NAME3 | Employee Middle Initial | Data Base Column | EID.MIDDLE_NAME |
T4-EE-ADDR1 | Employee Address Line 1 | Constant | EPS.ADDRESS_LINE_1 |
T4-EE-ADDR2 | Employee Address Line 2 | Constant | EPS.ADDRESS_LINE_2 |
T4-EE-ADDR3 | Employee City | Constant | EPS.LOCALITY |
T4-EE-ADDR4 | Employee Province | Constant | DSP.STATE_PROVINCE_CODE |
T4-EE-ADDR5 | Employee Country | Constant | DCP.COUNTRY_CODE |
T4-EE-POSTAL | Employee Postal Code | Constant | EPS.ZIP_POSTAL |
T4-EE-MAG-PROV | Employee Prov for Mag File | Constant | blank |
T4-EE-MAG-CNTRY | Employee Country for Mag File | Constant | blank |
T4-BOX-SIN | Social Insurance Number | Data Base Column | EID.GOVERNMENT_CODE |
T4-EE-DISTR | Print Distribution on T4 form | Constant | blank or 1 If 1, print employee distribution |
T4-EE-DESTIN | Print Pay Destination | Constant | blank or 1 If 1, the employee destination is concatenated to employee distribution for printing purposes |
T4-EE-DISTR1 | Employee Distribution 1 | Data Base Column | PPA.PAYROLL_CODE |
T4-EE-DISTR2 | Employee Distribution 2 | Data Base Column | EID.PERSON_CODE |
T4-BOX-14 | Employment Income | Element | T4-BOX-14 |
T4-BOX-16 | Employee's CPP contribution | Element | T4-BOX-16 |
T4-BOX-16-ER | Employer's CPP contribution | Element | T4-BOX-16-ER |
T4-BOX-17 | Employee's QPP contribution | Element | T4-BOX-17 |
T4-BOX-17-ER | Employer's QPP contribution | Element | T4-BOX-17-ER |
T4-BOX-18 | Employee's EI Premiums | Element | T4-BOX-18 |
T4-BOX-18-ER | Employer's EI Premiums | Element | T4-BOX-18-ER |
T4-BOX-20 | RPP contributions | Element | T4-BOX-20 |
T4-BOX-22 | Federal Income Tax deducted | Element | T4-BOX-22 |
T4-BOX-24 | EI Insurable Earnings | Element | T4-BOX-24 |
T4-BOX-24-PRT | EI Insurable Earnings Printed | Not specified | Information only, do not set up this identifier |
T4-BOX-26-CPP | CPP Pensionable Earnings | Element | T4-BOX-26-CPP |
T4-BOX-26-QPP | QPP Pensionable Earnings | Element | T4-BOX-26-QPP |
T4-BOX-26-EXCEPT | CPP/QPP Excepted Earnings | Element | T4-BOX-26-EXCEPT |
T4-BOX-26-OTHER | CPP/QPP Other Earnings | Element | T4-BOX-26-OTHER |
T4-BOX-26-PRT | CPP/QPP Earnings Printed | Not specified | Information only, do not set up this identifier |
T4-BOX-28-CPP-PRT | CPP Exempt Indicator | Not specified | Information only, do not set up this identifier |
T4-BOX-28-QPP-PRT | QPP Exempt Indicator | Not specified | Information only, do not set up this identifier |
T4-BOX-28-EI-PRT | EI Exempt Indicator | Not specified | Information only, do not set up this identifier |
T4-BOX-28-PPIP-PRT | PPIP Exempt Indicator | Not specified | Information only, do not set up this identifier |
T4-BOX-29-PRT | Employment Code | Not specified | Information only, do not set up this identifier |
T4-BOX-44 | Union Dues | Element | T4-BOX-44 |
T4-BOX-44-PRT | Union Dues Printed | Not specified | Information only, do not set up this identifier |
T4-BOX-46 | Charitable Donations | Element | T4-BOX-46 |
T4-BOX-50-REG1 | RPP Registration Number 1 | Data Base Column | constant, must be numeric |
T4-BOX-50-REG2 | RPP Registration Number 2 | Data Base Column | constant, must be numeric |
T4-BOX-50-REG3 | RPP Registration Number 3 | Data Base Column | constant, must be numeric |
T4-BOX-50-REG4 | RPP Registration Number 4 | Data Base Column | constant, must be numeric |
T4-BOX-50-REG5 | RPP Registration Number 5 | Data Base Column | constant, must be numeric |
T4-BOX-50-RPP1 | RPP Amount 1 | Element | T4-BOX-50-RPP1 |
T4-BOX-50-RPP2 | RPP Amount 2 | Element | T4-BOX-50-RPP2 |
T4-BOX-50-RPP3 | RPP Amount 3 | Element | T4-BOX-50-RPP3 |
T4-BOX-50-RPP4 | RPP Amount 4 | Element | T4-BOX-50-RPP4 |
T4-BOX-50-RPP5 | RPP Amount 5 | Element | T4-BOX-50-RPP5 |
T4-BOX-50-PRT | RPP or DPSP Plan Number Printed | Not specified | Information only, do not set up this identifier |
T4-BOX-52 | Pension Adjustment | Element | T4-BOX-52 |
T4-BOX-55 | PPIP Employee Premium | Element | T4-BOX-55 |
T4-BOX-55-ER | PPIP Employer Premium | Element | T4-BOX-55-ER |
T4-BOX-56 | PPIP Insurable Earnings | Element | T4-BOX-56 |
OTHER-30 | Housing, Board and Lodging | PC or Element | T4-BOX-OTH-30 |
OTHER-31 | Special work site | PC or Element | T4-BOX-OTH-31 |
OTHER-32 | Travel in prescribed zone | PC or Element | T4-BOX-OTH-32 |
OTHER-33 | Medical travel | PC or Element | T4-BOX-OTH-33 |
OTHER-34 | Personal use of employer auto | PC or Element | T4-BOX-OTH-34 |
OTHER-35 | Reasonable KM allowance | PC or Element | T4-BOX-OTH-35 |
OTHER-36 | Interest free loan | PC or Element | T4-BOX-OTH-36 |
OTHER-37 | Home relocation loan deduction | PC or Element | T4-BOX-OTH-37 |
OTHER-38 | Stock option benefits | PC or Element | T4-BOX-OTH-38 |
OTHER-39 | Stock option 110(1)(d) | PC or Element | T4-BOX-OTH-39 |
OTHER-40 | Other Taxable benefits | PC or Element | T4-BOX-OTH-40 |
OTHER-41 | Stock option 110(1)(d.1) | PC or Element | T4-BOX-OTH-41 |
OTHER-42 | Employment Commissions | PC or Element | T4-BOX-OTH-42 |
OTHER-53 | Deferred stock option benefits | PC or Element | T4-BOX-OTH-53 |
OTHER-70 | Officer expense allowance | PC or Element | T4-BOX-OTH-70 |
OTHER-71 | Status Indian employee | PC or Element | T4-BOX-OTH-71 |
OTHER-72 | Section 122.3 income | PC or Element | T4-BOX-OTH-72 |
OTHER-73 | Number of days outside Canada | PC or Element | T4-BOX-OTH-73 |
OTHER-74 | Pre 1990 Past Serv-Contributor | PC or Element | T4-BOX-OTH-74 |
OTHER-75 | Pre 1990 Past Serv-Not Contributor | PC or Element | T4-BOX-OTH-75 |
OTHER-77 | Workers Compensation repaid | PC or Element | T4-BOX-OTH-77 |
OTHER-78 | Fishers Gross earnings | PC or Element | T4-BOX-OTH-78 |
OTHER-79 | Fishers Net partnership amt | PC or Element | T4-BOX-OTH-79 |
OTHER-80 | Fishers Shareperson amt | PC or Element | T4-BOX-OTH-80 |
OTHER-81 | Placement Agency Earnings | PC or Element | T4-BOX-OTH-81 |
OTHER-82 | Drivers Earnings | PC or Element | T4-BOX-OTH-82 |
OTHER-83 | Barbers Earnings | PC or Element | T4-BOX-OTH-83 |
OTHER-84 | Public Transit Pass | PC or Element | T4-BOX-OTH-84 |
OTHER-85 | EE prem private health plan | PC or Element | T4-BOX-OTH-85 |
OTHER-86 | Security Options selections | PC or Element | T4-BOX-OTH-86 |
OTHER-87 | Emergency services volunteer exempt amount | PC or Element | T4-BOX-OTH-87 |
OTHER-88 | Indian (exempt income) | PC or Element | T4-BOX-OTH-88 |
OTHER-97 | Stock option benefit-before Feb 28, 2000 | PC or Element | T4-BOX-OTH-97 |
OTHER-98 | Stock dedn 110(1)(d)-before Feb 28, 2000 | PC or Element | T4-BOX-OTH-98 |
OTHER-99 | Stock dedn 110(1)(d.1)-before Feb 28, 2000 | PC or Element | T4-BOX-OTH-99 |
SUB-REF-ID | Submission Reference ID | Constant | Unique number for each filing |
FILE-TYPE-CODE | Transmitter Type Code | Constant | Constant '904' for T4 |
FILE-DATA-TYPE | Data Type Code | Constant | 1 |
FILE-TRAN-NUM | Transmitter number | Constant | MM999999 |
FILE-TRAN-TYPE | Transmitter type indicator | Constant | 1 |
FILE-TRAN-NAME1 | Transmitter Name - line 1 | Constant | Enter your company data |
FILE-TRAN-NAME2 | Transmitter Name - line 2 | Constant | Enter your company data |
FILE-TRAN-ADDR1 | Transmitter Address - line 1 | Constant | Enter your company data |
FILE-TRAN-ADDR2 | Transmitter Address - line 2 | Constant | Enter your company data |
FILE-TRAN-CITY | Transmitter City | Constant | Enter your company data |
FILE-TRAN-PROV | Transmitter Province | Constant | Enter your company data |
FILE-TRAN-COUNTRY | Transmitter Country | Constant | Enter your company data |
FILE-TRAN-POSTAL | Transmitter Postal Code | Constant | Enter your company data |
FILE-CONT-NAME | Technical contact name | Constant | Enter your company data |
FILE-CONT-TEL-AREA | Technical contact tel area code | Constant | 111 |
FILE-CONT-TEL | Technical contact telephone | Constant | 2223333 |
FILE-CONT-TEL-EXT | Technical contact tel extn | Constant | 1234 |
FILE-CONT-LANG | Technical contact Language | Constant | E |
FILE-CONT-EMAIL | Contact E-mail address | Constant | Enter your company data |
NOTE: Use UPPER(~) to convert an alphanumeric field to compare all upper case letters.
If a user has a complex situation to exclude an employee, a STAT CODE can be used to indicate the employee should be excluded.
Example: An employee is excluded when they work in certain groups, or with certain hours. Users can keep track of this by setting the STAT CODE value to 1.00.
Then on IDFDV, set up the following for the EXCLUDE-EE Identifier:
If a user wants to use the Employer Mailing Address, the user needs to define the following Identifiers:
Seq | Field Identifier | Description | Field Variable |
---|---|---|---|
1220 | T4-ER-ADDR1 | Employee Address Line 1 | |
1230 | T4-ER-ADDR2 | Employee Address Line 2 | Blank |
1240 | T4-ER-ADDR3 | Employee City | Blank |
1250 | T4-ER-ADDR4 | Employee Province | Blank or constant NAME |
1260 | T4-ER-ADDR5 | Employee Country | Blank or constant NAME |
1270 | T4-ER-POSTAL | Employee Postal Code | BLANK |
1280 | T4-ER-MAG-PROV | Employee Prov for Mag File | Blank |
1290 | T4-ER-MAG-CNTRY | Employee Country for Mag File | Blank |
Employee Address
If a user wants to use the Employee Primary Address, the user does not need to set up the 2100 – 2170 Identifiers. Leave these Identifiers blank and the system will use the Primary Address as the default.
If a user wants to use the Employee Mailing Address, the user needs to set up the following Identifiers:
Seq | Field Identifier | Description | Field Variable |
---|---|---|---|
2100 | T4-EE-ADDR1 | Employee Address Line 1 | |
2110 | T4-EE-ADDR2 | Employee Address Line 2 | Blank |
2120 | T4-EE-ADDR3 | Employee City | Blank |
2130 | T4-EE-ADDR4 | Employee Province | Blank or constant NAME |
2140 | T4-EE-ADDR5 | Employee Country | Blank or constant NAME |
2150 | T4-EE-POSTAL | Employee Postal Code | BLANK |
2160 | T4-EE-MAG-PROV | Employee Prov for Mag File | Blank |
2170 | T4-EE-MAG-CNTRY | Employee Country for Mag File | Blank |
Field | Desciption |
---|---|
Form Code | Mandatory. Form Code that is defined on the IDFDV form. NOTE: Always use current year form code. DO NOT use a prior year form code as the Identifiers may be obsolete. For 2017-2018 reporting, the current year form code contains the Store Option field to store the Employer Addresses, Employee Addresses and Amounts in the government remittance tables, which can be viewed on the IPGR or IPGH forms. |
Period Type | Enter the Year for Annual Reporting |
Period End Date | Enter the Year Ending Date |
As of Date | The start date of the reporting period |
Govt Form Option | Mandatory. Defines the type of form to be run. Options are: * 01: New Forms only * 02: All normal forms * 03: Duplicte forms * 04: Amended forms * 05: Rejected forms * 06: Cancelled forms |
Retain Amend/Reject Forms | Should the original forms be retained when issuing an amended or replacement form that was rejected by the Government? |
Sort Level By | Mandatory. How should the employees be grouped for sorting? |
Sort People By | Mandatory. How should the employees on the report be sorted? |
Sort Active/Inactive | Mandatory. Should the employees on the report be sorted by their status? |
Combine Fed Regist | Should all the selected Federal Registrations reporting be combined? If a Province code is defined in the report filters, users can combine the Fed Registration Numbers with the Prov Registration Numbers so that employees are grouped together for the same Prov Registration Numbers. |
Directory Name | The name of the directory where the government Magnetic Media file will be stored. |
File Name | The name of the government Magnetic Media file |
Trace Level | Users should always run RPYEC with the Trace Level set to Exceptions Only for all employees. If there is problem in RPYEC and a user needs to determine which employee has the problem, the user should run RPYEC with the Trace Level set to Program Trace. This will print a list of processed employees to determine which employee has the problem. When the Trace Level is set to Program Trace, the Select Statements for Federal, State and Local levels are also written as Trace messages. Users can review the select statements by running RMEX for the RPYEC Execution ID. After determining which employee has the problem, users should run RPYEC for one employee with the Trace Level set to Utility Trace to determine the problem in detail. |
Regist/Set Up Audit | Option to print exceptions that may exist from set up. Options are: * 00:Do not print, run * 01: Print, do not run * 02: Print and Run * 03: Excp and run |
Print Employee Detail | Option to print the report with employee’s detailed information |
Trial Print Only | Defines if the Print Stage field on the IPGH form will be updated when the T4s are printed. When set to Yes, the field will not be updated. When set to No, the Print Stage will be changed to Forms Printed. |
Create Trace File | To generate trace files. One file is for dynamic SQL Select statement, the other is a comma delimited spreadsheet to display all trace messages. |
Create Data Dump | When set to Yes, the RPYEC process will generate data dump files with a .csv extension for the Federal information. Users can open these data dump files in Excel for debugging and balancing purposes. |
Process Remittance | To generate monthly remittances |
Update Remittance | To update monthly remittances |
Field | Desciption |
---|---|
Entity | To define and report on a specific Entity |
Federal Regist Set | To define and report on a specific Federal Registration Set (on IDGV) |
Federal Regist Number | Employer Identification Number (on IDGV) |
People List | This field limits the process to the people in the defined list. |
Person | Person Code of employee you are testing with |
Prov Regist Set | To define and report on a specific Provincial Registration Set (on IDGV). Not required for Annual reporting. |
Prov Regist Numbers | To define and report on a specific Province Registration Number. |
Notes for RPYEC
Users should run the RPGRC process to generate the:
Each RPGRC run generates one GVT Run (Government Run Number). All employees processed by the RPGRC run belong to this GVT Run Number.
After RPGRC is run, users can go into the IPGR form to view the details by GVT Run number.
On the IPGR form, the employee’s detail government reporting information can be viewed. Alternately, users can go directly to the IPGH (Government Header) form by employee to view this information.
Users can process many RPGRC runs for different sets of employees. This generates multiple GVT Run Numbers.
At the end of each run, the RPGRC process removes any GVT Run Number that does not have GVT Headers associated with it.
Once the government xml file is generated, it is ready for an xml parser validation prior to sending the file to the government.
Field | Description |
---|---|
Form Code | Mandatory. Form Code that is defined on the IDFDV form. NOTE: Always use current year form code. DO NOT use a prior year form code as the Identifiers may be obsolete. For 2017-2018 reporting, the current year form code contains the Store Option field to store the Employer Addresses, Employee Addresses and Amounts in the government remittance tables, which can be viewed on the IPGR or IPGH forms. |
Govt Interface Format | Enter HL$CAN-T4-YYYY This Interface Format is defined on the IDIF form and is provided in our software |
Period Type | Enter the Year for Annual Reporting |
Period End Date | Enter the Year Ending Date |
As of Date | The start date of the reporting period |
Govt Form Option | Mandatory. Defines the type of form to be run. Options are: * 01: New Forms only * 02: All normal forms * 03: Duplicte forms * 04: Amended forms * 05: Rejected forms * 06: Cancelled forms |
Sort Level By | Mandatory. How should the employees be grouped for sorting? |
Sort People By | Mandatory. How should the employees on the report be sorted? |
Sort Active/Inactive | Mandatory. Should the employees on the report be sorted by their status? |
Directory Name | The name of the directory where the government Magnetic Media file will be stored. |
File Name | The name of the government Magnetic Media file |
Trace Level | Users should always run RPYEC with the Trace Level set to Exceptions Only for all employees. If there is problem in RPYEC and a user needs to determine which employee has the problem, the user should run RPYEC with the Trace Level set to Program Trace. This will print a list of processed employees to determine which employee has the problem. When the Trace Level is set to Program Trace, the Select Statements for Federal, State and Local levels are also written as Trace messages. Users can review the select statements by running RMEX for the RPYEC Execution ID. After determining which employee has the problem, users should run RPYEC for one employee with the Trace Level set to Utility Trace to determine the problem in detail. |
Print Employee Detail | Option to print the report with employee’s detailed information |
Trial Print Only | Defines if the Print Stage field on the IPGH form will be updated when the T4s are printed. When set to Yes, the field will not be updated. When set to No, the Print Stage will be changed to Forms Printed. |
Create File | To generate trace files. One file is for dynamic SQL Select statement, the other is a comma delimited spreadsheet to display all trace messages. |
Field | Description |
---|---|
GVT Run Number | Enter the GVT Run Number from the RPYEC run |
Entity | To define and report on a specific Entity |
Federal Regist Set | To define and report on a specific Federal Registration Set (on IDGV) |
Federal Regist Number | Employer Identification Number (on IDGV) |
People List | This field limits the process to the people in the defined list. |
Person | Person Code of employee you are testing with |
Prov Regist Set | To define and report on a specific Provincial Registration Set (on IDGV). Not required for Annual reporting. |
Prov Regist Numbers | To define and report on a specific Province Registration Number. |
After the RPGRC process is run, the government xml file is generated and is ready for an xml parser validation prior to sending to the government. The internal xml file is generated for printing of the T4s by the RPT4 process.
For Oracle Reports, before running any reports, users must define the Destination Format as PDF on the 'Run Options' tab.
Users should run all Government Form Print programs, such as RPT4, RPT4W, RPT4AW, RPT4ANRW, RPNR4, RPRL1, RPRL2 with this setting.
All T4 Form Print programs are aligned with the government forms in the PDF format. Users can adjust the parameters for the Top Margin and the Between Form Space when generating the PDF file. Once the PDF file is generated, users will not need to adjust the Page Set up when printing.
The PDF file is generated in the working directory of your P2K path.
Write down the Execution ID of the T4 Print Program report and run RMEX to obtain a grand total report.
IMPORTANT: When printing from the pdf file, users must set the Page Sizing and Handling to “Actual Size” to print on the pre-printed government forms to avoid re-sizing of the form.
Field | Description |
---|---|
Print T4 Copy | Defines if the Employer or Employee copy will be printed. Options are: *01: Employer Copy. Prints 3 employees on one page. Use as the Employer Copy to send to government or keep for reference. *02: Employee Copy. Prints 1 employee 3 times on 1 page. Use as the Employee Copy to distribute to the employees |
Exception Level | Defines the level of detail on the exception report. Users should always run with 'Exception Only' unless for needed for tracing |
Duplicate/Amended | Optional. Defines the text to print on the T4 form to indicate if it is a 'Duplicate' or an 'Amended' copy. |
Test Form Set-Up | Allows users to test their printer set up prior to printing the actual T4 forms. High Line recommends all users should run RPT4 with this toggle set to YES to print a sample on the actual T4 form to confirm the correct margin page set up. Users should do a printer set up test each time a different printer is used. Optional |
Trial Print only | When this toggle is set to YES, users can print T4 forms for verification. When set to NO (non-trial mode), RPT4 updates the GVT Headers Govt Print Stage of the run. Optional. |
Show T4 Form | Allows users the option to print the T4s with the form set up lines. When users are running RPT4 for the actual T4 form printing, DO NOT set this toggle to ON. The downloaded form is for viewing and testing purpose only and should not be used to submit to the government or distributed to the employees. Users must print the T4s on the pre-printed forms provided by the government as these forms contain the correct wording on the back of the form. Optional. Default is NO. |
Directory Name | Defines the directory where the file will be saved. Must be the same as the RPGRC run. |
XML File Name | Defines the xml file name generated from RPGRC with the _HL.xml extension. |
Slips Per Segment | Defines how many forms to print before breaking and totaling. Users are no longer required to send in T4 Segments when filing less than 500 slips on paper forms, however, users have the option to use the T4 segments at their discretion. If a user sends in T4 slips in a bundle of 200 or other quantities, then users must define this field. Optional. |
Adjust Top Margin | Defines the adjustment spacing for the Top Margin when printing the T4 form Users should default to NULL or '00 - 0 line' adjustment to begin testing After the PDF file is generated, print one page on blank paper, align the paper with the pre-printed form and check if the alignment fits into the box If adjustment is needed, re-run RPT4 by entering the Top Margin adjustment. From Lexicon Top Margin Adjust. Optional. |
Between Form Space | Defines the adjustment spacing between 2 forms printed on the same page Users should default to NULL or '0 - 0 line space' to begin testing After the PDF file is generated, print one page on blank paper, align the paper with the pre-printed form and check if the alignment fits between 2 forms If adjustment is needed, re-run RPT4 by entering the 'Between Form Space'. From Lexicon Between Form Space Optional. |
Show Frame (Test Only) | Allows users the option to print the T4s with the form set up lines. Default is NO. When users are running RPT4 for the actual T4 form printing, DO NOT set this toggle to ON. The downloaded form is for viewing and testing purpose only and should not be used to submit to the government or distributed to the employees. Users must print the T4s on the pre-printed forms provided by the government as these forms contain the correct wording on the back of the form. |
NOTE: If the combination of Adjust Top Margin and Between Form Space pushes the Form to go over onto the next page, users should check the alignment with the actual pre-printed form and re-run RPT4 with different Top Margin and Between Form Space options.
Field | Description |
---|---|
Person Code | Optional. Person code of the employee being tested with. If a Person Code is not defined, all the employees in the xml file will be printed. |
Execution Report
Field | Description |
---|---|
Print T4 Copy | Defines if the Employer or Employee copy will be printed. Options are: *01: Employer Copy. Prints 3 employees on one page. Use as the Employer Copy to send to government or keep for reference. *02: Employee Copy. Prints 1 employee 3 times on 1 page. Use as the Employee Copy to distribute to the employees |
Exception Level | Defines the level of detail on the exception report. Users should always run with 'Exception Only' unless for needed for tracing |
Duplicate/Amended | Optional. Defines the text to print on the T4 form to indicate if it is a 'Duplicate' or an 'Amended' copy. |
Test Form Set-Up | Allows users to test their printer set up prior to printing the actual T4 forms. High Line recommends all users should run RPT4 with this toggle set to YES to print a sample on the actual T4 form to confirm the correct margin page set up. Users should do a printer set up test each time a different printer is used. Optional |
Trial Print only | When this toggle is set to YES, users can print T4 forms for verification. When set to NO (non-trial mode), RPT4 updates the GVT Headers Govt Print Stage of the run. Optional. |
Show T4 Form | Allows users the option to print the T4s with the form set up lines. When users are running RPT4 for the actual T4 form printing, DO NOT set this toggle to ON. The downloaded form is for viewing and testing purpose only and should not be used to submit to the government or distributed to the employees. Users must print the T4s on the pre-printed forms provided by the government as these forms contain the correct wording on the back of the form. Optional. Default is NO. |
Field | Description |
---|---|
GVT Run (WW Only) | Mandatory (when running Windward report only). Defines the GVT Run number to extract data from and produce the T4 form. |
Person Code | Optional. Person code of the employee being tested with. If a Person Code is not defined, all the employees in the xml file will be printed. |
Status Type | Optional. Defines the pre-defined generic statuses allowing users to categorize the employment status into a specified type. |
Execution Report
The RPT4/RPT4W Program Print Format is based on the Government published T4 (15) Form. High Line recommends using the same form version as the RPT4/RPT4W program.
If you are using other versions of the T4 form, such as T4(14), please test the RPT4/RPT4W form layout prior to printing. If the RPT4/RPT4W program does not align with the form, users should re-order the form from the government so it is the same version that the RPT4/RPT4W process is programmed for.
If the RPT4/RPT4W process cannot select any information from the xml file to print, users must run RMEX with the RPT4/RPT4W Mex ID to review any errors or exception messages to locate the problem. Typically, the problem is because of an invalid directory or file name.
If an employee loses their T4 Form, organizations can issue a duplicate copy of the T4 form.
To issue Duplicate Copies:
1. Go to the IPGH form for the employee and highlight the form to be duplicated.
2. Run RPGRC with the "GVT Form Option" set to "Duplicate forms" and the "Trial Print Only" set to Yes
3. Run RPT4/RPT4W to print the duplicate forms
If a user discovers erroneous box information on the T4 form and needs to revise the Box information, users should either correct the employee amounts or modify the IDFDV set up and then re-run the RPYEC, RPGRC and RPT4/RPT4W processes. This produces the Amended T4 form.
To issue Amended copies:
1. Update the employee’s YTD information through payroll. 2. Check the IDFDV set up and revise the box information, if necessary 3. Go to the IPGH form for the employee. Locate the form to be amended
4. Run RPGRC with the GVT Form Option set to Amended Forms
5. Run RPT4/RPT4W to print the Amended forms.
Field | Description |
---|---|
GVT Run Number | Mandatory. Users must enter at least one GVT Run Number |
Person Code | Enter one or more Person Codes. The selected Person codes within the GVT Run Numbers are processed. Optional. |
Trace Level | Users should always run this process with this field set to Exceptions Only unless required for tracing purposes. |
Trial | When set to ON, allows users to review the report for verification prior to running the undo process. In non-trial mode, UPGRUNDO removes GVT Headers and GVT Run for the qualified GVT Run. Optional. |
On the T4 Form, the last line in the Address Box is used to print the user defined distribution information for users to dsitribute the T4 forms to the employees.
Users must set up the following identifiers:
Field Identifier | Field Variable | Suggested Field Variable | |
---|---|---|---|
T4-EE-DISTR | Constant | Blank or 1 | |
T4-EE-DESTIN | Constant | Blank or 1 | |
T4-EE-DISTR1 | DED.ENTITY_CODE | ||
T4-EE-DISTR2 | EID.PERSON_CODE |
If T4-EE-DISTR = 1 (not null), the distribution will be printed below the employee address for distribution purposes, and the distribution will be visible outside the window envelope. Otherwise, the distribution will not be printed.
If T4-EE-DESTIN = 1, the employee's pay destination will be printed along with T4-EE-DISTR1 and T4-EE-DISTR2 fields.
Therefore, the logic for printing the distribution on the T4 form is:
If T4-EE-DISTR = 1, the distribution information is printed from:
Box - Year
From user defined Calendar Year YYYY
Box - Employer's Name and Address
Derived from the IDFDV form
Seq | Field Identifier | Description | Field Variable |
---|---|---|---|
1220 | T4-ER-ADDR1 | Employer Address Line 1 | |
1230 | T4-ER-ADDR2 | Employer Address Line 2 | Blank |
1240 | T4-ER-ADDR3 | Employer City | Blank |
1250 | T4-ER-ADDR4 | Employer Province | Blank or NAME |
1260 | T4-ER-ADDR5 | Employer Country | Blank or NAME |
1270 | T4-ER-POSTAL | Employer Postal Code | Blank |
1280 | T4-ER-MAG-PROV | Employer Prov for Mag File | Blank |
1290 | T4-ER-MAG-CNTRY | Employer Country for Mag File | Blank |
Box 54 - Business Number
The Business Number is derived automatically according to employee’s YTD federal government registration number from IDGV or the employee's Group IDGR form. When users are printing the 'Employee Copy', Box 54 is not printed.
Box 10 - Province of Employment
The Province of Employment is derived automatically according to employee's YTD information
Box 12 - Employee's Social Insurance Number
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-SIN | EID.GOVERNMENT_CODE |
Box - Employee's name
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-EE-NAME1 | EID.LAST_NAME |
T4-EE-NAME2 | EID.FIRST_NAME |
T4-EE-NAME3 | EID.MIDDLE_NAME |
Box - Employee's address
Derived from the IDFDV form
Seq | Field Identifier | Description | Field Variable |
---|---|---|---|
2100 | T4-EE-ADDR1 | Employee Address Line 1 | Blank or MAIL |
2110 | T4-EE-ADDR2 | Employee Address Line 2 | Blank |
2120 | T4-EE-ADDR3 | Employee City | Blank |
2130 | T4-EE-ADDR4 | Employee Province | Blank or NAME |
2140 | T4-EE-ADDR5 | Employee Country | Blank or NAME |
2150 | T4-EE-POSTAL | Employee Postal Code | Blank |
2160 | T4-EE-MAG-PROV | Employee Prov for Mag File | Blank |
2170 | T4-EE-MAG-CNTRY | Employee Country for Mag File | Blank |
Box - Last line of Employee Address
Derived from the IDFDV form
The last line in the Address Box is used to print the user defined distribution information for users to distribute the T4 forms to employees.
Field Identifier | Field Variable | Suggested Field Variable |
---|---|---|
T4-EE-DISTR | Constant | Blank or 1 |
T4-EE-DESTIN | Constant | Blank or 1 |
T4-EE-DISTR1 | DED.ENTITY_CODE | |
T4-EE-DISTR2 | EID.PERSON_CODE |
Therefore, the logic for printing the distribution on the T4 form is:
If T4-EE-DISTR = 1, the distribution information is printed from:
Box 14 - Employment Income
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-14 | T4-BOX-14 |
Box 16 - Employee's CPP Contributions
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-16 | T4-BOX-16 |
Box 17 - Employee's QPP contributions
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-17 | T4-BOX-17 |
Box 18 - Employee's EI Premiums
Derived from the IDFDV form
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-18 | T4-BOX-18 |
Box 20 - RPP Contributions
Derived from the IDFDV form
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-20 | T4-BOX-20 |
Box 22 - Income Tax Deducted
Derived from the IDFDV form
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-22 | T4-BOX-22 |
Box 24 - EI Insurable Earnings
Derived from the IDFDV form
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-24 | T4-BOX-24 |
Box 26 - CPP/QPP Pensionable Earnings
For all provinces except Quebec:
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-26-CPP | T4-BOX-26-CPP |
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-26-QPP | T4-BOX-26-QPP |
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-26-EXCEPT | T4-BOX-26-EXCEPT |
T4-BOX-26-OTHER | T4-BOX-26-OTHER |
Box 28 - Exempt (CPP-QPP and EI and PPIP)
Field Identifier |
---|
T4-BOX-28-CPP-PRT |
T4-BOX-28-QPP-PRT |
T4-BOX-28-EI-PRT |
T4-BOX-28-PPIP-PRT |
Box 29 - Employment Code
Report the appropriate code if one of the following situations applies:
11 | Placement agency - self employed |
12 | Driver of taxi or other passenger-carrying vehicle |
13 | Barber or hairdresser |
14 | Withdrawal from a prescribed salary deferral arrangement plan |
15 | Seasonal Agriculture Workers Program |
16 | Detached employee - social security agreement |
Field Identifier | |
---|---|
T4-BOX-29-PRT | This is used for the XML file only |
Box 44 - Union Dues
Derived from the IDFDV form and the IDUN form, T4 UNION DUES field
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-44 | T4-BOX-44 |
Box 46 - Charitable Donations
Derived from the IDFDV form
Field Identifier | Suggested Field Variable (Element) |
---|---|
T4-BOX-46 | T4-BOX-46 |
Box 50 - RPP or DPSP Registration Number
Derived from the IDFDV form
Field Identifier | Suggested Field Variable | Suggested Field Variable (Element) |
---|---|---|
T4-BOX-50-REG1 | Constant | |
T4-BOX-50-REG2 | Constant | |
T4-BOX-50-REG3 | Constant | |
T4-BOX-50-REG4 | Constant | |
T4-BOX-50-REG5 | Constant | |
T4-BOX-50-RPP1 | T4-BOX-50-RPP1 | |
T4-BOX-50-RPP2 | T4-BOX-50-RPP2 | |
T4-BOX-50-RPP3 | T4-BOX-50-RPP3 | |
T4-BOX-50-RPP4 | T4-BOX-50-RPP4 | |
T4-BOX-50-RPP5 | T4-BOX-50-RPP5 |
Box 52 - Pension Adjustment
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-52 | T4-BOX-52 |
Box 55 - Employee's PPIP Premiums
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-55 | T4-BOX-55 |
Box 56 - PPIP Insurable Earnings
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
T4-BOX-56 | T4-BOX-56 |
Box - Other Information
Derived from the IDFDV form
Field Identifier | Suggested Field Variable |
---|---|
OTHER-nn | T4-BOX-OTH-nn |
The government XML file layouts are provided by the government on their web site each year. High Line uses the IDIF form to define the government file as specified, in an xml format.
The IDIF layout is provided by High Line with the year end software (SEED_IDIF_HL$CAN_T4_YYYY). Users do not need to modify this form.
Users must run the RPYEC and RPGRC processes to generate the Magnetic Media file in the government XML file format. Please refer to the 'Government Reporting Procedures, Sequence' section that describes how the process is run.
Validating parser software is NOT provided by High Line. Organizations can use any third party validating parser tool.
High Line uses the XML SPY Home edition tool to validate the T4 and T4A xml files.
Employees must run the RET4 process and select the Reporting Year they want to print. The output T4 will be in a pdf format.
If an employee has chosen to receive electronic T4 forms, using either the consent WEPT4 or IEPT4 form, a paper copy is NOT printed during the RPT4 T4 printing process.
Organizations can:
Screen captures are meant to be indicative of the concept being presented and may not reflect the current screen design.
If you have any comments or questions please email the Wiki Editor
All content © High Line Corporation