According to the new law, you are not obliged to close and open the fiscal day at a certain time. To print invoices you need to open a fiscal day, but you never have to close it. If you want to keep records by shifts, you can open and close the fiscal day at the beginning and end of each shift.