A groupoid approach to interacting fermions