Receive email when Exact Online subscription is blocked (itgenoda060/itgenoda219)

We use a large number of Exact Online companies, part of which are customers with an independent subscription at Exact Online.

Upon expiry of the subscription and/or temporary block, the APIs return weird errors on thos divisions. These are registered by Invantive and forwarded, typically within a few days, to de-associate from these subscriptions to avoid API errors and replication issues.

However, to save downtime I would like to automatically receive an email for every blocked Exact Online subscription of an accounting customer instead of waiting for a few days.

The error message typically is:

Forbidden - Customer’s license expired. The remote server returned an error: (403) Forbidden.