invoice_items method implemented and tested