We present a new model of loss processes in insurance. The process is a couple where is a univariate Markov-modulated Poisson process (MMPP) and is a multivariate loss process whose behavior is driven by . We prove the strong consistency of the maximum likelihood estimator of the parameters of this model and present an EM algorithm to compute it in practice. The method is illustrated with simulations and real sets of insurance data.