Free T5018 XML generator for CRA

If your business's primary activity is construction, you report the payments you made to subcontractors for construction services on the T5018 Statement of Contract Payments: a T5018 slip for each subcontractor and a T5018 Summary. The return is due within 6 months after the end of your reporting period, which can be the calendar year or your fiscal period. TaxXML turns the T5018 spreadsheet you already have into the XML file CRA accepts through Internet File Transfer (IFT), in your browser, for free.

Information and a conversion tool, not advice

TaxXML provides information and a conversion tool only. It is not tax, legal, or accounting advice. CRA specifications change, so always verify the requirements, and your files, against the CRA's official XML specifications for information returns before you file.

Open the free T5018 converter

What a T5018 XML file is

A T5018 XML file is one <Submission> with two parts:

You upload the file to IFT, which checks it against CRA's XML schema. Electronic filing is required once you file more than 5 slips of a type in a calendar year. Below that, it is optional but still accepted.

CRA XML specifications in plain terms

TaxXML follows schema 1-26-3: T619 2026 for the transmitter record and T5018 2026V3 for the return. The elements you will see most:

The full rules are on CRA's site: XML specifications for information returns and the T619 2026 specification.

How to make a T5018 XML file in 3 steps

  1. Pick T5018 and open your spreadsheet. Choose T5018 in Step 1 of the converter, then open the .xlsx or .csv with one row per subcontractor. Not sure how to lay it out? Download the T5018 sample spreadsheet.
  2. Check the columns and fill in the filing details. TaxXML matches your headers to CRA fields. Fix any it missed, then enter the transmitter and payer details and the end date of your reporting period. Those are saved in this browser for next time.
  3. Generate and download. Problems are listed by row and column before anything downloads. Then upload the XML to IFT signed in with My Business Account, Represent a Client, or a web access code (WAC).

Convert my T5018 spreadsheet

Common reasons CRA rejects a T5018 XML file

Other free CRA XML returns

The same converter handles these. Pick the return in Step 1:

T5018 XML questions

When is the T5018 return due?

Within 6 months after the end of your reporting period. You can report on a calendar-year basis or on your fiscal period, and the deadline counts from the end of the period you chose.

Do I have to file T5018 slips electronically?

Yes, if you file more than 5 T5018 slips for a calendar year. CRA requires electronic filing above that number. Internet File Transfer with an XML file is one of the accepted ways.

Which CRA XML schema does TaxXML use for T5018?

CRA XML schema 1-26-3: T619 2026 and T5018 2026V3. It also follows CRA's rule that empty optional tags must be left out, because IFT rejects them.

Is my data uploaded anywhere?

No. The spreadsheet is read and the XML is built in your browser. TaxXML does not send the file to a server or to CRA. You upload it to Internet File Transfer yourself. See Privacy.

How do I fix a T5018 that CRA already accepted?

File an amendment: set Report Type to Amendment (A) and include only the slips that changed, each one complete. Use a new Submission Reference ID. Do not send a second original.

Is it really free?

Yes. No signup, no per-slip fee, no email required.