Add invoice, working on indexing invoices