%dw 2.0
var vars = {}
---

"\n&lt;TSS&gt;" ++
"\n&lt;UserID&gt;abcapi&lt;/UserID&gt;" ++
"\n&lt;Password&gt;nRX7g0o7&lt;/Password&gt;" ++
"\n&lt;Sortcode&gt;" ++  (vars.AccountRecord.Sort_Code_f__c default "") ++ "&lt;/Sortcode&gt;" ++

    "\n&lt;CostPlus&gt;" ++
        "\n&lt;Amex_Bpts&gt;" ++ (vars.AccountRecord.AMEX_Fee__c default "") ++ "&lt;/Amex_Bpts&gt;" ++
        "\n&lt;Amex_PerTran&gt;" ++ "0" ++ "&lt;/Amex_PerTran&gt;" ++
        "\n&lt;Discover_Bpts&gt;" ++ (vars.AccountRecord.Discover_Fee__c default "") ++  "&lt;/Discover_Bpts&gt;" ++
		"\n&lt;Discover_PerTran&gt;" ++ "0" ++ "&lt;/Discover_PerTran&gt;" ++
        "\n&lt;MC_Bpts&gt;" ++ (vars.AccountRecord.MC_Fee__c default "") ++ "&lt;/MC_Bpts&gt;" ++
        "\n&lt;MC_PerTran&gt;" ++ "0" ++ "&lt;/MC_PerTran&gt;" ++
        "\n&lt;Visa_Bpts&gt;" ++ (vars.AccountRecord.Visa_Fee__c default "") ++ "&lt;/Visa_Bpts&gt;" ++
        "\n&lt;Visa_PerTran&gt;" ++ "0" ++ "&lt;/Visa_PerTran&gt;" ++
	"&lt;/CostPlus&gt;" ++


	"\n&lt;Mrch&gt;" ++
		"\n&lt;ACHAdj&gt;" ++ (  vars.AccountRecord.ACH_Daily_Discount_Flag__c default "") ++  "&lt;/ACHAdj&gt;" ++
		"\n&lt;ACHDelay&gt;" ++ floor (  vars.AccountRecord.ACH_Delay__c default "0")  ++  "&lt;/ACHDelay&gt;" ++
		"\n&lt;AuthCenter&gt;" ++ (  vars.AccountRecord.Authorization_Center__c default "") ++  "&lt;/AuthCenter&gt;" ++
		"\n&lt;AuthTypeCode&gt;" ++ (  vars.AccountRecord.Auth_Type_Code_f__c default "") ++  "&lt;/AuthTypeCode&gt;" ++
		"\n&lt;BusOrg&gt;" ++ (  vars.AccountRecord.Type_Of_Business_f__c default "") ++  "&lt;/BusOrg&gt;" ++
		"\n&lt;CombACH&gt;" ++ (  vars.AccountRecord.CombACH__c default "") ++  "&lt;/CombACH&gt;" ++
		"\n&lt;Contact&gt;" ++ (  vars.AccountRecord.Authorized_Owner__c default "") ++  "&lt;/Contact&gt;" ++
		"\n&lt;CorpAddr&gt;" ++ (  vars.AccountRecord.Parent.BillingStreet default "") ++  "&lt;/CorpAddr&gt;" ++
		"\n&lt;CorpCity&gt;" ++ (  vars.AccountRecord.Parent.BillingCity default "") ++  "&lt;/CorpCity&gt;" ++
		"\n&lt;CorpFax&gt;" ++ (  vars.AccountRecord.Parent.Fax default "") ++  "&lt;/CorpFax&gt;" ++
		"\n&lt;CorpName&gt;" ++ (  vars.AccountRecord.Business_Name_legal__c[0 to 29] default "") ++  "&lt;/CorpName&gt;" ++
		"\n&lt;CorpPhone&gt;" ++ (  vars.AccountRecord.Corp_Phone__c default "") ++  "&lt;/CorpPhone&gt;" ++
		"\n&lt;CorpState&gt;" ++ (  vars.AccountRecord.Parent.BillingStateCode default "") ++  "&lt;/CorpState&gt;" ++
		"\n&lt;CorpZip&gt;" ++ (  vars.AccountRecord.Parent.BillingPostalCode default "") ++  "&lt;/CorpZip&gt;" ++
		"\n&lt;CPStatus&gt;" ++ (  vars.AccountRecord.Cost_Plus_Status__c default "") ++  "&lt;/CPStatus&gt;" ++
		"\n&lt;CreditAcctType&gt;" ++ (  vars.AccountRecord.Credit_Account_Type_f__c default "") ++  "&lt;/CreditAcctType&gt;" ++
		"\n&lt;CreditDDA&gt;" ++ (  vars.AccountRecord.Bank_Account_Number__c default "") ++  "&lt;/CreditDDA&gt;" ++
		"\n&lt;CreditTR&gt;" ++ (  vars.AccountRecord.Bank_Routing_Number__c default "") ++  "&lt;/CreditTR&gt;" ++
		"\n&lt;DBAaddr&gt;" ++ (  vars.AccountRecord.BillingStreet default "") ++  "&lt;/DBAaddr&gt;" ++
		"\n&lt;DBACity&gt;" ++ (  vars.AccountRecord.BillingCity default "") ++  "&lt;/DBACity&gt;" ++
		"\n&lt;DBACountry&gt;" ++ (  vars.AccountRecord.Country_Code_f__c default "") ++  "&lt;/DBACountry&gt;" ++
		"\n&lt;DBAFax&gt;" ++ (  vars.AccountRecord.Fax default "") ++  "&lt;/DBAFax&gt;" ++
		"\n&lt;DBAName&gt;" ++ (  vars.AccountRecord.TS_DBA_Name__c[0 to 29] default "") ++  "&lt;/DBAName&gt;" ++
		"\n&lt;DBAPhone&gt;" ++ (  vars.AccountRecord.Phone_Unformatted__c default "") ++  "&lt;/DBAPhone&gt;" ++
		"\n&lt;DBAState&gt;" ++ (  vars.AccountRecord.BillingStateCode default "") ++  "&lt;/DBAState&gt;" ++
		"\n&lt;DBAZip&gt;" ++ (  vars.AccountRecord.BillingPostalCode default "") ++  "&lt;/DBAZip&gt;" ++
		"\n&lt;DebitCPStatus&gt;" ++ (  vars.AccountRecord.Debit_Cost_Plus_Status__c default "") ++  "&lt;/DebitCPStatus&gt;" ++
		"\n&lt;DiscountType&gt;" ++ (  vars.AccountRecord.Daily_Discount_Flag_f__c default "") ++  "&lt;/DiscountType&gt;" ++
		"\n&lt;DuesAssessments&gt;" ++ (  vars.AccountRecord.Dues_and_Assessments__c default "") ++  "&lt;/DuesAssessments&gt;" ++
		"\n&lt;EMailAddr&gt;" ++ (  vars.AccountRecord.Email__c default "") ++  "&lt;/EMailAddr&gt;" ++
		"\n&lt;EnhancedCost&gt;" ++ (  vars.AccountRecord.Bill_Back_Status__c default "") ++  "&lt;/EnhancedCost&gt;" ++
		"\n&lt;HoldFlg&gt;" ++ (  vars.AccountRecord.Hold_Flag__c default "") ++  "&lt;/HoldFlg&gt;" ++
		"\n&lt;InterchangePlan&gt;" ++ (  vars.AccountRecord.Interchange_Plan_F__c default "") ++  "&lt;/InterchangePlan&gt;" ++
		"\n&lt;irsName&gt;" ++ (  vars.AccountRecord.IRS_Name__c default "") ++  "&lt;/irsName&gt;" ++
		"\n&lt;irsTaxID&gt;" ++ (  vars.AccountRecord.Federal_Tax_ID__c default "") ++  "&lt;/irsTaxID&gt;" ++
		"\n&lt;irsType&gt;" ++ (  vars.AccountRecord.IRS_Type_f__c default "") ++  "&lt;/irsType&gt;" ++
		"\n&lt;MCC&gt;" ++ (  vars.AccountRecord.MCC__c default "") ++  "&lt;/MCC&gt;" ++
		"\n&lt;MCCNotes&gt;" ++ (  vars.AccountRecord.MCC_Description__c default "") ++  "&lt;/MCCNotes&gt;" ++
		"\n&lt;MCCtype&gt;" ++ (  vars.AccountRecord.MCC_Type_f__c default "") ++  "&lt;/MCCtype&gt;" ++
		"\n&lt;MID&gt;" ++ (  vars.AccountRecord.POS_MID__c default "") ++  "&lt;/MID&gt;" ++
		"\n&lt;ParentTaxableState&gt;" ++ (  vars.AccountRecord.Location_of_Incorporation__c default "") ++  "&lt;/ParentTaxableState&gt;" ++
		"\n&lt;RollResv&gt;" ++ (  vars.AccountRecord.Rolling_Reserve__c default "") ++  "&lt;/RollResv&gt;" ++
		"\n&lt;RollResvDays&gt;" ++ (  vars.AccountRecord.Rolling_Reserve_Days__c default "") ++  "&lt;/RollResvDays&gt;" ++
		"\n&lt;SeasonalFlg&gt;" ++ (  vars.AccountRecord.Seasonal_Flag_f__c default "") ++  "&lt;/SeasonalFlg&gt;" ++
		"\n&lt;Sortcode&gt;" ++ (  vars.AccountRecord.Sort_Code__r.Sort_Code__c default "") ++  "&lt;/Sortcode&gt;" ++
		"\n&lt;StartDate&gt;" ++ (  vars.AccountRecord.Date_of_POSMA__c default "") ++  "&lt;/StartDate&gt;" ++
		"\n&lt;StmtDest&gt;" ++ "C" ++  "&lt;/StmtDest&gt;" ++
		"\n&lt;StmtInd&gt;" ++ (  vars.AccountRecord.Stmt_Delivery_Method_f__c default "") ++  "&lt;/StmtInd&gt;" ++
		"\n&lt;TaxableState&gt;" ++ (  vars.AccountRecord.BillingStateCode default "") ++  "&lt;/TaxableState&gt;" ++
		"\n&lt;URL&gt;" ++ (  vars.AccountRecord.Website default "") ++  "&lt;/URL&gt;" ++
	"\n&lt;/Mrch&gt;" ++

   	"\n&lt;OtherFees&gt;" ++
		"\n&lt;AdminAuthRate&gt;" ++ ( vars.AccountRecord.Admin_Auth_Rate__c default "") ++  "&lt;/AdminAuthRate&gt;" ++
		"\n&lt;AmexARURate&gt;" ++ "0.95" ++  "&lt;/AmexARURate&gt;" ++
		"\n&lt;AmexAuthRate&gt;" ++ ( vars.AccountRecord.Amex_Auth_Rate__c default "") ++  "&lt;/AmexAuthRate&gt;" ++
		"\n&lt;AmexDQ&gt;" ++ ( vars.AccountRecord.Data_Quality_Fee_Percent__c default "0.75") ++  "&lt;/AmexDQ&gt;" ++
		"\n&lt;AmexIF&gt;" ++ ( vars.AccountRecord.Inbound_Fee_Percent__c default "0.40") ++  "&lt;/AmexIF&gt;" ++
		"\n&lt;AmexNF&gt;" ++ ( vars.AccountRecord.Assessment_A_Fee_Percent__c default "0.15") ++  "&lt;/AmexNF&gt;" ++
		"\n&lt;AmexNSF&gt;" ++ ( vars.AccountRecord.Non_Swipted_A_Fee__c default "") ++  "&lt;/AmexNSF&gt;" ++
		"\n&lt;AmexVoiceRate&gt;" ++ "0.95" ++  "&lt;/AmexVoiceRate&gt;" ++
		"\n&lt;APFRate&gt;" ++ ( vars.AccountRecord.APF_Credit_Rate__c default "") ++  "&lt;/APFRate&gt;" ++
		"\n&lt;DebAuthRate&gt;" ++ ( vars.AccountRecord.Debit_Auth_Fee__c default "") ++  "&lt;/DebAuthRate&gt;" ++
		"\n&lt;DiscARURate&gt;" ++ "0.95" ++  "&lt;/DiscARURate&gt;" ++
		"\n&lt;DiscAuthRate&gt;" ++ ( vars.AccountRecord.Discover_Auth_Rate__c default "") ++  "&lt;/DiscAuthRate&gt;" ++
		"\n&lt;DiscDUC&gt;" ++ ( vars.AccountRecord.DUC_Fee__c default "") ++  "&lt;/DiscDUC&gt;" ++
		"\n&lt;DiscIPF&gt;" ++ "1.3" ++  "&lt;/DiscIPF&gt;" ++
		"\n&lt;DiscNAF&gt;" ++ ( vars.AccountRecord.DNAF__c default "") ++  "&lt;/DiscNAF&gt;" ++
		"\n&lt;DiscVoiceRate&gt;" ++ "0.95" ++  "&lt;/DiscVoiceRate&gt;" ++
		"\n&lt;McAcctInqRate&gt;" ++ ( vars.AccountRecord.Acct_Inq_Rate__c default "") ++  "&lt;/McAcctInqRate&gt;" ++
		"\n&lt;MCARURate&gt;" ++ "0.95" ++  "&lt;/MCARURate&gt;" ++
		"\n&lt;MCAuthRate&gt;" ++ ( vars.AccountRecord.Mastercard_Auth_Rate__c default "") ++  "&lt;/MCAuthRate&gt;" ++
		"\n&lt;McCrossBdr&gt;" ++ "1.45" ++  "&lt;/McCrossBdr&gt;" ++
		"\n&lt;McCVC2&gt;" ++ ( vars.AccountRecord.CVC2__c default "") ++  "&lt;/McCVC2&gt;" ++
		"\n&lt;McDEF&gt;" ++ ( vars.AccountRecord.DEF_Percent__c default "") ++  "&lt;/McDEF&gt;" ++
		"\n&lt;MCLocation&gt;" ++ ( vars.AccountRecord.M_Location_Fee__c default "") ++  "&lt;/MCLocation&gt;" ++
		"\n&lt;McMisuseRate&gt;" ++ "0.25" ++  "&lt;/McMisuseRate&gt;" ++
		"\n&lt;MCVoiceRate&gt;" ++ "0.95" ++  "&lt;/MCVoiceRate&gt;" ++
		"\n&lt;NABURate&gt;" ++ ( vars.AccountRecord.NABU_Rate__c default "") ++  "&lt;/NABURate&gt;" ++
		"\n&lt;VisaAPFDebitRate&gt;" ++ ( vars.AccountRecord.APF_Debit_Rate__c default "") ++  "&lt;/VisaAPFDebitRate&gt;" ++
		"\n&lt;VisaARURate&gt;" ++ "0.95" ++  "&lt;/VisaARURate&gt;" ++
		"\n&lt;VisaAuthRate&gt;" ++ ( vars.AccountRecord.Visa_Auth_Rate__c default "") ++  "&lt;/VisaAuthRate&gt;" ++
		"\n&lt;VisaFANFRate&gt;" ++ ( vars.AccountRecord.FANF_Rate__c default "") ++  "&lt;/VisaFANFRate&gt;" ++
		"\n&lt;VisaFloorLimitRate&gt;" ++ "0.2" ++  "&lt;/VisaFloorLimitRate&gt;" ++
		"\n&lt;VisaIAFRate&gt;" ++ ( vars.AccountRecord.IAF_Percent__c default "0.45") ++  "&lt;/VisaIAFRate&gt;" ++
		"\n&lt;VisaIntegrityRate&gt;" ++ ( vars.AccountRecord.Integrity_Rate__c default "") ++  "&lt;/VisaIntegrityRate&gt;" ++
		"\n&lt;VisaISARate&gt;" ++ "0.10" ++  "&lt;/VisaISARate&gt;" ++
		"\n&lt;VisaMisuseRate&gt;" ++ "0.25" ++  "&lt;/VisaMisuseRate&gt;" ++
		"\n&lt;VisaVoiceRate&gt;" ++ "0.95" ++  "&lt;/VisaVoiceRate&gt;" ++
		"\n&lt;VisaXferRate&gt;" ++ ( vars.AccountRecord.File_Transfer__c default "") ++  "&lt;/VisaXferRate&gt;" ++
	"\n&lt;/OtherFees&gt;" ++

	"\n&lt;Risk&gt;" ++
		"\n&lt;AvgTickApv&gt;" ++ ( vars.AccountRecord.Avg_Ticket_Apv__c default "") ++  "&lt;/AvgTickApv&gt;" ++
		"\n&lt;AvgTickReq&gt;" ++ "90"  ++  "&lt;/AvgTickReq&gt;" ++
		"\n&lt;ChargeBackFee&gt;" ++ ( vars.AccountRecord.Charge_Back_Fee__c default "") ++  "&lt;/ChargeBackFee&gt;" ++
		"\n&lt;CustServStmtFee&gt;" ++ ( vars.AccountRecord.Cust_Serv_Stmt_Fee__c default "") ++  "&lt;/CustServStmtFee&gt;" ++
		"\n&lt;DebitAccessCyberCash&gt;" ++ ( vars.AccountRecord.Debit_Access_CyberCash_Fee__c default "") ++  "&lt;/DebitAccessCyberCash&gt;" ++
		"\n&lt;MaxTickSize&gt;" ++ "2500"  ++  "&lt;/MaxTickSize&gt;" ++
		"\n&lt;MinMonthlyFee&gt;" ++ ( vars.AccountRecord.Minimum_Monthly_Fee__c default "") ++  "&lt;/MinMonthlyFee&gt;" ++
		"\n&lt;MonthlyVolApv&gt;" ++ ( vars.AccountRecord.Monthly_Vol_Apv__c default "") ++  "&lt;/MonthlyVolApv&gt;" ++
		"\n&lt;MonthlyVolReq&gt;" ++ "15000" ++  "&lt;/MonthlyVolReq&gt;" ++
		"\n&lt;Owner1Addr&gt;" ++ ( vars.AccountRecord.Owner_1_Address__c default "") ++  "&lt;/Owner1Addr&gt;" ++
		"\n&lt;Owner1Birthday&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_1_Birthday__c default "") ++  "&lt;/Owner1Birthday&gt;" ++
		"\n&lt;Owner1City&gt;" ++ ( vars.AccountRecord.Owner_1_City__c default "") ++  "&lt;/Owner1City&gt;" ++
		"\n&lt;Owner1DrvLisc&gt;" ++ ( vars.AccountRecord.Driver_s_License__c default "") ++  "&lt;/Owner1DrvLisc&gt;" ++
		"\n&lt;Owner1First&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_1_Frist_Name__c default "") ++  "&lt;/Owner1First&gt;" ++
		"\n&lt;Owner1Last&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_1_Last_Name__c default "") ++  "&lt;/Owner1Last&gt;" ++
		"\n&lt;Owner1Pct&gt;" ++ floor ( vars.AccountRecord.Additional_Owner_1_Ownership__c default "0") ++  "&lt;/Owner1Pct&gt;" ++
		"\n&lt;Owner1Phone&gt;" ++ ( vars.AccountRecord.Owner_1_Telephone__c default "") ++  "&lt;/Owner1Phone&gt;" ++
		"\n&lt;Owner1SSN&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_1_SSN__c default "") ++  "&lt;/Owner1SSN&gt;" ++
		"\n&lt;Owner1State&gt;" ++ ( vars.AccountRecord.Owner_1_State__c default "") ++  "&lt;/Owner1State&gt;" ++
		"\n&lt;Owner1Title&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_1_Title__c default "") ++  "&lt;/Owner1Title&gt;" ++
		"\n&lt;Owner1Zip&gt;" ++ ( vars.AccountRecord.Owner_1_Zip__c default "") ++  "&lt;/Owner1Zip&gt;" ++
		"\n&lt;Owner2Addr&gt;" ++ ( vars.AccountRecord.Owner_2_Address__c default "") ++  "&lt;/Owner2Addr&gt;" ++
		"\n&lt;Owner2Birthday&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_2_Birthday__c default "") ++  "&lt;/Owner2Birthday&gt;" ++
		"\n&lt;Owner2City&gt;" ++ ( vars.AccountRecord.Owner_2_City__c default "") ++  "&lt;/Owner2City&gt;" ++
		"\n&lt;Owner2DrvLisc&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_2_Drivers_Lic__c default "") ++  "&lt;/Owner2DrvLisc&gt;" ++
		"\n&lt;Owner2First&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_2_First_Name__c default "") ++  "&lt;/Owner2First&gt;" ++
		"\n&lt;Owner2Last&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_2_Last_Name__c default "") ++  "&lt;/Owner2Last&gt;" ++
		"\n&lt;Owner2Pct&gt;" ++ floor( vars.AccountRecord.Additional_Owner_2_Ownership__c default "0") ++  "&lt;/Owner2Pct&gt;" ++
		"\n&lt;Owner2Phone&gt;" ++ ( vars.AccountRecord.Owner_2_Telephone__c default "") ++  "&lt;/Owner2Phone&gt;" ++
		"\n&lt;Owner2SSN&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_2_SSN__c default "") ++  "&lt;/Owner2SSN&gt;" ++
		"\n&lt;Owner2State&gt;" ++ ( vars.AccountRecord.Owner_2_State__c default "") ++  "&lt;/Owner2State&gt;" ++
		"\n&lt;Owner2Title&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_2_Title__c default "") ++  "&lt;/Owner2Title&gt;" ++
		"\n&lt;Owner2Zip&gt;" ++ ( vars.AccountRecord.Owner_2_Zip__c default "") ++  "&lt;/Owner2Zip&gt;" ++
		"\n&lt;Owner3Addr&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Address__c default "") ++  "&lt;/Owner3Addr&gt;" ++
		"\n&lt;Owner3Birthday&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Birthday__c default "") ++  "&lt;/Owner3Birthday&gt;" ++
		"\n&lt;Owner3City&gt;" ++ ( vars.AccountRecord.Owner_3_City__c default "") ++  "&lt;/Owner3City&gt;" ++
		"\n&lt;Owner3DrvLisc&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Drivers_Lic__c default "") ++  "&lt;/Owner3DrvLisc&gt;" ++
		"\n&lt;Owner3First&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_First_Name__c default "") ++  "&lt;/Owner3First&gt;" ++
		"\n&lt;Owner3Last&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Last_Name__c default "") ++  "&lt;/Owner3Last&gt;" ++
		"\n&lt;Owner3Pct&gt;" ++ floor ( vars.AccountRecord.Additional_Owner_3_Ownership__c default "0") ++  "&lt;/Owner3Pct&gt;" ++
		"\n&lt;Owner3Phone&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Telephone__c default "") ++  "&lt;/Owner3Phone&gt;" ++
		"\n&lt;Owner3SSN&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_SSN__c default "") ++  "&lt;/Owner3SSN&gt;" ++
		"\n&lt;Owner3State&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_State__c default "") ++  "&lt;/Owner3State&gt;" ++
		"\n&lt;Owner3Title&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Title__c default "") ++  "&lt;/Owner3Title&gt;" ++
		"\n&lt;Owner3Zip&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_3_Zip__c default "") ++  "&lt;/Owner3Zip&gt;" ++
		"\n&lt;Owner4Addr&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Address__c default "") ++  "&lt;/Owner4Addr&gt;" ++
		"\n&lt;Owner4Birthday&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Birthday__c default "") ++  "&lt;/Owner4Birthday&gt;" ++
		"\n&lt;Owner4City&gt;" ++ ( vars.AccountRecord.Owner_4_City__c default "") ++  "&lt;/Owner4City&gt;" ++
		"\n&lt;Owner4DrvLisc&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Drivers_Lic__c default "") ++  "&lt;/Owner4DrvLisc&gt;" ++
		"\n&lt;Owner4First&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_First_Name__c default "") ++  "&lt;/Owner4First&gt;" ++
		"\n&lt;Owner4Last&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Last_Name__c default "") ++  "&lt;/Owner4Last&gt;" ++
		"\n&lt;Owner4Pct&gt;" ++ floor ( vars.AccountRecord.Beneficial_Owner_4_Ownership_Percent__c default "0") ++  "&lt;/Owner4Pct&gt;" ++
		"\n&lt;Owner4Phone&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Telephone__c default "") ++  "&lt;/Owner4Phone&gt;" ++
		"\n&lt;Owner4SSN&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_SSN__c default "") ++  "&lt;/Owner4SSN&gt;" ++
		"\n&lt;Owner4State&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_State__c default "") ++  "&lt;/Owner4State&gt;" ++
		"\n&lt;Owner4Title&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Title__c default "") ++  "&lt;/Owner4Title&gt;" ++
		"\n&lt;Owner4Zip&gt;" ++ ( vars.AccountRecord.Beneficial_Owner_4_Zip__c default "") ++  "&lt;/Owner4Zip&gt;" ++
		"\n&lt;PctKeyEntered&gt;" ++ floor ( vars.AccountRecord.PC_Key_Enter__c default 0) ++  "&lt;/PctKeyEntered&gt;" ++
		"\n&lt;PeakSeasVol&gt;" ++ "30000"  ++  "&lt;/PeakSeasVol&gt;" ++
		"\n&lt;RespIndvAddr&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Address__c default "") ++  "&lt;/RespIndvAddr&gt;" ++
		"\n&lt;RespIndvBirthday&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Birthday__c default "") ++  "&lt;/RespIndvBirthday&gt;" ++
		"\n&lt;RespIndvCity&gt;" ++ ( vars.AccountRecord.Responsible_Individual_City__c default "") ++  "&lt;/RespIndvCity&gt;" ++
		"\n&lt;RespIndvDrvLisc&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Drivers_Lic__c default "") ++  "&lt;/RespIndvDrvLisc&gt;" ++
		"\n&lt;RespIndvFirst&gt;" ++ ( vars.AccountRecord.Responsible_Individual_First_Name__c default "") ++  "&lt;/RespIndvFirst&gt;" ++
		"\n&lt;RespIndvLast&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Last_Name__c default "") ++  "&lt;/RespIndvLast&gt;" ++
		"\n&lt;RespIndvPct&gt;" ++ round( vars.AccountRecord.Responsible_Individual_Ownership_Percent__c as Number default 0 ) ++  "&lt;/RespIndvPct&gt;" ++
		"\n&lt;RespIndvPhone&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Telephone__c default "") ++  "&lt;/RespIndvPhone&gt;" ++
		"\n&lt;RespIndvSSN&gt;" ++ ( vars.AccountRecord.Responsible_Individual_SSN__c default "") ++  "&lt;/RespIndvSSN&gt;" ++
		"\n&lt;RespIndvState&gt;" ++ ( vars.AccountRecord.Responsible_Individual_State__c default "") ++  "&lt;/RespIndvState&gt;" ++
		"\n&lt;RespIndvTitle&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Title__c default "") ++  "&lt;/RespIndvTitle&gt;" ++
		"\n&lt;RespIndvZip&gt;" ++ ( vars.AccountRecord.Responsible_Individual_Zip__c default "") ++  "&lt;/RespIndvZip&gt;" ++
		"\n&lt;TaxPayerID&gt;" ++ ( vars.AccountRecord.Federal_Tax_ID__c default "") ++  "&lt;/TaxPayerID&gt;" ++
	"\n&lt;/Risk&gt;" ++

	"\n&lt;Term&gt;" ++
		"\n&lt;TerminalType&gt;" ++ ( "Ingenico iCT220" default "") ++  "&lt;/TerminalType&gt;" ++
		"\n&lt;TID&gt;" ++ "V" ++  "&lt;/TID&gt;" ++
	"\n&lt;/Term&gt;" ++


(vars.varFlexFee default "") ++

(vars.varNetID default "") ++

(vars.varCards default "") ++

    "\n&lt;/TSS&gt;"