It is legal for you to issue the COC, unless it is specifically prevented by the terms of the sales agreement.
However, "good governance principles" would suggest you should avoid the structural conflict of interest and have the COC issued by an electrician that is not a party or connected person to the transaction.
Did you like this article? Share it with your favourite social network.