[en] A minimal set of auxiliary fields (scalarpseudoscalar and pseudovector) providing the closed algebra in supergravity is constructed. A compact scheme for the generating functional with closed gauge algebra is proposed. The S-matrix and the Ward identities for arbitrary theory that admits the closing of the algebra by introducing auxiliary fields is obtained