automate tenant credit allocation to monthly rent invoices