Have just found it from my phone so was easy to find, searching for ‘work period accounts’;
The template is a starting point, you may want to tweek for your setup but will get you moving in right direction.