correct pdf invoice and add invoice model