invoice batch download fix, #11871