Hello Dwarahkesh,
On the Posting form

1. Enable "Late Selection"
2. Select Summary update for = "Invoice Account"
3. Click Select > Arrange
4. Submit through batch
Next time when batch it executed it would consolidate packing slip based on Invoice account and post the invoice.
Kindly confirm if this helps