(9)
The term “qualified campaign expense” means a purchase, payment, distribution, loan, advance, deposit, or gift of money or of anything of value—
(A)
incurred by a candidate, or by his authorized committee, in connection with his campaign for nomination for election, and
(B)
neither the incurring nor payment of which constitutes a violation of any law of the United States or of the State in which the expense is incurred or paid.
For purposes of this paragraph, an expense is incurred by a candidate or by an authorized committee if it is incurred by a person specifically authorized in writing by the candidate or committee, as the case may be, to incur such expense on behalf of the candidate or the committee.