Which invoice you want to automate customer or vendor ?
The pending vendor invoice form allows specifying a batch job in the process tab.
posting Automating periodic invoices :
blog.ignify.com/.../automate-periodic-invoices-with-microsoft-dynamics-ax-2012