added operations on invoices