How to process payment for shift job on auto completion status change when job has ended

You can have status change at the end time of a shift job and also charge client at that time.