batch handling for invoice