Added in invoice_date,str_invoice_date and set the restraint for that