Created model, crud, method createInvoice