 <?xml version="1.0" encoding="utf-8"?>
<efile:Efile 
xsi:schemaLocation="http://www.cra-arc.gc.ca/xmlns/efile/2016/1-0-0 efile.xsd" 
xmlns:ccms="http://www.cra-arc.gc.ca/xmlns/ccms/1-1-0" 
xmlns:comm="http://www.cra-arc.gc.ca/xmlns/comm/2016/1-0-0" 
xmlns:ef="http://www.cra-arc.gc.ca/xmlns/ef/2016/1-0-0" 
xmlns:sdt="http://www.cra-arc.gc.ca/xmlns/sdt/2-2-0" 
xmlns:sfd="http://www.cra-arc.gc.ca/xmlns/sfd/2016/1-0-0" 
xmlns:t1="http://www.cra-arc.gc.ca/xmlns/t1/2016/1-0-0" 
xmlns:t1135="http://www.cra-arc.gc.ca/xmlns/t1135/2016/1-0-0" 
xmlns:efile="http://www.cra-arc.gc.ca/xmlns/efile/2016/1-0-0" 
xmlns:tp="http://www.cra-arc.gc.ca/xmlns/tp/2016/1-0-0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    <efile:T1Efile>
        <t1:T1Return>
            <comm:SoftwareID>$$(swcode)</comm:SoftwareID>
            <comm:SoftwareRevisionDate>$$(swrevdate)</comm:SoftwareRevisionDate>
            <t1:TaxpayerData>
                <tp:TaxpayerBasicData>
                    <tp:TaxpayerSocialInsuranceNumber>$$(sin)</tp:TaxpayerSocialInsuranceNumber>
                    <tp:TaxYear>$$(taxyear)</tp:TaxYear>
                    <tp:TaxpayerBirthDate>$$(bdate)</tp:TaxpayerBirthDate>
                    <tp:TaxpayerMaritalStatusCode>$$(marital)</tp:TaxpayerMaritalStatusCode>
                    <tp:SelfEmployedSpouseDeadlineIndicator>$$(spouseselfemp0)</tp:SelfEmployedSpouseDeadlineIndicator>
                </tp:TaxpayerBasicData>
                <tp:TaxpayerResidenceData>
                    <tp:TaxpayerYearEndResidenceProvinceCode>$$(taxprov)</tp:TaxpayerYearEndResidenceProvinceCode>
                    <tp:TaxpayerCurrentResidenceProvinceCode>$$(resprov0)</tp:TaxpayerCurrentResidenceProvinceCode>
					<tp:FirstNationIdentificationIndicator>$$(firstnationIDInd0)</tp:FirstNationIdentificationIndicator>
					<tp:NWTFirstNationResidencyCode>$$(NWTFirstNationResCode0)</tp:NWTFirstNationResidencyCode>
					<tp:YukonFirstNationsSettlementNumber>$$(ytfirstnation0)</tp:YukonFirstNationsSettlementNumber>
					<tp:AboriginalLandResidenceIndicator>$$(AborLandResidence0)</tp:AboriginalLandResidenceIndicator>
					<tp:ProvinceOfResidenceEffectiveDate>$$(dateofmove0)</tp:ProvinceOfResidenceEffectiveDate>
					<tp:ImmigrantEntryDate>$$(EntryDate0)</tp:ImmigrantEntryDate>
                </tp:TaxpayerResidenceData>
				<tp:TaxpayerSpouseData>$$(tpTaxpayerSpouseData0)</tp:TaxpayerSpouseData>
                <tp:TaxpayerContactData>
                    <comm:TaxpayerName>
                        <comm:GivenName>$$(firstname)</comm:GivenName>
                        <comm:FamilyName>$$(lastname)</comm:FamilyName>
                    </comm:TaxpayerName>
					<tp:NameChangeIndicator>$$(namechanged0)</tp:NameChangeIndicator>
                    <tp:TaxpayerMailingAddress>
						<comm:AddressCareOfLineText>$$(careof0)</comm:AddressCareOfLineText>
                        <comm:CanadianMailingAddress>
                            <comm:AddressStreetText>$$(street)</comm:AddressStreetText>
                            <comm:AddressMunicipalityName>$$(city)</comm:AddressMunicipalityName>
                            <comm:AddressProvinceCode>$$(prov)</comm:AddressProvinceCode>
                            <comm:AddressPostalCode>$$(postcode)</comm:AddressPostalCode>
                        </comm:CanadianMailingAddress>
						<tp:HomeAddressSameAsMailingAddressIndicator>$$(homeaddrsamemailaddr0)</tp:HomeAddressSameAsMailingAddressIndicator>
                    </tp:TaxpayerMailingAddress>
                    <tp:TaxpayerHomeTelephoneNumber><comm:TelephoneAreaCode>$$(areacode0)</comm:TelephoneAreaCode>
                        <comm:TelephoneLocalNumber>$$(phone0)</comm:TelephoneLocalNumber></tp:TaxpayerHomeTelephoneNumber>
                    <tp:TaxpayerEmailAddress>$$(email0)</tp:TaxpayerEmailAddress>                        
                    <tp:AlternateAddressAuthorizationCode>$$(authcode)</tp:AlternateAddressAuthorizationCode>
                    <tp:CorrespondenceLanguageCode>$$(language)</tp:CorrespondenceLanguageCode>
                </tp:TaxpayerContactData>
            </t1:TaxpayerData>
            <t1:RelatedProgramData>
                <t1:CanadianCitizenshipIndicator>$$(citizen)</t1:CanadianCitizenshipIndicator>
                <t1:ElectionsCanadaAuthorizationIndicator>$$(elecanauth0)</t1:ElectionsCanadaAuthorizationIndicator>
                <t1:GSTHSTCreditApplicationIndicator>$$(gstcredit0)</t1:GSTHSTCreditApplicationIndicator>
            </t1:RelatedProgramData>
