[ADD] Changed the field type_invoice to functional