fixes multiple repository bug
removes unnessecary dependences
fixes invoice repository spec