Medium Transport
Flight Crew Multiengine; Flight Crew Instrument; Flight Crew Flight Instructor; Flight Crew Air Transport Pilot (ATP)
Flight Crew Last 90 Days 250; Flight Crew Total 3214; Flight Crew Type 1200
Workload; Time Pressure; Situational Awareness; Human-Machine Interface; Distraction; Fatigue
Deviation - Altitude Undershoot; Deviation - Altitude Crossing Restriction Not Met; Deviation / Discrepancy - Procedural Clearance
Human Factors
Descending via Millet 2 arrival into CLT and was given instructions to cross MLLET at 250 KIA/12;000 MSL.  I was PM (Pilot Monitoring) and the Captain was PF (Pilot Flying).  PF input the alt and speed into FMS (Flight Management System) incorrectly at waypoint MANGY instead of MLLET.  Top of Descent was still in front of us and when we noticed we were very close to MLLET we started to descend.  We were very close to making the assigned altitude at were handed off to CLT approach.The flight crew had 6 legs the first day of a 4 day trip landing around midnight due to a weather divert.  Minimum rest and the show times shifted for days 2;3; and 4.  I did not sleep well the night before and had been up since XA:30am for a XD:27am show at the airport.  The error was most likely due to lack of sleep and cumulative early show times after a late first day.
Medium Transport aircraft First Officer reported missing a crossing restriction during descent to CLT airport.