fix issue with last_invoice
0.0.4