small optimisation: send all line item state transitions at once