In this paper we study a generalization of the Hubbard model by considering spin-spin interactions described by the exchange constant J. An external magnetic field his also taken into account. In the narrowband limit and for the 1D case, we present the exact solution obtained in the framework of the Green’s function formalism, using the Composite Operator Method. We report the T = 0 phase diagram for both ferro (J > 0) and anti-ferro (J < 0) couplings. The competition of the different energy scales (U, J, and h; being U the local charge interaction) generates a variety of phases and different charge and spin orderings.