Add methods get and delete for invoice entity