Automated invoicing, billing and collections for subscription based companies