generate file retail invoice