Invoice automation

Invoice automation

Resolve the issue where invoices do not currently reflect a drop in licences when a profile is deleted.