doc batch