how to automatically reduce rental invoices with tenant credits