auto commit invoice