added successful method to invoices