A local model capable of simulating the cord-integrated emission of spectral lines in the TJ-II stellarator has been developed for inferring local parameters. The procedure was implemented on a numerical code, which starting from given analytical profiles of local emissivity, ion temperature, and toroidal rotation calculates the cord-integrated emission spectra along a selected line of sight. Additionally, the procedure is capable of simulating the toroidal and poloidal velocity contributions for a selected spectral line taking into account TJ-II magnetic topology. Results show good agreement between measurements and numerical simulations for the integrated intensity and ion temperature, and a consistent integrated toroidal rotation velocity, which depends on the emissivity profile.