Fixed invoice controller bug on parameters.