migration and model of invoice