https://blog.probooks.com/posts/recurring-invoice-automation/