Feature/fix invoice line hook