Following the formal user story style:As <user>, I want <goal> so that <benefit>.How can stories be written when there isn't an obvious user-interaction taking place, as in the case of automated processes like nightly invoicing?
User Stories about Automated tasks, who is the user?
user story
What's wrong with e.g.:As a sales assistant, I want the system to generate my invoices raised during the day, that night without my interaction so that time is saved.Think of who will use the results of the process.