“DTA advance pricing agreement” means an agreement between an applicant and the competent authority of the Republic, in consultation with the competent authority of another country, which has an agreement for the avoidance of double taxation with the Republic, regarding the application of section 31 to an affected transaction in which the applicant is an affected party;