Batch processing invoices