Starting from a (non-associative) quasi-Poisson structure, the derivation of a Roytenberg-type algebra is presented. From the Jacobi identities of the latter, the most general form of Bianchi identities for fluxes (H, f, Q, R) is then derived. It is also explained how this approach is related to the mathematical theory of quasi-Lie and Courant algebroids.1 A bi-vector field also appears in [15] and [16], where the expressions for the fluxes Q and R can be found as well.