Generate invoice Via batch job

Hi,

Does any body know here how to generate invoice through batch job and after that how to check xml for Finvoice?

Thanks

Which Invoice you are trying to Generate ?
I am assuming if it is a sales invoice on sales order form In action menu you can find Invoice button, if you click on it it opens up a form there you have batch option , click on batch now you can see a window with batch processing checkbox. Check it and if you need recurrence Job select the recurrences and Create/select the batch group. Click ok then the job gets added to batch