Home Depot is usually very good about returns. If the toilet has not been used, meaning had waste gone into it, you or your installer should have no problem returning it. Just make sure you have the receipt with you.
Bring it to the returns counter,if you have a receipt they will re-imburse your money,with your I D, without a receipt they will give you in-store credit ,along with proper I D.
Thanks! Your answer is awaiting moderation.