add customer transactions method, fix invoice_item relationship