added option to pay invoices