implementing invoices