how to link tenant credits to future rental invoices automatically