How to apply tenant discount on rent invoice