We consider the Mx/G/∞ queue in which customers in a batch belong to k different types, and a customer of type i requires a non-negative service time with general distribution function Bi(s) (1 ≦ i ≦ k). The number of customers in a batch is stochastic. The joint probability generating function of the number of customers of type i being served at a fixed time t > 0 is derived by the method of collective marks.