add tenant credit to rent invoice

How to add a tenant credit?