apply tenant credit to rent

How to add a tenant credit?