Relevant sections of Election Act,2017 are quoted here.
Section 204 Membership fee, contributions and donations.—
(3) Any contribution or donation made, directly or indirectly, by any foreign source including any foreign government, multi-national or public or private company, firm, trade or professional association or individual shall beprohibited.
(4) Any contribution or donation which is prohibited under this Act shall be confiscated in favour of the Government in such manner as may be prescribed.
Explanation for the purpose of this section—
(a) ―contribution or donation includes a contribution or donation made in cash, kind, stocks, transport, fuel and provision of other such facilities; and
(b) ―foreign source shall not include an Overseas Pakistani holding a National Identity Card for Overseas Pakistanis issued by the National Database and Registration Authority.
Election Act 2017, section 204, Sub-section 3