Let I ⊂ R be an interval and κ, λ ∈ R \ {0, 1}, µ, ν ∈ (0, 1). We find all pairs (ϕ, ψ) of continuous and strictly monotonic functions mapping I into R and satisfying the functional equationwhich generalizes the Matkowski-Sutô equation. The paper completes a research stemming in the theory of invariant means.