/app/models/invoice.js fix model definition