Invoice date and Accounting record date

but the “date type” custom field does not actually function as a date type - one can enter anything. It should restrict the entry to the date format only.